Context menus with specific content are displayed for different nodes in the Omni Designer Project Explorer, depending on whether the project has been shared, and the specific item or multiple items that have been selected.
The context menu for the created (not shared and not checked out) Omni Designer Project has the following options:
After you select the Share option, you will be asked to select a server to host the share, as shown in the following image.
To share a project, select a server and click OK. If you are not logged in to this server, an additional dialog message to log in appears.
If you are logged in, a confirmation dialog appears.
The project is then shared with the selected server and appears in the Repository browser.
The following image shows the context menu for a closed Omni Designer project.
Once the project is committed or shared, changes cannot be canceled. If changes were not made (for example, new Project), then the Undo option is disabled.
If changes were not undone, the Redo option is disabled.
After selecting this option, a confirmation message appears, as shown in the following image.
The project name is predefined in the file name field. The At (@) character and version were added for shared or checked out projects. The XMI extension is set by default and cannot be changed.
To export a project, select a location to save the file, update the filename, and click Save.
A confirmation message appears, as shown in the following image.
The XMI file is saved in a selected location and can be imported to the Omni Designer Project Explorer by any user.
Select the XMI file with the exported project and click Open. The Omni Designer Project window appears, as shown in the following image.
The name of the exported project is predefined in the Project name field. The At (@) character and version were added for shared or checked out projects. You can change and add any description you wish, then click Finish.
The following confirmation message appears.
The project is imported to the Omni Designer Project Explorer. The whole project structure and data are recovered. Imported projects can be used as any created project.
When you select this option, you will need to select a Repository Service, as shown in the following image.
After you click Import, navigate to and select the bundle and click Open.
Once the Omni Designer project is closed and all of its panels are hidden, they will be available again after reopening the Omni Designer project. The Properties tab for the closed project contains the information section with the non-editable Name and Description fields of the project. A closed project can be deleted or opened.
The following list describes the context menu options for shared projects.
The Update window appears, as shown in the following image.
To update the project, select a version and click OK.
After selecting Update To Version, the following window appears.
Select a version to update your project to and click OK.
After selecting this option, the Create Branch window appears, as shown in the following image.
Enter a new branch name in the Name field and click OK.
After selecting Merge with Branch, the Branch Selection window appears, as shown in the following image.
To merge with a branch, select a branch from the list and click OK.
Other options from the context menu for shared projects (for example, Undo, Revert All Operations, and Delete) work in the same way as projects that are not shared.
The following image shows the context menu for the Input Data Models node.
The following list describes the context menu options.
The Paste option is disabled if there are no copied or cut input data models in the clipboard. The Ctrl+V key button or the corresponding option from the Eclipse menu can also be used for the Paste option as well.
You can select a flat file from the list, or create one by clicking the Create new Flat File Data Source. The Create Connection Profile dialog box opens, as shown in the following image.
Enter a name for the connection profile and click Next. The Define Folder or a File URI dialog box opens, as shown in the following image.
Select a home folder or enter a file URI and click Finish to import the CVS as a Input Data Model.
The following list describes the Input Data Models.
You can rename the item you wish and then press the enter key. The name of input data model is changed.
You can also press Ctrl+X on your keyboard or select the corresponding option from the Eclipse menu.
You can also press Ctrl+C on your keyboard or select the corresponding option from the Eclipse menu.
You can also press the Delete key on your keyboard or select the corresponding option from the Eclipse menu.
The context menu of the root subject and regular subject are identical.
The following image shows the context menu options for a root subject.
The following image shows the context menu for a regular subject.
Notice that the context menu for the root subject does not contain the Cut and Delete options.
The following list describes the context menu of the subject.
After renaming an item, press Enter.
The name of the subject is changed.
You can also press Ctrl+X or select the corresponding option from the Eclipse menu.
You can also press Ctrl+C or select the corresponding option from the Eclipse menu.
You can also press Ctrl+Alt+C as an alternative.
Previously copied root subjects can be pasted as a regular subject.
The Paste option is disabled if there are no copied or cut subjects in the Clipboard. You can also press Ctrl+V or select the corresponding option from the Eclipse menu.
After pasting the subject to another Input Data Model, fields with Reference and Inherited data types are updated. The Reference values are changed to empty.
You can also press the Delete key or select the corresponding option from the Eclipse menu.
The Delete key and the corresponding option from the Eclipse menu can be used for the Copy option as well.
Topics: |
You can select the following options from the context menu for Reference Data Models:
Note: The Paste option is disabled if there is no copied/cut Reference Data Model in the clipboard. You can also press Ctrl+V as a shortcut or select Paste from the Eclipse menu.
After selecting Paste, the Paste Static Reference Data window appears If reference data was copied or cut from a project with at least one source system. The Manage Source System dialog manages moving source system values.
The following table describes the column parameters for Paste Static Reference Data.
Parameter |
Description |
---|---|
Include |
Select the check box if you want to keep values of the source system in a project where you are pasting reference data. By default, the check box is cleared if there are no values of this source system in the current reference data. However, it is selected by default if there are any values of this source system in the current reference data. If you clear the check box for the source system that has values, the following message appears at the top of the window: Values of excluded source systems will be lost in target location. If the check box is not cleared, the whole row will be disabled. |
Source System |
Name of source system project where you used the Cut command or copied the current reference data from. |
Action |
Contains a drop-down list with the following two options to choose from.
|
Replace |
Contains a drop-down list of source systems available in the project where you pasted reference data. The Replace option is enabled only if you select the Replace option from the drop-down list of the Action column. |
The Finish button is disabled if there is at least one row with the Include check box selected without an Action option, or the Replace option selected with no source system for replacement. In both cases, the appropriate cells are marked with validation icons and the following warning message appears at the top of the window: All required values must be set.
If reference data was copied or cut from a project without any source systems, then the current dialog does not appear.
Pasting multiple static reference data is allowed only for Static Reference Data from the same Project.
This section contains the following options for selection:
After selecting this option, click Next, and then a list of Subjects with names similar to the source Subject appears, as shown in the following image.
You can see all existing Subjects in the target Project Input Data Models and Subjects by selecting the Show all Subjects check box. The Search field becomes enabled where can find any Subject by name.
After selecting a Subject, click Next to change the Reference Data for matching.
The following table lists and describes the column parameters.
Parameter |
Description |
---|---|
Reference Subject |
Displays a list of subjects for specific selected parent subjects from the previous step. |
Reference Data |
Reference Data which is being pasted. |
Key Field |
Field which will be set as a key field in the new pasted Dynamic Reference Data Model. |
Mappings from the Reference Data column will be copied to the corresponding Reference Subject. Reference Data values, which are not set, will be lost and new ones will be created instead.
You can also set Key Field on the same Wizard (The Finish button is enabled whether Key Field is set or not).
The link to the existing Subject Dynamic Reference Data will appear after clicking Finish.
After selecting this option, click Next, which will then allow you to change the Reference Data for matching (Reference Data and Key Field columns are set automatically with source values).
Mappings from the Reference Data column will be copied to the corresponding Reference Subject. Reference Data values, which are not set, will be lost and new ones will be created instead.
Using the same Wizard, you can set the Key Field (the Finish button is enabled regardless if Key Field is set or not).
The Dynamic Reference Data will appear in the target project after clicking Finish, and a new Input Data Model will be created.
After selecting this option, click Next, which will then allow you to change the Reference Data for matching (Reference Data and Key Field columns are set automatically with source values).
Mappings from the Reference Data column will be copied to the corresponding Reference Subject. Reference Data values, which are not set, will be lost and new ones will be created instead.
Using the same Wizard, you can set the Key Field (the Finish button is enabled regardless if Key Field is set or not).
The Dynamic Reference Data will appear in the target project after clicking Finish, and a new Input Data Model will be created.
After selecting this option, click Next, which will then show a list of Input Data Models and Subjects existing in the target Project.
The Search field is enabled which allows you to find any Subject by name.
After selecting a Subject, click Next to change the Reference Data for matching.
Mappings from the Reference Data column will be copied to the corresponding Reference Subject. Reference Data values, which are not set, will be lost and new ones will be created instead.
Using the same Wizard, you can set the Key Field (the Finish button is enabled regardless if Key Field is set or not).
The Dynamic Reference Data with a corresponding Subject branch will appear after clicking Finish.
If Reference Data was copied from a project that contains Source Systems, then the last screen of the wizard will contain the above options and work the same way as pasting Static Reference Data.
Right-clicking a Reference Data Model displays a context menu, as shown in the following image.
The following list describes each option in this context menu.
To rename the item you wish, select the Rename option, enter a new name of the item, and press Enter.
You can also press Ctrl+X or select the corresponding option from the Eclipse menu.
You can also press Ctrl+C or select the corresponding option from the Eclipse menu.
You can also press the Delete key or select the corresponding option from the Eclipse menu.
A context menu appears for the same and different Omni Designer Project Explorer items selected together (using Shift or Ctrl keyboard keys). Standard options for selected items are available in the menu. Options that can be applied to all selected items simultaneously are enabled in the context menu (for example, Delete).
Options that cannot be applied to all, are disabled (for example, Rename, Show History, and so on).
Cutting, Copying, and Pasting for Multiple Selected Subjects
The Cut and Copy options are not available for two or more selected subjects. You can use the Copy Single Element option for several selected subjects to copy them or drag and drop the subjects to move them. Note that nodes move together with their children elements, but the Copy Single Element option copies elements without any child subjects.