|
||||||||||
| 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(TriggeredAction action,
ShedPresenter presenter,
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(ActionPattern actionPattern,
TriggeredAction referencingAction,
LapChain chain)
Create editor for action referencing action pattern. |
static org.netbeans.api.visual.action.InplaceEditorProvider |
createCompetenceEditor(Competence competence,
TriggeredAction referencingAction,
LapChain chain)
Create inplace editor for action referencing competence. |
static org.netbeans.api.visual.action.TextFieldInplaceEditor |
createDriveEditor(DriveElement drive)
Create editor that will edit the name of the @drive. |
static org.netbeans.api.visual.action.TextFieldInplaceEditor |
createChoiceEditor(CompetenceElement choice)
Create editor that will edit the name of the @choice. |
static org.netbeans.api.visual.action.InplaceEditorProvider |
createSenseEditorProvider(Sense sense,
ShedPresenter presenter,
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(DriveElement drive)
drive - Drive that will have its name changed.
public static org.netbeans.api.visual.action.TextFieldInplaceEditor createChoiceEditor(CompetenceElement choice)
choice - CompetenceElement that will have its name changed.
public static org.netbeans.api.visual.action.InplaceEditorProvider createActionEditorProvider(TriggeredAction action,
ShedPresenter presenter,
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(Sense sense,
ShedPresenter presenter,
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(ActionPattern actionPattern,
TriggeredAction referencingAction,
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(Competence competence,
TriggeredAction referencingAction,
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 | |||||||||