com.tensegrity.skeleton.swt.commands
Class SwtPrintCommand
java.lang.Object
com.tensegrity.generic.command.BaseCommand
com.tensegrity.skeleton.commands.CommonBaseCommand
com.tensegrity.skeleton.swt.commands.SwtCommonBaseCommand
com.tensegrity.skeleton.swt.commands.SwtDocumentCommand
com.tensegrity.skeleton.swt.commands.SwtGraphDocumentCommand
com.tensegrity.skeleton.swt.commands.SwtPrintCommand
- All Implemented Interfaces:
- Command
- public final class SwtPrintCommand
- extends SwtGraphDocumentCommand
This command, to be used within applications in a SWT context, prints the
active GraphDocument.
The actual printing process is delegated to the
PrintManager.print(VisualGraphView, BasePageFormat)
method and the page format to be used is retrieved from the
PrintContext.
- Version:
- $Id: SwtPrintCommand.java,v 1.11 2005/08/03 09:57:53 SebastienGuyon Exp $
- Author:
- Arnd Houben
|
Method Summary |
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 |
SwtPrintCommand
public SwtPrintCommand(ApplicationFrame applicationFrame,
java.lang.String command)
- Creates a new
SwtPrintCommand.
- Parameters:
applicationFrame - Application context for 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)
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.