|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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.PositionBasedCommand
An abstract representation of position-based commands
| Field Summary |
|---|
| Fields inherited from class org.eclipse.tptp.test.auto.gui.internal.commands.AbstractMacroCommand |
|---|
DESCRIPTIVE_FIELD_BOUND |
| Constructor Summary | |
|---|---|
PositionBasedCommand(MacroCommandShell parent,
WidgetIdentifier wi)
|
|
| Method Summary | |
|---|---|
abstract org.eclipse.swt.widgets.Event[] |
constructSWTEvents()
Constructs the SWT event that will be played back |
abstract int |
getDetail()
Returns a field that is required to complete the string serialization of the command. |
abstract java.lang.String |
getType()
The type of the event |
boolean |
playback(org.eclipse.swt.widgets.Display display,
org.eclipse.swt.widgets.Composite parent,
org.eclipse.core.runtime.IProgressMonitor monitor)
Plays back this command |
abstract void |
processEvent(org.eclipse.swt.widgets.Event e)
A chance for the command to process the original SWT event |
void |
write(int indent,
java.lang.StringBuffer sb,
boolean close,
boolean end)
String serialize this event |
| 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 org.eclipse.tptp.test.auto.gui.internal.macro.AbstractMacroInstruction |
|---|
bindSourceLocation, getCorrespondingObject, getStartLine, getStopLine, getWidgetId, setCorrespondingObject, setWidgetId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.tptp.test.auto.gui.internal.core.IMacroInstruction |
|---|
getCorrespondingObject, getStartLine, getStopLine, getWidgetId, setCorrespondingObject, setWidgetId |
| Constructor Detail |
public PositionBasedCommand(MacroCommandShell parent,
WidgetIdentifier wi)
| Method Detail |
public abstract java.lang.String getType()
public abstract void processEvent(org.eclipse.swt.widgets.Event e)
e - The event that awaits processingpublic abstract int getDetail()
public abstract org.eclipse.swt.widgets.Event[] constructSWTEvents()
public void write(int indent,
java.lang.StringBuffer sb,
boolean close,
boolean end)
write in class AbstractMacroCommandindent - The current indent that the command should be atclose - A flag that indicates whether the command fragment should be closed (i.e.adding "/" to the end).end - A flag that indicates whether the command fragment should end (i.e.adding "/" to the end).
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
org.eclipse.core.runtime.CoreException
|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||