|
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
Provides an abstract implementation of IMacroInstruction. Contributors
can subclass AbstractMacroInstruction or provide a direct implementaion
of IMacroInstruction.
| Constructor Summary | |
|---|---|
AbstractMacroInstruction()
|
|
| Method Summary | |
|---|---|
protected void |
bindSourceLocation(org.w3c.dom.Node node,
java.util.Map lineTable)
Binds the line details with this macro instruction |
IUIObject |
getCorrespondingObject()
Returns the corresponding IUIObject of this macro instruction. |
int |
getStartLine()
Returns the starting line number of this macro instruction in the macro script that it belongs to. |
int |
getStopLine()
Returns the last line number of this macro instruction in the macro script that it belongs to. |
WidgetIdentifier |
getWidgetId()
Returns the corresponding widget id of this instruction |
void |
load(org.w3c.dom.Node node,
java.util.Hashtable lineTable)
Invoked to load the macro instruction based on its corresponding XML node. |
void |
setCorrespondingObject(IUIObject uiObject)
Sets the UI object for this macro instruction. |
void |
setWidgetId(WidgetIdentifier widgetIdentifier)
Sets the widget identifier for this macro instruction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.tptp.test.auto.gui.internal.core.IWritable |
|---|
write, writeFinish, writeStart |
| Methods inherited from interface org.eclipse.tptp.test.auto.gui.internal.core.IPlayable |
|---|
playback |
| Constructor Detail |
public AbstractMacroInstruction()
| Method Detail |
public void load(org.w3c.dom.Node node,
java.util.Hashtable lineTable)
throws org.eclipse.core.runtime.CoreException
IMacroInstruction
load in interface IMacroInstructionnode - The XML node representing this macro instructionlineTable - Contains line level information
org.eclipse.core.runtime.CoreException - In case of an unexpected errorIMacroInstruction.load(org.w3c.dom.Node, java.util.Hashtable)
protected void bindSourceLocation(org.w3c.dom.Node node,
java.util.Map lineTable)
node - The node of this instructionlineTable - The line level informationpublic int getStartLine()
IMacroInstruction
getStartLine in interface IMacroInstructionIMacroInstruction.getStartLine()public int getStopLine()
IMacroInstruction
getStopLine in interface IMacroInstructionIMacroInstruction.getStopLine()public IUIObject getCorrespondingObject()
IMacroInstruction
getCorrespondingObject in interface IMacroInstructionIMacroInstruction.getCorrespondingObject()public void setCorrespondingObject(IUIObject uiObject)
IMacroInstruction
setCorrespondingObject in interface IMacroInstructionuiObject - The corresponding objectIMacroInstruction.setCorrespondingObject(org.eclipse.tptp.test.auto.gui.internal.core.IUIObject)public WidgetIdentifier getWidgetId()
IMacroInstruction
getWidgetId in interface IMacroInstructionIMacroInstruction.getWidgetId()public void setWidgetId(WidgetIdentifier widgetIdentifier)
IMacroInstruction
setWidgetId in interface IMacroInstructionIMacroInstruction.setWidgetId(org.eclipse.tptp.test.auto.gui.internal.core.WidgetIdentifier)
|
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 | ||||||||||