|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.command.BaseCommand
com.tensegrity.skeleton.commands.CommonBaseCommand
com.tensegrity.skeleton.commands.DocumentCommand
com.tensegrity.skeleton.commands.GraphDocumentCommand
com.tensegrity.skeleton.commands.EditGraphDocumentCommand
com.tensegrity.skeleton.commands.GraphDocumentSelectionCommand
com.tensegrity.skeleton.commands.generic.GroupSelectionCommand
Groups the currently selected objects of the active document.
| Constructor Summary | |
GroupSelectionCommand(ApplicationFrame applicationFrame,
java.lang.String command)
Creates a new GroupSelectionCommand. |
|
| Method Summary | |
protected java.util.List |
getSelectedNodes()
Gathers the selected nodes and returns them as a list. |
boolean |
isEnabled()
Checks if there is something selected in the current document. |
void |
perform(java.lang.Object args)
Updates the StatusBar with this commands title string. |
| Methods inherited from class com.tensegrity.skeleton.commands.GraphDocumentSelectionCommand |
getSelection, hasSelection |
| Methods inherited from class com.tensegrity.skeleton.commands.GraphDocumentCommand |
getGraphDocument, getVisualGraphView |
| Methods inherited from class com.tensegrity.skeleton.commands.DocumentCommand |
getDocument, getGraphApplication, newGraphDocumentFromFactory |
| Methods inherited from class com.tensegrity.skeleton.commands.CommonBaseCommand |
getApplicationFrame, getTitle |
| Methods inherited from class com.tensegrity.generic.command.BaseCommand |
getDescription, getId, getPerformDescription, setEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GroupSelectionCommand(ApplicationFrame applicationFrame,
java.lang.String command)
GroupSelectionCommand.
applicationFrame - reference to the ApplicationFramecommand - command identifier.| Method Detail |
public void perform(java.lang.Object args)
CommonBaseCommand
perform in interface Commandperform in class CommonBaseCommandCommand.perform(java.lang.Object)public boolean isEnabled()
GraphDocumentSelectionCommand
isEnabled in interface CommandisEnabled in class GraphDocumentSelectionCommandEditGraphDocumentCommand.isEnabled()protected java.util.List getSelectedNodes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||