|
|||||||||||
| 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.swt.commands.SwtCommonBaseCommand
This subclass of CommonBaseCommand
is used, directly or indirectly, as the parent class of commands valid
solely within SWT-based applications.
| Constructor Summary | |
SwtCommonBaseCommand(ApplicationFrame applicationFrame,
java.lang.String command)
This is the default constructor for SwtCommonBaseCommands.
|
|
| Method Summary | |
protected GraphApplication |
getGraphApplication()
Returns the current GraphApplication. |
protected GraphDocument |
newGraphDocumentFromFactory(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview)
This method invokes the newGraphDocument method in the document factory and can be overridden by subclasses to perform custom post-intialization work. |
| Methods inherited from class com.tensegrity.skeleton.commands.CommonBaseCommand |
getApplicationFrame, getTitle, perform |
| Methods inherited from class com.tensegrity.generic.command.BaseCommand |
getDescription, getId, getPerformDescription, isEnabled, setEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SwtCommonBaseCommand(ApplicationFrame applicationFrame,
java.lang.String command)
This is the default constructor for SwtCommonBaseCommands.
applicationFrame - Application context for this command.command - the ID of this command.| Method Detail |
protected GraphApplication getGraphApplication()
GraphApplication.
protected GraphDocument newGraphDocumentFromFactory(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview)
name - name of the document.graphapplication - reference to the application context.graphcontroller - the graphcontroller instance that keeps the
model.visualgraphview - the visualgraph instance to show in the document.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||