org.eclipse.tptp.test.auto.gui.internal.commands
Class CloseWorkbenchPartCommand
java.lang.Object
org.eclipse.tptp.test.auto.gui.internal.macro.AbstractMacroInstruction
org.eclipse.tptp.test.auto.gui.internal.commands.AbstractMacroCommand
org.eclipse.tptp.test.auto.gui.internal.commands.CloseWorkbenchPartCommand
- All Implemented Interfaces:
- IMacroCommand, IMacroInstruction, IPlayable, IWritable
- public class CloseWorkbenchPartCommand
- extends AbstractMacroCommand
The purpose of this class is to generate commands responsible for closing workbench parts.
|
Field Summary |
static java.lang.String |
TYPE
|
|
Method Summary |
java.lang.String |
getType()
Returns the type of this command |
boolean |
playback(org.eclipse.swt.widgets.Display display,
org.eclipse.swt.widgets.Composite parent,
org.eclipse.core.runtime.IProgressMonitor monitor)
|
void |
processEvent(org.eclipse.swt.widgets.Event e)
Allows this command to process the corresponding event. |
void |
write(int indent,
java.lang.StringBuffer sb)
Equivalent to write(indent, writer, false, false) |
| Methods inherited from class org.eclipse.tptp.test.auto.gui.internal.commands.AbstractMacroCommand |
equals, findDescriptiveField, findDescriptiveField, getDescriptiveField, getObjectClassName, getParent, getText, getTimeDifference, isRepeatRedundant, load, mergeEvent, setDescriptiveField, setParent, setTimeDifference, toString, write, writeFinish, writeStart |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
CloseWorkbenchPartCommand
public CloseWorkbenchPartCommand(MacroCommandShell parent,
WidgetIdentifier widgetId)
getType
public java.lang.String getType()
- Description copied from interface:
IMacroCommand
- Returns the type of this command
- Returns:
- The type
processEvent
public void processEvent(org.eclipse.swt.widgets.Event e)
- Description copied from interface:
IMacroCommand
- Allows this command to process the corresponding event.
- Parameters:
e - The event that awaits processing
write
public void write(int indent,
java.lang.StringBuffer sb)
- Description copied from class:
AbstractMacroCommand
- Equivalent to write(indent, writer, false, false)
- Specified by:
write in interface IWritable- Overrides:
write in class AbstractMacroCommand
playback
public boolean playback(org.eclipse.swt.widgets.Display display,
org.eclipse.swt.widgets.Composite parent,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException