How to work with several rows in the Explorer
You can select several rows in the Explorer and act on them together, as in Windows File Explorer.
Select several rows
Section titled “Select several rows”- Ctrl+click (Cmd+click on a Mac) adds a row to the selection, or takes it out.
- Shift+click selects every row shown between the last one you clicked and this one. Shift+↑ and Shift+↓ extend the selection from the keyboard.
- Ctrl+A selects everything in the package you’re in.
- Click a single row to select just that one again, or click empty space to clear the selection.
The selection can include rows from different packages, and any mix: packages, elements, relationships and views, from models and metamodels.
While several rows are selected, Properties, Notes, Context and Guidance show the row you clicked last. Properties says “+ 2 others selected in the Explorer”, and the status bar shows “Billy Williams + 2 others”. Editing in Properties changes only that row.
Move or arrange them
Section titled “Move or arrange them”- Drag any selected row: the whole selection comes along. Dropped onto a package they move into it; dropped between two rows (where the blue line shows) they land there together, in the order they had in the tree. A selected package carries its contents, so you don’t need to select those too.
- Move Up and Move Down on the toolbar, or Alt+↑ and Alt+↓, move each selected row one place, keeping the gaps between them. In a package where a selected row is already at the top (or bottom), the selected rows there don’t move.
- Move In and Move Out, or Alt+→ and Alt+←, move the selected rows into the package above the top one, or out of their package, keeping their order.
If some of the rows can’t go where you drop them (a package can’t go inside an element, say, or a contributor can’t move a metamodel type), the rest still move, and a notice names the ones that didn’t and why.
Add them to a diagram
Section titled “Add them to a diagram”Drag the selection onto a diagram. Elements are laid out left to right from where you drop, five to a row; relationships are drawn, and views become view links. It’s one step for Undo, and unsaved until you press Ctrl+S, like any other change to a diagram. Anything already on the diagram is skipped, and packages can’t be added.
Delete them
Section titled “Delete them”Press Delete, or right-click inside the selection and choose Delete from Project…. One confirmation lists what will be deleted, adds up what goes with it, and offers to export a backup of the project first. Rows that can’t be deleted (a metamodel’s fixed packages, MOF Core, or anything your role can’t change) are listed with the reason and left alone. If one of the deletes fails, the others still happen and the notice names it.
The menu for several rows
Section titled “The menu for several rows”Right-click inside the selection for a short menu headed with how many are selected: Cut, Copy and Paste (see How to copy a package or view), Open (each selected view, in its own tab), Move Up / Move Down, Sort (A–Z) and Sort (A–Z) – Deep, Delete from Project…, and Expand / Collapse / Expand All / Collapse All. Commands that act on one row at a time are dimmed. Right-click a row outside the selection to select just that row and see its own menu.