com.tensegrity.skeleton.commands
Class SaveStylesCommand
java.lang.Object
com.tensegrity.generic.command.BaseCommand
com.tensegrity.skeleton.commands.CommonBaseCommand
com.tensegrity.skeleton.commands.DocumentCommand
com.tensegrity.skeleton.commands.GraphDocumentCommand
com.tensegrity.skeleton.commands.SaveVisualGraphCommand
com.tensegrity.skeleton.commands.SaveStylesCommand
- All Implemented Interfaces:
- Command
- public class SaveStylesCommand
- extends SaveVisualGraphCommand
This Command saves all pooled Style objects of the
runtime application.
This class uses a GraphFileChooserDialog to allow users to save
all StyleItem and StyleItemDescriptor objects from
the current pool into a new File.
- Version:
- $Id: SaveStylesCommand.java,v 1.10 2006/01/30 11:56:45 BurkhardWick Exp $
- Author:
- GillesIachelini
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaveStylesCommand
public SaveStylesCommand(ApplicationFrame applicationFrame,
java.lang.String command)
- Creates the
SaveStylesCommand.
- Parameters:
applicationFrame - Application context of this command.command - the ID of this command.
perform
public void perform(java.lang.Object args)
- Description copied from class:
CommonBaseCommand
- Updates the StatusBar with this commands title string.
(non-Javadoc)
- Specified by:
perform in interface Command- Overrides:
perform in class CommonBaseCommand
- See Also:
Command.perform(java.lang.Object)
isEnabled
public boolean isEnabled()
- Description copied from class:
GraphDocumentCommand
- (non-Javadoc)
This method returns
true if the currently active
Document is an instance of GraphDocument.
- Specified by:
isEnabled in interface Command- Overrides:
isEnabled in class SaveVisualGraphCommand
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.