|
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.ChoiceSelectionCommand
A choice selection command represents a user selection of an item from a set of items present. For example, selecting a specific tab from a tab group or an item from a combo box.
| Field Summary | |
|---|---|
static java.lang.String |
TYPE
|
| Fields inherited from class org.eclipse.tptp.test.auto.gui.internal.commands.AbstractMacroCommand |
|---|
DESCRIPTIVE_FIELD_BOUND |
| Constructor Summary | |
|---|---|
ChoiceSelectionCommand(MacroCommandShell parent,
WidgetIdentifier wid)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Overwrite this method in order to indicate that two choice commands that have different choice ids are not the same |
java.lang.String |
getType()
Returns the type of this command |
void |
load(org.w3c.dom.Node node,
java.util.Hashtable lineTable)
Invoked to load the macro instruction based on its corresponding XML node. |
boolean |
mergeEvent(org.eclipse.swt.widgets.Event e)
If this command occurs consecutively, then this method gives this command a chance to merge mutliple commands together to reduce the overhead. |
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 |
|---|
findDescriptiveField, findDescriptiveField, getDescriptiveField, getObjectClassName, getParent, getText, getTimeDifference, isRepeatRedundant, 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 |
| Field Detail |
public static final java.lang.String TYPE
| Constructor Detail |
public ChoiceSelectionCommand(MacroCommandShell parent,
WidgetIdentifier wid)
| Method Detail |
public java.lang.String getType()
IMacroCommand
public void processEvent(org.eclipse.swt.widgets.Event e)
IMacroCommand
e - The event that awaits processing
public void load(org.w3c.dom.Node node,
java.util.Hashtable lineTable)
throws org.eclipse.core.runtime.CoreException
IMacroInstruction
load in interface IMacroInstructionload in class AbstractMacroCommandorg.eclipse.core.runtime.CoreException
public void write(int indent,
java.lang.StringBuffer sb)
AbstractMacroCommand
write in interface IWritablewrite in class AbstractMacroCommand
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.CoreExceptionpublic boolean mergeEvent(org.eclipse.swt.widgets.Event e)
IMacroCommand
mergeEvent in interface IMacroCommandmergeEvent in class AbstractMacroCommandpublic boolean equals(java.lang.Object obj)
equals in class AbstractMacroCommand
|
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 | ||||||||||