|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.pogamut.shed.presenter.PrimitivePresenter<PRIMITIVE_TYPE>
cz.cuni.amis.dash.DashPrimitivePresenter<PRIMITIVE_TYPE>
public abstract class DashPrimitivePresenter<PRIMITIVE_TYPE extends cz.cuni.amis.pogamut.sposh.elements.PoshElement & cz.cuni.amis.pogamut.sposh.elements.IReferenceElement>
Presenter used in Dash for actions and sense.
| Field Summary | |
|---|---|
protected cz.cuni.pogamut.shed.presenter.ShedPresenter |
presenter
|
protected cz.cuni.pogamut.shed.widget.ShedScene |
scene
|
| Fields inherited from class cz.cuni.pogamut.shed.presenter.PrimitivePresenter |
|---|
primitive, primitiveChain, primitiveWidget |
| Constructor Summary | |
|---|---|
DashPrimitivePresenter(IDebugEngine engine,
cz.cuni.amis.pogamut.sposh.elements.LapPath primitivePath,
cz.cuni.pogamut.shed.widget.ShedScene scene,
cz.cuni.pogamut.shed.presenter.ShedPresenter presenter,
PRIMITIVE_TYPE primitive,
cz.cuni.pogamut.shed.widget.ShedVariableWidget primitiveWidget,
cz.cuni.amis.pogamut.sposh.elements.LapChain primitiveChain)
|
|
| Method Summary | ||
|---|---|---|
void |
breakpointAdded(LapBreakpoint bp)
|
|
void |
breakpointRemoved(LapBreakpoint bp)
|
|
void |
connected()
This method is called when debugger has successfully connected to the engine. |
|
void |
disconnected(String message,
boolean error)
When debugger crashes or user asks to be disconnected, it will sooner or later cause this. |
|
void |
evaluationFinished()
Every time the debugger finished the evaluation, listeners are notified |
|
void |
evaluationReached()
Every time the debugger reaches this stage, it calls this method. |
|
protected cz.cuni.amis.pogamut.sposh.elements.TriggeredAction |
extractAction(List<cz.cuni.amis.pogamut.sposh.elements.TriggeredAction> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
|
|
protected cz.cuni.amis.pogamut.sposh.elements.ActionPattern |
extractActionPattern(List<cz.cuni.amis.pogamut.sposh.elements.ActionPattern> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
|
|
protected cz.cuni.amis.pogamut.sposh.elements.Competence |
extractCompetence(List<cz.cuni.amis.pogamut.sposh.elements.Competence> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
|
|
protected cz.cuni.amis.pogamut.sposh.elements.DriveElement |
extractDrive(List<cz.cuni.amis.pogamut.sposh.elements.DriveElement> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
|
|
protected cz.cuni.amis.pogamut.sposh.elements.CompetenceElement |
extractChoice(List<cz.cuni.amis.pogamut.sposh.elements.CompetenceElement> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
|
|
protected cz.cuni.amis.pogamut.sposh.elements.Sense |
extractSense(cz.cuni.amis.pogamut.sposh.elements.Trigger<?> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
|
|
cz.cuni.pogamut.posh.widget.accept.AbstractAcceptAction[] |
getAcceptProviders()
|
|
org.netbeans.api.visual.action.WidgetAction |
getEditAction()
|
|
Action[] |
getMenuActions()
|
|
protected
|
getPosition(List<T> arg0,
T arg1)
|
|
protected boolean |
isAction(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
|
|
protected boolean |
isActionPattern(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
|
|
protected boolean |
isCompetence(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
|
|
protected boolean |
isDrive(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
|
|
protected boolean |
isChoice(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
|
|
protected boolean |
isSense(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
|
|
void |
pathReached(cz.cuni.amis.pogamut.sposh.elements.LapPath path)
Notify about path that is about to be fired. |
|
void |
planRecieved(String name,
cz.cuni.amis.pogamut.sposh.elements.PoshPlan plan)
Called when plan was recieved. |
|
void |
propertyChange(PropertyChangeEvent evt)
|
|
void |
register()
|
|
void |
unregister()
|
|
| Methods inherited from class cz.cuni.pogamut.shed.presenter.PrimitivePresenter |
|---|
getTitleText, childElementAdded, childElementMoved, childElementRemoved, nameMapChanged, notifyLinkChanged, updateWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final cz.cuni.pogamut.shed.widget.ShedScene scene
protected final cz.cuni.pogamut.shed.presenter.ShedPresenter presenter
| Constructor Detail |
|---|
public DashPrimitivePresenter(IDebugEngine engine,
cz.cuni.amis.pogamut.sposh.elements.LapPath primitivePath,
cz.cuni.pogamut.shed.widget.ShedScene scene,
cz.cuni.pogamut.shed.presenter.ShedPresenter presenter,
PRIMITIVE_TYPE primitive,
cz.cuni.pogamut.shed.widget.ShedVariableWidget primitiveWidget,
cz.cuni.amis.pogamut.sposh.elements.LapChain primitiveChain)
| Method Detail |
|---|
public void register()
register in interface cz.cuni.pogamut.shed.presenter.IPresenterregister in class cz.cuni.pogamut.shed.presenter.PrimitivePresenter<PRIMITIVE_TYPE extends cz.cuni.amis.pogamut.sposh.elements.PoshElement & cz.cuni.amis.pogamut.sposh.elements.IReferenceElement>public void unregister()
unregister in interface cz.cuni.pogamut.shed.presenter.IPresenterunregister in class cz.cuni.pogamut.shed.presenter.PrimitivePresenter<PRIMITIVE_TYPE extends cz.cuni.amis.pogamut.sposh.elements.PoshElement & cz.cuni.amis.pogamut.sposh.elements.IReferenceElement>public Action[] getMenuActions()
getMenuActions in interface cz.cuni.pogamut.shed.presenter.IPresenterpublic cz.cuni.pogamut.posh.widget.accept.AbstractAcceptAction[] getAcceptProviders()
getAcceptProviders in interface cz.cuni.pogamut.shed.presenter.IPresentergetAcceptProviders in class cz.cuni.pogamut.shed.presenter.PrimitivePresenter<PRIMITIVE_TYPE extends cz.cuni.amis.pogamut.sposh.elements.PoshElement & cz.cuni.amis.pogamut.sposh.elements.IReferenceElement>public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic org.netbeans.api.visual.action.WidgetAction getEditAction()
getEditAction in interface cz.cuni.pogamut.shed.presenter.IPresenterpublic void connected()
IDebugEngineListener
connected in interface IDebugEngineListener
public void planRecieved(String name,
cz.cuni.amis.pogamut.sposh.elements.PoshPlan plan)
IDebugEngineListener
planRecieved in interface IDebugEngineListenername - name used to identify the instance of the engine that is
running this planplan - String representation of plan (e.g. POSH or Shade)public void evaluationReached()
IDebugEngineListener
evaluationReached in interface IDebugEngineListenerpublic void pathReached(cz.cuni.amis.pogamut.sposh.elements.LapPath path)
IDebugEngineListener
pathReached in interface IDebugEngineListenerpublic void evaluationFinished()
IDebugEngineListener
evaluationFinished in interface IDebugEngineListenerpublic void breakpointAdded(LapBreakpoint bp)
breakpointAdded in interface IDebugEngineListenerpublic void breakpointRemoved(LapBreakpoint bp)
breakpointRemoved in interface IDebugEngineListener
public void disconnected(String message,
boolean error)
IDebugEngineListener
disconnected in interface IDebugEngineListenermessage - Optional message to display the user.error - Was debugger disconnected because of an error or was it OK.protected final boolean isSense(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
protected final cz.cuni.amis.pogamut.sposh.elements.Sense extractSense(cz.cuni.amis.pogamut.sposh.elements.Trigger<?> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
protected final boolean isAction(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
protected final cz.cuni.amis.pogamut.sposh.elements.TriggeredAction extractAction(List<cz.cuni.amis.pogamut.sposh.elements.TriggeredAction> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
protected final boolean isDrive(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
protected final cz.cuni.amis.pogamut.sposh.elements.DriveElement extractDrive(List<cz.cuni.amis.pogamut.sposh.elements.DriveElement> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
protected final boolean isChoice(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
protected final cz.cuni.amis.pogamut.sposh.elements.CompetenceElement extractChoice(List<cz.cuni.amis.pogamut.sposh.elements.CompetenceElement> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
protected final boolean isActionPattern(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
protected final cz.cuni.amis.pogamut.sposh.elements.ActionPattern extractActionPattern(List<cz.cuni.amis.pogamut.sposh.elements.ActionPattern> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
protected final boolean isCompetence(cz.cuni.amis.pogamut.sposh.elements.PoshElement arg0)
protected final cz.cuni.amis.pogamut.sposh.elements.Competence extractCompetence(List<cz.cuni.amis.pogamut.sposh.elements.Competence> arg0,
cz.cuni.amis.pogamut.sposh.elements.PoshElement arg1)
protected final <T extends cz.cuni.amis.pogamut.sposh.elements.PoshElement> int getPosition(List<T> arg0,
T arg1)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||