Jump to: navigation, search

Difference between revisions of "Context Menus for Graphical Editors"

m
m
Line 1: Line 1:
'''Context Menus for Objects'''
+
'''UNDER CONSTRUCTION bug #280242'''
 +
 
 +
 
 +
'''Context Menus for Objects'''  
  
 
A context menu should be used for context sensitive interaction with the objects in a graphical editor. If an object is selected in an editor, and the context menu is opened, the context menu should only contain commands which are appropriate for the selection.  
 
A context menu should be used for context sensitive interaction with the objects in a graphical editor. If an object is selected in an editor, and the context menu is opened, the context menu should only contain commands which are appropriate for the selection.  
  
The categories within the context menu should be kept distinct from one another through the use of separators. If a category is not applicable for the selected object it should be hidden.
+
The categories within the context menu should be kept distinct from one another through the use of separators. If a category is not applicable for the selected object it should be hidden.  
  
{| class="indent" border="1" cellpadding="3"
+
{| class="indent" cellpadding="3" border="1"
 +
|-
 
| Add
 
| Add
 
|-
 
|-
Line 12: Line 16:
 
| Cut, Copy, Paste, Remove from Diagram, Delete, Rename
 
| Cut, Copy, Paste, Remove from Diagram, Delete, Rename
 
|-
 
|-
| Filters  
+
| Filters
 
|-
 
|-
 
| Insert
 
| Insert
Line 21: Line 25:
 
|}
 
|}
  
The Add category contains actions which add elements to the canvas. The Open category contains actions which open the selection in an editor. Navigate contains actions to refocus the view input, or reveal the view selection in another view. In the category other plug-in additions there could be two types of commands; common and specific. In the upper area place functions common to all the elements in the editor and below them place functions which are specific to certain elements in the editor. And the other categories are self explanatory.
+
The Add category contains actions which add elements to the canvas. The Open category contains actions which open the selection in an editor. Navigate contains actions to refocus the view input, or reveal the view selection in another view. In the category other plug-in additions there could be two types of commands; common and specific. In the upper area place functions common to all the elements in the editor and below them place functions which are specific to certain elements in the editor. And the other categories are self explanatory.  
  
 
+
<br>'''Context Menus for the Canvas'''  
'''Context Menus for the Canvas'''
+
  
 
When activating the context menu on the canvas of a graphical editor without any object being selected, the context menu must have the following categories.  
 
When activating the context menu on the canvas of a graphical editor without any object being selected, the context menu must have the following categories.  
  
{| class="indent" width="500" border="1" cellpadding="3"
+
{| class="indent" cellpadding="3" width="500" border="1"
 +
|-
 
| Add
 
| Add
 
|-
 
|-
| Open With,  
+
| Open With,
 
|-
 
|-
| File > (Save as Image File, Pring)
+
| File &gt; (Save as Image File, Pring)
 
|-
 
|-
 
| Copy, Paste
 
| Copy, Paste
Line 39: Line 43:
 
| Arrange All, Filters
 
| Arrange All, Filters
 
|-
 
|-
| Zoom > (Zoom In, Zoom Out, Zoom to 100%, Zoom to Fit, Fit to Width, Fit to Height, Fit to Selection)  
+
| Zoom &gt; (Zoom In, Zoom Out, Zoom to 100%, Zoom to Fit, Fit to Width, Fit to Height, Fit to Selection)
 
|-
 
|-
 
| Update Diagram
 
| Update Diagram
Line 48: Line 52:
 
|}
 
|}
  
 +
<br>'''Wording'''
  
'''Wording'''
+
Use the category 'Add' for adding child nodes or sub-components to the element. For more information see chapter on submenus.  
 
+
Use the category 'Add' for adding child nodes or sub-components to the element. For more information see chapter on submenus.
+
 
+
Use 'Insert' for inserting rows or columns into a table.
+
  
There shall be a correlation between the context buttons and the context menus. Commands which appear on context buttons must appear as well in the context menu.
+
Use 'Insert' for inserting rows or columns into a table.  
  
 +
There shall be a correlation between the context buttons and the context menus. Commands which appear on context buttons must appear as well in the context menu.
  
'''Icons'''
+
<br>'''Icons'''  
  
 
Use icons in menu items only when a function offered as a context menu item is also available in the main menu, toolbar, tool palette or as an Eclipse View icon and the function entry has an icon.  
 
Use icons in menu items only when a function offered as a context menu item is also available in the main menu, toolbar, tool palette or as an Eclipse View icon and the function entry has an icon.  
  
 
The following menu items must have an icon: Print, Undo, Redo, Cut, Copy, Paste, Arrange All, and Zoom.
 
The following menu items must have an icon: Print, Undo, Redo, Cut, Copy, Paste, Arrange All, and Zoom.

Revision as of 05:39, 26 July 2009

UNDER CONSTRUCTION bug #280242


Context Menus for Objects

A context menu should be used for context sensitive interaction with the objects in a graphical editor. If an object is selected in an editor, and the context menu is opened, the context menu should only contain commands which are appropriate for the selection.

The categories within the context menu should be kept distinct from one another through the use of separators. If a category is not applicable for the selected object it should be hidden.

Add
Open, Open With, Show In
Cut, Copy, Paste, Remove from Diagram, Delete, Rename
Filters
Insert
Other Plugin Additions
Properties

The Add category contains actions which add elements to the canvas. The Open category contains actions which open the selection in an editor. Navigate contains actions to refocus the view input, or reveal the view selection in another view. In the category other plug-in additions there could be two types of commands; common and specific. In the upper area place functions common to all the elements in the editor and below them place functions which are specific to certain elements in the editor. And the other categories are self explanatory.


Context Menus for the Canvas

When activating the context menu on the canvas of a graphical editor without any object being selected, the context menu must have the following categories.

Add
Open With,
File > (Save as Image File, Pring)
Copy, Paste
Arrange All, Filters
Zoom > (Zoom In, Zoom Out, Zoom to 100%, Zoom to Fit, Fit to Width, Fit to Height, Fit to Selection)
Update Diagram
Other Plugin Additions
Properties


Wording

Use the category 'Add' for adding child nodes or sub-components to the element. For more information see chapter on submenus.

Use 'Insert' for inserting rows or columns into a table.

There shall be a correlation between the context buttons and the context menus. Commands which appear on context buttons must appear as well in the context menu.


Icons

Use icons in menu items only when a function offered as a context menu item is also available in the main menu, toolbar, tool palette or as an Eclipse View icon and the function entry has an icon.

The following menu items must have an icon: Print, Undo, Redo, Cut, Copy, Paste, Arrange All, and Zoom.