Usages of ICommand
Properties
availableCommands | in GraphInputMode | Gets a collection of commands that this input mode will handle. | |
command | in KeyboardInputModeBinding | Gets the ICommand that is associated with this binding. | |
availableCommands | in NavigationInputMode | Gets the list of commands that are available in this instance. | |
availableCommands | in OverviewInputMode | Gets the list of commands that are available in this instance. |
Fields
ADD_LABEL | in ICommand | A ICommand that can be executed from within the GraphComponent to add another label to the ILabelOwner that is specified by the command parameter. | |
ADJUST_GROUP_NODE_SIZE | in ICommand | A ICommand that can be executed from within the GraphComponent to adjust the size of group nodes. | |
BEGIN_EDGE_CREATION | in ICommand | A ICommand that CreateEdgeInputMode instances can execute if they have been installed in a CanvasComponent. | |
CLOSE | in ICommand | An ICommand to close a document. | |
COLLAPSE_GROUP | in ICommand | An ICommand that can be executed from within the GraphComponent to collapse group nodes. | |
COPY | in ICommand | An ICommand to copy to the clipboard. | |
CUT | in ICommand | An ICommand to cut an item and place it in the clipboard. | |
DECREASE_ZOOM | in ICommand | An ICommand to decrease the zoom level. | |
DELETE | in ICommand | An ICommand to delete an item. | |
DESELECT_ALL | in ICommand | An ICommand that can be executed from within the GraphComponent to clear the selection. | |
DESELECT_ITEM | in ICommand | A ICommand that can be executed from within the GraphComponent to deselect an item. | |
DUPLICATE | in ICommand | An ICommand that can be executed from within the GraphComponent to duplicate items of the current IGraph. | |
EDIT_LABEL | in ICommand | A ICommand that can be executed from within the GraphComponent to edit an label. | |
ENTER_GROUP | in ICommand | An ICommand that can be executed from within the GraphComponent to switch the local root of the current IFoldingView view to the given group node. | |
EXIT_GROUP | in ICommand | An ICommand that can be executed from within the GraphComponent to exit the current local root of the current IFoldingView view to the given parent view. | |
EXPAND_GROUP | in ICommand | An ICommand that can be executed from within the GraphComponent to expand group nodes. | |
EXTEND_SELECTION_DOWN | in ICommand | An ICommand to extend the selection downwards. | |
EXTEND_SELECTION_LEFT | in ICommand | An ICommand to extend the selection to the left. | |
EXTEND_SELECTION_RIGHT | in ICommand | An ICommand to extend the selection to the right. | |
EXTEND_SELECTION_UP | in ICommand | An ICommand to extend the selection upwards. | |
FIT_CONTENT | in ICommand | An ICommand that invokes fitContent if executed. | |
FIT_GRAPH_BOUNDS | in ICommand | The ICommand that performs the fitGraphBounds action. | |
GROUP_SELECTION | in ICommand | An ICommand that can be executed from within the GraphComponent to group the currently selected items. | |
HELP | in ICommand | An ICommand to open help. | |
INCREASE_ZOOM | in ICommand | An ICommand to increase the zoom level. | |
LOWER | in ICommand | A ICommand that lowers the visual representations of IModelItems one step to back. | |
MOVE_DOWN | in ICommand | An ICommand to move the selection down. | |
MOVE_FOCUS_BACK | in ICommand | An ICommand to move the focus backwards. | |
MOVE_FOCUS_DOWN | in ICommand | An ICommand to move the focus downwards. | |
MOVE_FOCUS_FORWARD | in ICommand | An ICommand to move the focus forwards. | |
MOVE_FOCUS_PAGE_DOWN | in ICommand | An ICommand to move the focus up a page. | |
MOVE_FOCUS_PAGE_UP | in ICommand | An ICommand to move the focus up a page. | |
MOVE_FOCUS_UP | in ICommand | An ICommand to move the focus upwards. | |
MOVE_LEFT | in ICommand | An ICommand to move the selection left. | |
MOVE_RIGHT | in ICommand | An ICommand to move the selection right. | |
MOVE_TO_PAGE_DOWN | in ICommand | An ICommand to move the selection down a page. | |
MOVE_TO_PAGE_UP | in ICommand | An ICommand to move the selection up a page. | |
MOVE_UP | in ICommand | An ICommand to move the selection up. | |
NEW | in ICommand | An ICommand to create a new document. | |
OPEN | in ICommand | An ICommand to open a document. | |
PASTE | in ICommand | An ICommand to paste from the clipboard. | |
in ICommand | An ICommand to print. | ||
PRINT_PREVIEW | in ICommand | An ICommand that indicates the intention to print and show a preview of what to print beforehand. | |
PROPERTIES | in ICommand | An ICommand to show properties of an item. | |
RAISE | in ICommand | A ICommand that raises the visual representations of IModelItems one step to the front. | |
REDO | in ICommand | An ICommand to redo a previously undone operation. | |
REVERSE_EDGE | in ICommand | An ICommand that reverses the direction of edges. | |
SAVE | in ICommand | An ICommand to save an item. | |
SCROLL_PAGE_DOWN | in ICommand | An ICommand to scroll down. | |
SCROLL_PAGE_LEFT | in ICommand | An ICommand to scroll left. | |
SCROLL_PAGE_RIGHT | in ICommand | An ICommand to scroll right. | |
SCROLL_PAGE_UP | in ICommand | An ICommand to scroll up. | |
SELECT_ALL | in ICommand | An ICommand to select all items. | |
SELECT_ITEM | in ICommand | A ICommand that can be executed from within the GraphComponent to select an item. | |
SELECT_TO_PAGE_DOWN | in ICommand | An ICommand to extend the selection a page downwards. | |
SELECT_TO_PAGE_UP | in ICommand | An ICommand to extend the selection a page upwards. | |
SET_CURRENT_ITEM | in ICommand | An ICommand that invokes currentItem if executed. | |
TO_BACK | in ICommand | A ICommand that brings the visual representations of IModelItems to back. | |
TO_FRONT | in ICommand | A ICommand that brings the visual representations of IModelItems to the front. | |
TOGGLE_EXPANSION_STATE | in ICommand | An ICommand that can be executed from within the GraphComponent to toggle the collapsed/expanded state of currently selected group nodes. | |
TOGGLE_ITEM_SELECTION | in ICommand | A ICommand that can be executed from within the GraphComponent to toggle the selection state of an item. | |
UNDO | in ICommand | An ICommand to undo the previous operation. | |
UNGROUP_SELECTION | in ICommand | An ICommand that can be executed from within the GraphComponent to ungroup the currently selected items. | |
UPDATE_CONTENT_RECT | in ICommand | An ICommand that invokes updateContentRect if executed. | |
ZOOM | in ICommand | An ICommand to set the zoom level. | |
ZOOM_TO_CURRENT_ITEM | in ICommand | An ICommand that changes the zoom and the viewPoint in an animated fashion such that the currentItem becomes fully visible. |
Method Return Values
createCommand (string?) | in ICommand | Creates a new ICommand instance that does nothing. |
Method Parameters
shouldInstallCommand (ICommand) | in GraphInputMode | CUsed to determine which of the built-in ICommands to install. | |
addCommandBinding (ICommand, function(ICommand, Object, Object):boolean?, function(ICommand, Object, Object):boolean?) | in KeyboardInputMode | Adds a command and associated execution handlers to this instance. | |
addKeyBinding (Key, ModifierKeys, ICommand, Object?) | in KeyboardInputMode | Adds an event handler for a specific key press gesture to this mode. | |
addKeyBinding (Key, ModifierKeys?, function(ICommand, Object, Object):boolean?, function(ICommand, Object, Object):boolean?) | in KeyboardInputMode | Adds an event handler for a specific key press gesture to this mode. | |
addRecognizerBinding (function(Object, EventArgs):boolean, ICommand, Object?) | in KeyboardInputMode | Adds a given handler to this instance that will be triggered if the event recognizer recognizes a key event that has been triggered by the CanvasComponent. | |
addRecognizerBinding (function(Object, EventArgs):boolean, function(ICommand, Object, Object):boolean?, function(ICommand, Object, Object):boolean?) | in KeyboardInputMode | Adds a given handler to this instance that will be triggered if the event recognizer recognizes a key event that has been triggered by the CanvasComponent. | |
removeCommand (ICommand) | in KeyboardInputMode | Removes all previously registered commands from this instance. | |
shouldInstallCommand (ICommand) | in OverviewInputMode | Called by createKeyboardInputMode to determine which of the built-in ICommands to install. | |
shouldInstallCommand (ICommand) | in TableEditorInputMode | Called by onKeyboardInputModeChanged to determine which of the built-in ICommands to install. |