Topics: |
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 Share. If you are not logged in to this server, an additional message to log in appears. If you are logged in, a confirmation message 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 the Revert All Operations option, a confirmation message appears.
From the Open dialog box, select the XMI file with the exported project and click Open. The Omni Designer Project window opens.
The name of the exported project is predefined in the Project name field. The At (@) character and version are added for shared or checked out projects. You can change and add any description you wish, then click Finish.
A confirmation message displays.
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.
From the Open dialog box, select the XMI file with the exported project and click Open. The Omni Designer Project window opens.
The name of the exported project is predefined in the Project name field. The At (@) character and version are added for shared or checked out projects. You can change and add any description you wish, then click Finish.
A confirmation message displays.
When you select this option, the Select a Repository Service dialog box open, where you will need to select a Repository Service.
Log in to the Repository Service, if not already connected.
After you click Import, navigate to and select the bundle and click Open.
The project name is predefined in the file name field. The At (@) character and version are 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 file name, and click Save.
A confirmation message appears.
The XMI file is saved in a selected location and can be imported to the Omni Designer Project Explorer by any user.
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 additional context menu options that appear for shared projects.
To update the project, select a version and click OK.
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.
Type 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 icon. The Create Connection Profile dialog box opens, as shown in the following image.
Type 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 type a file URI and click Finish to import the CVS as an Input Data Model.
The following list describes the Input Data Models context menu options.
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 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.
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.