|
|||||||||||
| 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.generic.SelectAllCommand
Selects all objects in the currently selected document.
This class uses the
InteractionProvider.setSelection(List)
method of the active VisualGraphView.
| Constructor Summary | |
SelectAllCommand(ApplicationFrame applicationFrame,
java.lang.String command)
Creates a new SelectAllCommand. |
|
| Method Summary | |
boolean |
isEnabled()
(non-Javadoc) This method returns true if the currently active
Document is an instance of GraphDocument. |
void |
perform(java.lang.Object args)
Updates the StatusBar with this commands title string. |
| 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 SelectAllCommand(ApplicationFrame applicationFrame,
java.lang.String command)
SelectAllCommand.
applicationFrame - Application context for this command.command - the ID of this command.| Method Detail |
public void perform(java.lang.Object args)
CommonBaseCommand
perform in interface Commandperform in class CommonBaseCommandCommand.perform(java.lang.Object)public boolean isEnabled()
GraphDocumentCommandtrue if the currently active
Document is an instance of GraphDocument.
isEnabled in interface CommandisEnabled in class EditGraphDocumentCommand
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||