|
TPTP 4.5.0 Platform 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.platform.instrumentation.ui.internal.sourceeditor.actions.AbstractObjectActionDelegate
org.eclipse.tptp.platform.instrumentation.ui.internal.sourceeditor.actions.AbstractInstrumentRemoveAction
public abstract class AbstractInstrumentRemoveAction
This class used for common logic functions of remove BtM source instrument(ARM/CBE)
| Constructor Summary | |
|---|---|
AbstractInstrumentRemoveAction()
|
|
| Method Summary | |
|---|---|
protected abstract java.lang.String |
getDetermineDeletedString()
return determined string needed to be deleted |
protected abstract java.lang.String |
getMethodEntryDeletedText()
|
protected java.util.List |
getMethodEntryDeleteRegionList(org.eclipse.jdt.core.dom.TryStatement tryStatement)
return default document region list for method entry. |
protected abstract java.lang.String |
getMethodExitDeletedText()
|
protected java.util.List |
getMethodExitDeleteRegionList(org.eclipse.jdt.core.dom.TryStatement tryStatement)
return default document region list for method exit. |
protected java.lang.String |
getWarningMessage()
no needed message for remove action |
protected void |
processBtmInstrumentAction(org.eclipse.jdt.core.dom.MethodDeclaration methodDeclaration,
org.eclipse.jdt.core.IMethod method,
org.eclipse.text.edits.MultiTextEdit edit,
java.lang.StringBuffer msgBuffer)
Center entry to process BtM add/remove instrumentaion code to specified method. |
| Methods inherited from class org.eclipse.tptp.platform.instrumentation.ui.internal.sourceeditor.actions.AbstractObjectActionDelegate |
|---|
run, selectionChanged, setActivePart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractInstrumentRemoveAction()
| Method Detail |
|---|
protected void processBtmInstrumentAction(org.eclipse.jdt.core.dom.MethodDeclaration methodDeclaration,
org.eclipse.jdt.core.IMethod method,
org.eclipse.text.edits.MultiTextEdit edit,
java.lang.StringBuffer msgBuffer)
AbstractObjectActionDelegate
processBtmInstrumentAction in class AbstractObjectActionDelegatemethodDeclaration - method AST node associated with method needed to add/remove codemethod - method needed to add/remove codeedit - multi-text edit can be used to aggregate several edits into one editprotected abstract java.lang.String getDetermineDeletedString()
protected java.util.List getMethodEntryDeleteRegionList(org.eclipse.jdt.core.dom.TryStatement tryStatement)
tryStatement - try statement that contains deletable statement
protected java.util.List getMethodExitDeleteRegionList(org.eclipse.jdt.core.dom.TryStatement tryStatement)
tryStatement - try statement that contains deletable statement
protected java.lang.String getWarningMessage()
getWarningMessage in class AbstractObjectActionDelegateprotected abstract java.lang.String getMethodEntryDeletedText()
protected abstract java.lang.String getMethodExitDeletedText()
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||