com.tensegrity.skeleton.commands
Class ShowPropertiesCommand

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.ShowPropertiesCommand
All Implemented Interfaces:
Command

public class ShowPropertiesCommand
extends GraphDocumentCommand

Sets a collection of attributableOnSets for which the attributes will be shown.

Version:
$Id: ShowPropertiesCommand.java,v 1.10 2005/11/18 10:43:20 BurkhardWick Exp $
Author:
BurkhardWick

Constructor Summary
ShowPropertiesCommand(ApplicationFrame applicationFrame)
          Creates the ShowPropertiesCommand with the hardwired command id GUIItem.COMMAND_SHOWPROPERTIES.
ShowPropertiesCommand(ApplicationFrame applicationFrame, java.lang.String command)
          Creates a new ShowPropertiesCommand for the given ApplicationFrame and based on the given command id.
 
Method Summary
 void perform(java.lang.Object args)
          Updates the StatusBar with this commands title string.
 void setDialogModal(boolean modal)
          This method sets the modal flag for the properties dialog shown by this command.
 
Methods inherited from class com.tensegrity.skeleton.commands.GraphDocumentCommand
getGraphDocument, getVisualGraphView, isEnabled
 
Methods inherited from class com.tensegrity.skeleton.commands.DocumentCommand
getDocument, getGraphApplication, newGraphDocumentFromFactory
 
Methods inherited from class com.tensegrity.skeleton.commands.CommonBaseCommand
getApplicationFrame, getTitle
 
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

ShowPropertiesCommand

public ShowPropertiesCommand(ApplicationFrame applicationFrame)
Creates the ShowPropertiesCommand with the hardwired command id GUIItem.COMMAND_SHOWPROPERTIES.

Parameters:
applicationFrame - The application frame

ShowPropertiesCommand

public ShowPropertiesCommand(ApplicationFrame applicationFrame,
                             java.lang.String command)
Creates a new ShowPropertiesCommand for the given ApplicationFrame and based on the given command id.

Parameters:
applicationFrame - The application frame
command - The command id for registration
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)

setDialogModal

public void setDialogModal(boolean modal)
This method sets the modal flag for the properties dialog shown by this command. If set to true the dialog will be modal to the application.

Parameters:
modal - the modal flag for the PropertiesDialog of this command.


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