|
|||||||||||
| 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.AbstractInsertElementCommand
com.tensegrity.skeleton.commands.InsertTableCommand
This Command inserts a table node into the currently selected
VisualGraph.
| Field Summary |
| Fields inherited from class com.tensegrity.skeleton.commands.AbstractInsertElementCommand |
ELEMENTNAME_CHART_NODE, ELEMENTNAME_IMAGE, ELEMENTNAME_TABLE_NODE |
| Constructor Summary | |
InsertTableCommand(ApplicationFrame applicationFrame,
java.lang.String command)
Constructor. |
|
| Method Summary | |
boolean |
isEnabled()
Overridden to restrict the availability of this command to the case that the "TableNode" element is in the pool. |
void |
perform(java.lang.Object args)
Adds a copy of the table defined in the element pool to the current graph. |
| Methods inherited from class com.tensegrity.skeleton.commands.AbstractInsertElementCommand |
addElement, addElement, toLog |
| 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 InsertTableCommand(ApplicationFrame applicationFrame,
java.lang.String command)
applicationFrame - The application framecommand - The id used to register this command in the command registry| Method Detail |
public void perform(java.lang.Object args)
perform in interface Commandperform in class CommonBaseCommandargs - IgnoredCommand.perform(java.lang.Object)public boolean isEnabled()
isEnabled in interface CommandisEnabled in class GraphDocumentCommand
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||