com.tensegrity.skeleton.commands
Class OpenElementsCommand

java.lang.Object
  extended bycom.tensegrity.generic.command.BaseCommand
      extended bycom.tensegrity.skeleton.commands.CommonBaseCommand
          extended bycom.tensegrity.skeleton.commands.OpenElementsCommand
All Implemented Interfaces:
Command

public class OpenElementsCommand
extends CommonBaseCommand

OpenGeometryCommand

Author:
BurkhardWick

Constructor Summary
OpenElementsCommand(ApplicationFrame applicationFrame, java.lang.String command)
          Constructor
 
Method Summary
protected  void checkConflicts(ElementDefinitionWrapper edw)
           
protected  java.util.List getOpenedVisualGraphViewList()
          Returns the list of all currently used VisualGraphView instances of the currently open documents.
protected  void loadDefinitions(ElementDefinitionWrapper edw, java.io.File file, ElementService.Locations locs)
           
 void perform(java.lang.Object args)
          Updates the StatusBar with this commands title string.
protected  void updateRepository(java.io.File file, boolean createNewCat)
           
 
Methods inherited from class com.tensegrity.skeleton.commands.CommonBaseCommand
getApplicationFrame, getTitle
 
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

OpenElementsCommand

public OpenElementsCommand(ApplicationFrame applicationFrame,
                           java.lang.String command)
Constructor

Parameters:
applicationFrame -
command -
Method Detail

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)

updateRepository

protected void updateRepository(java.io.File file,
                                boolean createNewCat)
                         throws XMLParseException,
                                ReadException,
                                java.io.IOException
Parameters:
file -
createNewCat -
Throws:
XMLParseException
ReadException
java.io.IOException

checkConflicts

protected void checkConflicts(ElementDefinitionWrapper edw)
                       throws XMLParseException,
                              ReadException,
                              java.io.IOException,
                              IllegalAttributeException,
                              ConstraintViolationException,
                              java.lang.CloneNotSupportedException
Parameters:
edw -
Throws:
XMLParseException
ReadException
java.io.IOException
java.lang.CloneNotSupportedException
ConstraintViolationException
IllegalAttributeException

loadDefinitions

protected void loadDefinitions(ElementDefinitionWrapper edw,
                               java.io.File file,
                               ElementService.Locations locs)
                        throws XMLParseException,
                               ReadException,
                               java.io.IOException,
                               IllegalAttributeException,
                               ConstraintViolationException,
                               java.lang.CloneNotSupportedException
Parameters:
edw -
file -
locs -
Throws:
XMLParseException
ReadException
java.io.IOException
java.lang.CloneNotSupportedException
ConstraintViolationException
IllegalAttributeException

getOpenedVisualGraphViewList

protected final java.util.List getOpenedVisualGraphViewList()
Returns the list of all currently used VisualGraphView instances of the currently open documents.

Returns:
List of VisualGraphView instances.


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