com.tensegrity.skeleton.swt.commands
Class SwtPreferencesCommand

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

public class SwtPreferencesCommand
extends CommonBaseCommand

NOTE: DO NOT USE THIS CLASS, IT IS STILL UNDER CONSTRUCTION!!!

This command, to be used within applications in a SWT context, opens a SwtPreferencesDialog for showing and editing preferences.

Version:
$Id: SwtPreferencesCommand.java,v 1.5 2005/11/03 14:44:20 ArndHouben Exp $
Author:
Arnd Houben

Constructor Summary
SwtPreferencesCommand(ApplicationFrame applicationFrame, java.lang.String command)
          Constructor which requires an instance of the ApplicationFrame to use
 
Method Summary
 SwtPreferencesDialog getDialog()
          Returns the dialog for the preferences.
 void perform(java.lang.Object args)
          Updates the StatusBar with this commands title string.
 
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

SwtPreferencesCommand

public SwtPreferencesCommand(ApplicationFrame applicationFrame,
                             java.lang.String command)
Constructor which requires an instance of the ApplicationFrame to use

Parameters:
applicationFrame - the ApplicationFrame to use
command - a unique id for this 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)

getDialog

public SwtPreferencesDialog getDialog()
Returns the dialog for the preferences.

Returns:
the dialog for the preferences.


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