|
|||||||||||
| 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.AbstractLayoutCommand
| Constructor Summary | |
AbstractLayoutCommand(ApplicationFrame applicationFrame,
java.lang.String command,
java.lang.String layoutContext)
|
|
AbstractLayoutCommand(ApplicationFrame applicationFrame,
java.lang.String command,
java.lang.String layoutContext,
boolean isNodeLayout)
|
|
| Method Summary | |
protected abstract Observer |
buildLayoutObserver()
|
protected abstract LayoutController |
getDefaultLayoutController()
Returns the default LayoutController.
|
java.lang.String |
getLayoutName()
Returns the layoutName. |
protected abstract AttributeSet |
getRendererConfigurationLowDetail()
|
java.lang.String |
getTitle()
If the internal id is not null, this method returns a
String holding the id from UIManager,
otherwise the perform description of the superclass is returned. |
boolean |
isEnabled()
Returns true if the active and editable grap document is
enabled and the layout context is valid for the document layout
controller. |
boolean |
isNodeLayout()
Indicates whether the layout command associates with a node or an edge layout engine. |
void |
perform(java.lang.Object args)
Updates the StatusBar with this commands title string. |
protected void |
performLayout()
|
void |
setLayoutName(java.lang.String newName)
Sets the layoutName |
protected abstract void |
showError(LayoutController layoutController)
|
| 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 |
| 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 AbstractLayoutCommand(ApplicationFrame applicationFrame,
java.lang.String command,
java.lang.String layoutContext)
public AbstractLayoutCommand(ApplicationFrame applicationFrame,
java.lang.String command,
java.lang.String layoutContext,
boolean isNodeLayout)
| Method Detail |
public final void perform(java.lang.Object args)
CommonBaseCommand
perform in interface Commandperform in class CommonBaseCommandCommand.perform(java.lang.Object)protected void performLayout()
public final java.lang.String getLayoutName()
public final void setLayoutName(java.lang.String newName)
newName - the layout namepublic final java.lang.String getTitle()
CommonBaseCommandnull, this method returns a
String holding the id from UIManager,
otherwise the perform description of the superclass is returned.
getTitle in class CommonBaseCommandBaseCommand.getPerformDescription()public final boolean isNodeLayout()
public final boolean isEnabled()
true if the active and editable grap document is
enabled and the layout context is valid for the document layout
controller.
isEnabled in interface CommandisEnabled in class EditGraphDocumentCommandtrue if the active and editable grap document is
enabled and the layout context is valid for the document layout
controller.EditGraphDocumentCommand.isEnabled(),
getDefaultLayoutController(),
LayoutController.isValidLayoutContext(String)protected abstract Observer buildLayoutObserver()
protected abstract void showError(LayoutController layoutController)
protected abstract AttributeSet getRendererConfigurationLowDetail()
protected abstract LayoutController getDefaultLayoutController()
Returns the default LayoutController.
LayoutController.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||