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

java.lang.Objectcz.cuni.pogamut.shed.presenter.ShedPresenterFactory
public class ShedPresenterFactory
Factory that is creating various presenters.
| Constructor Summary | |
|---|---|
ShedPresenterFactory(ShedScene scene,
PoshPlan plan,
ShedPresenter presenter)
|
|
| 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 chain)
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 chain)
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 chain)
Create presenter for trigger, it is responsible for keepeing track of added/moved/removed senses. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShedPresenterFactory(ShedScene scene,
PoshPlan plan,
ShedPresenter presenter)
| Method Detail |
|---|
public IPresenter createActionPresenter(LapPath actionPath,
TriggeredAction action,
ShedVariableWidget actionWidget,
LapChain actionChain)
IPresenterFactory
createActionPresenter in interface IPresenterFactory
public IPresenter createExpandedActionPresenter(TriggeredAction action,
ExpandedActionEnvelope envelope,
LapChain chain)
createExpandedActionPresenter in interface IPresenterFactorychain - Chain up to the branch before @action. The @action is not included.
public IPresenter createSensePresenter(LapPath sensePath,
Sense sense,
ShedSenseWidget senseWidget,
LapChain senseChain)
IPresenterFactory
createSensePresenter in interface IPresenterFactory
public <TRIGGER_PARENT extends PoshElement> IPresenter createTriggerPresenter(TRIGGER_PARENT parent,
Trigger<TRIGGER_PARENT> trigger,
ShedTriggerEnvelope triggerEnvelope,
LapChain chain)
IPresenterFactory
createTriggerPresenter in interface IPresenterFactorychain - Chain of the parent.
public IPresenter createDriveCollectionPresenter(LapPath driveCollectionPath,
DriveCollection driveCollection)
createDriveCollectionPresenter in interface IPresenterFactory
public IPresenter createActionPatternPresenter(LapPath actionPatternPath,
TriggeredAction referencingAction,
ActionPattern actionPattern,
ShedVariableWidget actionPatternWidget,
LapChain chain)
IPresenterFactory
createActionPatternPresenter in interface IPresenterFactoryactionPatternPath - Path to the action pattern, path ends with
../A:?/AP:?
public IPresenter createCompetencePresenter(LapPath competencePath,
TriggeredAction referencingAction,
Competence competence,
ShedVariableWidget competenceWidget,
LapChain chain)
IPresenterFactory
createCompetencePresenter in interface IPresenterFactorycompetencePath - Path to the competence, path ends with
../A:?/C:?
public IPresenter createChoicePresenter(LapPath choicePath,
CompetenceElement choice,
ShedVariableWidget choiceWidget)
IPresenterFactory
createChoicePresenter in interface IPresenterFactorychoicePath - Path to the choice, it will end with
../A:?/C:?/CE:?
public IPresenter createDrivePresenter(LapPath drivePath,
DriveElement drive,
ShedVariableWidget widget)
IPresenterFactory
createDrivePresenter in interface IPresenterFactorydrivePath - Path to drive, ../DE:?
public IPresenter createActionsPresenter(LapPath actionPatternPath,
ActionPattern actionPattern,
ShedActionsEnvelope actionsEnvelope,
LapChain chain)
IPresenterFactoryShedActionsEnvelope for ActionPattern.
createActionsPresenter in interface IPresenterFactoryactionPatternPath - Path to the action pattern, ends with
../AP:?.
public IPresenter createChoicesPresenter(LapPath competencePath,
Competence competence,
ShedChoicesEnvelope choicesEnvelope,
LapChain chain)
IPresenterFactorychoices widgets
in the ShedChoicesEnvelope.
createChoicesPresenter in interface IPresenterFactorycompetencePath - Path to the competence whose choices are managed.
Ends with ../A:?/C:?.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||