|
|||||||||||
| 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.InsertChartCommand
This Command inserts a chart 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 | |
InsertChartCommand(ApplicationFrame applicationFrame,
java.lang.String command)
Constructor. |
|
| Method Summary | |
boolean |
isEnabled()
Overridden to restrict the availability of this command to the case that the "ChartNode" element is in the pool. |
void |
perform(java.lang.Object args)
Creates a chart and inserts it into the current graph (using application frame and mdi component to determine selected graph document). |
| 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 InsertChartCommand(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 | ||||||||||