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

public interface IPresenterFactory
Interface for presenters of widgets. Presenters are responsible for
displaying changes of posh elements into the widgets.
TODO: Once done with paths + checked, remove obsolete chain and eleemnts
parameters.
Be careful when implementing the presenters, you can't store LapPath
in them, because stuff can move around.
| Method Summary | ||
|---|---|---|
IPresenter |
createActionPatternPresenter(LapPath actionPatternPath,
TriggeredAction referencingAction,
ActionPattern actionPattern,
ShedVariableWidget actionPatternWidget,
LapChain chain)
Create presenter for action pattern widget. |
|
IPresenter |
createActionPresenter(LapPath actionPath,
TriggeredAction action,
ShedVariableWidget actionWidget,
LapChain actionChain)
Create presenter for primitive action. |
|
IPresenter |
createActionsPresenter(LapPath actionPatternPath,
ActionPattern actionPattern,
ShedActionsEnvelope actionsEnvelope,
LapChain actionPatternChainchain)
Create presenter that will take care about keeping adding/moving/removing expanded actions in the ShedActionsEnvelope for ActionPattern. |
|
IPresenter |
createCompetencePresenter(LapPath competencePath,
TriggeredAction referencingAction,
Competence competence,
ShedVariableWidget competenceWidget,
LapChain chain)
Create presenter for competence widget. |
|
IPresenter |
createDriveCollectionPresenter(LapPath driveCollectionPath,
DriveCollection driveCollection)
|
|
IPresenter |
createDrivePresenter(LapPath drivePath,
DriveElement drive,
ShedVariableWidget widget)
Create presenter for drive widget. |
|
IPresenter |
createExpandedActionPresenter(TriggeredAction action,
ExpandedActionEnvelope envelope,
LapChain chain)
|
|
IPresenter |
createChoicePresenter(LapPath choicePath,
CompetenceElement choice,
ShedVariableWidget choiceWidget)
Create presenter for choice widget, only the widget, not its trigger nor action. |
|
IPresenter |
createChoicesPresenter(LapPath competencePath,
Competence competence,
ShedChoicesEnvelope choicesEnvelope,
LapChain competenceChainchain)
Create presenter responsible for adding, moving and removing choices widgets
in the ShedChoicesEnvelope. |
|
IPresenter |
createSensePresenter(LapPath sensePath,
Sense sense,
ShedSenseWidget senseWidget,
LapChain senseChain)
Create presenter for sense at @sensePath that will present the sense in the @senseWidget. |
|
|
createTriggerPresenter(TRIGGER_PARENT parent,
Trigger<TRIGGER_PARENT> trigger,
ShedTriggerEnvelope triggerEnvelope,
LapChain parentChain)
Create presenter for trigger, it is responsible for keepeing track of added/moved/removed senses. |
|
| Method Detail |
|---|
IPresenter createActionPresenter(LapPath actionPath,
TriggeredAction action,
ShedVariableWidget actionWidget,
LapChain actionChain)
IPresenter createExpandedActionPresenter(TriggeredAction action,
ExpandedActionEnvelope envelope,
LapChain chain)
IPresenter createSensePresenter(LapPath sensePath,
Sense sense,
ShedSenseWidget senseWidget,
LapChain senseChain)
<TRIGGER_PARENT extends PoshElement> IPresenter createTriggerPresenter(TRIGGER_PARENT parent,
Trigger<TRIGGER_PARENT> trigger,
ShedTriggerEnvelope triggerEnvelope,
LapChain parentChain)
parentChain - Chain of the parent.
IPresenter createDriveCollectionPresenter(LapPath driveCollectionPath,
DriveCollection driveCollection)
IPresenter createActionPatternPresenter(LapPath actionPatternPath,
TriggeredAction referencingAction,
ActionPattern actionPattern,
ShedVariableWidget actionPatternWidget,
LapChain chain)
actionPatternPath - Path to the action pattern, path ends with
../A:?/AP:?
IPresenter createCompetencePresenter(LapPath competencePath,
TriggeredAction referencingAction,
Competence competence,
ShedVariableWidget competenceWidget,
LapChain chain)
competencePath - Path to the competence, path ends with
../A:?/C:?
IPresenter createChoicePresenter(LapPath choicePath,
CompetenceElement choice,
ShedVariableWidget choiceWidget)
choicePath - Path to the choice, it will end with
../A:?/C:?/CE:?
IPresenter createDrivePresenter(LapPath drivePath,
DriveElement drive,
ShedVariableWidget widget)
drivePath - Path to drive, ../DE:?
IPresenter createActionsPresenter(LapPath actionPatternPath,
ActionPattern actionPattern,
ShedActionsEnvelope actionsEnvelope,
LapChain actionPatternChainchain)
ShedActionsEnvelope for ActionPattern.
actionPatternPath - Path to the action pattern, ends with
../AP:?.actionPatternChain - Chain to the @actionPattern of the actions.
IPresenter createChoicesPresenter(LapPath competencePath,
Competence competence,
ShedChoicesEnvelope choicesEnvelope,
LapChain competenceChainchain)
choices widgets
in the ShedChoicesEnvelope.
competencePath - Path to the competence whose choices are managed.
Ends with ../A:?/C:?.competenceChain - Chain to the @competence.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||