com.tensegrity.skeleton.commands
Class SaveVisualGraphCommand

java.lang.Object
  extended bycom.tensegrity.generic.command.BaseCommand
      extended bycom.tensegrity.skeleton.commands.CommonBaseCommand
          extended bycom.tensegrity.skeleton.commands.DocumentCommand
              extended bycom.tensegrity.skeleton.commands.GraphDocumentCommand
                  extended bycom.tensegrity.skeleton.commands.SaveVisualGraphCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
ExportRasterCommand, ExportSVGCommand, SaveAsCommand, SaveCommand, SaveStylesCommand, SwtSaveAsCommand, SwtSaveCommand

public abstract class SaveVisualGraphCommand
extends GraphDocumentCommand

This is the base class for all Command classes that deal with saving.

Version:
$Id: SaveVisualGraphCommand.java,v 1.9 2005/04/13 12:20:49 KevinCVS Exp $
Author:
MichaelKegel, Gilles Iachelini, Stepan RUtz

Constructor Summary
SaveVisualGraphCommand(ApplicationFrame applicationFrame, java.lang.String command)
          Do not initialize this class.
 
Method Summary
 boolean isEnabled()
          (non-Javadoc) This method returns true if the currently active Document is an instance of GraphDocument.
 
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, perform
 
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

SaveVisualGraphCommand

public SaveVisualGraphCommand(ApplicationFrame applicationFrame,
                              java.lang.String command)
Do not initialize this class. Its abstract.

Parameters:
applicationFrame - Application context for this command.
command - the ID of this command.
Method Detail

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 GraphDocumentCommand


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.