|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.mwe.internal.core.debug.mwe.WorkflowElementAdapter
public class WorkflowElementAdapter
The IElementAdapter implementation for WorkflowComponents.
| Field Summary | |
|---|---|
static java.lang.String |
TYPE
|
| Constructor Summary | |
|---|---|
WorkflowElementAdapter()
|
|
| Method Summary | |
|---|---|
boolean |
canHandle(java.lang.Object element)
returns true, if the implementation handles the element type |
boolean |
checkVariableHasMembers(java.lang.Object element)
check if the variable representation of this element shall show members |
SyntaxElement |
createElement(java.lang.Object element)
computes a SyntaxElement for a specific element type the containerName should be the name of the underlying file name the element name should be the name of the surrounding element (e.g. |
SyntaxElement |
createEndElementTO(java.lang.Object element)
computes a SyntaxElement for a surrounding element representing the end position to be highlighted before returning the containerName should be the name of the file that holds the element the element name should be a description of the end element start, end and line should point to the end text to be highlighted |
java.lang.Object |
findElement(SyntaxElement se,
java.lang.Object actual,
int flag)
find the element that corresponds to the given syntax element information |
java.lang.String |
getAdapterType()
a unique type must be provided for each implementation |
java.lang.Object |
getContext()
|
java.lang.String |
getVariableDetailRep(java.lang.Object element)
compute the string representation of the element ready to display in the variables detail view. |
java.util.List<NameValuePair> |
getVariables(java.lang.Object element)
collect all available variables for a given element. |
java.lang.String |
getVariableSimpleRep(java.lang.Object element)
compute a shorter string representation of the element ready to display in the variables view. |
boolean |
isSurroundingElement(java.lang.Object element)
returns whether the element has a body and debugger shall stop again at the end of the execution of that element |
void |
setContext(java.lang.Object context)
set the current execution context the context should be cached and can be used to collect information about elements |
boolean |
shallHandle(java.lang.Object element)
this method is called from the DebugMonitor prior to all other suspension activities (e.g. |
boolean |
shallSuspend(java.lang.Object element,
int flag)
this method is called from the DebugMonitor after all other suspension activities (e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE
| Constructor Detail |
|---|
public WorkflowElementAdapter()
| Method Detail |
|---|
public java.lang.Object getContext()
getContext in interface ElementAdapterpublic void setContext(java.lang.Object context)
ElementAdapter
setContext in interface ElementAdaptercontext - the contextpublic java.lang.String getAdapterType()
ElementAdapter
getAdapterType in interface ElementAdapterpublic boolean canHandle(java.lang.Object element)
ElementAdapter
canHandle in interface ElementAdapterelement - the element that is going to be debugged
public boolean shallHandle(java.lang.Object element)
ElementAdapter
shallHandle in interface ElementAdapterelement - the element that is going to be debugged
public boolean shallSuspend(java.lang.Object element,
int flag)
ElementAdapter
shallSuspend in interface ElementAdapterelement - the element that is going to be debuggedflag - one of the values IProcessHandler.PUSH or IProcessHandler.POP
public boolean isSurroundingElement(java.lang.Object element)
ElementAdapter
isSurroundingElement in interface ElementAdapterelement - the element that is debugged currently
public SyntaxElement createElement(java.lang.Object element)
ElementAdapter
createElement in interface ElementAdapterelement - the element that is going to be debugged
public SyntaxElement createEndElementTO(java.lang.Object element)
ElementAdapter
createEndElementTO in interface ElementAdapterelement - the element that is going to be debugged
public java.util.List<NameValuePair> getVariables(java.lang.Object element)
ElementAdapterelementcan be both a syntax element or an arbitrary java
element to collect the member variables from!!
getVariables in interface ElementAdapterelement - the current element
public java.lang.String getVariableDetailRep(java.lang.Object element)
ElementAdapter
getVariableDetailRep in interface ElementAdapterelement - the element to be considered
public java.lang.String getVariableSimpleRep(java.lang.Object element)
ElementAdapter
getVariableSimpleRep in interface ElementAdapterelement - the element to be considered
public boolean checkVariableHasMembers(java.lang.Object element)
ElementAdapter
checkVariableHasMembers in interface ElementAdapterelement - the element to be considered
public java.lang.Object findElement(SyntaxElement se,
java.lang.Object actual,
int flag)
ElementAdapter
findElement in interface ElementAdapterse - the syntax element transfer object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||