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

java.lang.Objectcz.cuni.pogamut.shed.widget.editor.ShedInplaceEditorFactory
public class ShedInplaceEditorFactory
Factroy for creating various inplace editors.
To use these editors in a widget, you must add them to the action chain of a
widget using ActionFactory.createInplaceEditorAction(org.netbeans.api.visual.action.TextFieldInplaceEditor).
| Constructor Summary | |
|---|---|
ShedInplaceEditorFactory()
|
|
| Method Summary | |
|---|---|
static org.netbeans.api.visual.action.InplaceEditorProvider |
createActionEditorProvider(cz.cuni.amis.pogamut.sposh.elements.TriggeredAction action,
ShedPresenter presenter,
cz.cuni.amis.pogamut.sposh.elements.LapChain chain)
Create inplace editor provider that can edit action, its argumenta passed by the action downwards. |
static org.netbeans.api.visual.action.InplaceEditorProvider |
createActionPatternEditor(cz.cuni.amis.pogamut.sposh.elements.ActionPattern actionPattern,
cz.cuni.amis.pogamut.sposh.elements.TriggeredAction referencingAction,
cz.cuni.amis.pogamut.sposh.elements.LapChain chain)
Create editor for action referencing action pattern. |
static org.netbeans.api.visual.action.InplaceEditorProvider |
createCompetenceEditor(cz.cuni.amis.pogamut.sposh.elements.Competence competence,
cz.cuni.amis.pogamut.sposh.elements.TriggeredAction referencingAction,
cz.cuni.amis.pogamut.sposh.elements.LapChain chain)
Create inplace editor for action referencing competence. |
static org.netbeans.api.visual.action.TextFieldInplaceEditor |
createDriveEditor(cz.cuni.amis.pogamut.sposh.elements.DriveElement drive)
Create editor that will edit the name of the @drive. |
static org.netbeans.api.visual.action.TextFieldInplaceEditor |
createChoiceEditor(cz.cuni.amis.pogamut.sposh.elements.CompetenceElement choice)
Create editor that will edit the name of the @choice. |
static org.netbeans.api.visual.action.InplaceEditorProvider |
createSenseEditorProvider(cz.cuni.amis.pogamut.sposh.elements.Sense sense,
ShedPresenter presenter,
cz.cuni.amis.pogamut.sposh.elements.LapChain chain)
Create inplace editor provider that can edit sense, its argumenta passed by the sense downwards, predicate and value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShedInplaceEditorFactory()
| Method Detail |
|---|
public static org.netbeans.api.visual.action.TextFieldInplaceEditor createDriveEditor(cz.cuni.amis.pogamut.sposh.elements.DriveElement drive)
drive - Drive that will have its name changed.
public static org.netbeans.api.visual.action.TextFieldInplaceEditor createChoiceEditor(cz.cuni.amis.pogamut.sposh.elements.CompetenceElement choice)
choice - CompetenceElement that will have its name changed.
public static org.netbeans.api.visual.action.InplaceEditorProvider createActionEditorProvider(cz.cuni.amis.pogamut.sposh.elements.TriggeredAction action,
ShedPresenter presenter,
cz.cuni.amis.pogamut.sposh.elements.LapChain chain)
action - Action that will be edited.presenter - Used for getting list of parameters required by thechain - Variable chain from root to the action, incl.
public static org.netbeans.api.visual.action.InplaceEditorProvider createSenseEditorProvider(cz.cuni.amis.pogamut.sposh.elements.Sense sense,
ShedPresenter presenter,
cz.cuni.amis.pogamut.sposh.elements.LapChain chain)
sense - Sense that will be edited.presenter - Used for getting list of parameters required by thechain - Chain to the sense, inclusive.
public static org.netbeans.api.visual.action.InplaceEditorProvider createActionPatternEditor(cz.cuni.amis.pogamut.sposh.elements.ActionPattern actionPattern,
cz.cuni.amis.pogamut.sposh.elements.TriggeredAction referencingAction,
cz.cuni.amis.pogamut.sposh.elements.LapChain chain)
actionPattern - Action pattern that is referenced by the action.referencingAction - action that is referencing the AP.chain - Chain for action pattern, inclusive.
public static org.netbeans.api.visual.action.InplaceEditorProvider createCompetenceEditor(cz.cuni.amis.pogamut.sposh.elements.Competence competence,
cz.cuni.amis.pogamut.sposh.elements.TriggeredAction referencingAction,
cz.cuni.amis.pogamut.sposh.elements.LapChain chain)
competence - Competence that is referenced by the action.referencingAction - action that is referencing the competence.chain - Chain to competence, inclusive.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||