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

java.lang.Objectcz.cuni.pogamut.shed.presenter.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.TextFieldInplaceEditor |
createActionEditor(TriggeredAction action)
Create editor that will edit the name of the @action. |
static org.netbeans.api.visual.action.InplaceEditorProvider |
createActionPatternEditor(ActionPattern actionPattern,
TriggeredAction referencingAction)
Create editor for action referencing action pattern. |
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 |
createCompetenceEditor(Competence competence,
TriggeredAction referencingAction)
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 |
createSenseEditor(Sense sense)
Create editor that will edit the @sense, its name, predicate and compared 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 createSenseEditor(Sense sense)
sense - Sense that will have its name changed.
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 createActionEditor(TriggeredAction action)
action - Action 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 createActionPatternEditor(ActionPattern actionPattern,
TriggeredAction referencingAction)
actionPattern - Action pattern that is referenced by the action.referencingAction - action that is referencing the AP.
public static org.netbeans.api.visual.action.InplaceEditorProvider createCompetenceEditor(Competence competence,
TriggeredAction referencingAction)
competence - Competence that is referenced by the action.referencingAction - action that is referencing the competence.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||