cz.cuni.pogamut.shed.widget.editor
Class CEditorProvider
java.lang.Object
cz.cuni.pogamut.shed.widget.editor.CEditorProvider
- All Implemented Interfaces:
- org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.CEditor>
public final class CEditorProvider
- extends Object
- implements org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.CEditor>
Editor provider for Competence. The component that creates the actual
visible editor for user and sets data structures according to the values set
in the editor.
TODO: Merge common base with APEditorProvider.
- Author:
- Honza
| Nested classes/interfaces inherited from interface org.netbeans.api.visual.action.InplaceEditorProvider |
org.netbeans.api.visual.action.InplaceEditorProvider.EditorController, org.netbeans.api.visual.action.InplaceEditorProvider.EditorInvocationType, org.netbeans.api.visual.action.InplaceEditorProvider.ExpansionDirection, org.netbeans.api.visual.action.InplaceEditorProvider.TypedEditorController |
|
Method Summary |
cz.cuni.pogamut.shed.widget.editor.CEditor |
createEditorComponent(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController controller,
org.netbeans.api.visual.widget.Widget widget)
|
EnumSet<org.netbeans.api.visual.action.InplaceEditorProvider.ExpansionDirection> |
getExpansionDirections(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController ec,
org.netbeans.api.visual.widget.Widget widget,
cz.cuni.pogamut.shed.widget.editor.CEditor c)
|
Rectangle |
getInitialEditorComponentBounds(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController controller,
org.netbeans.api.visual.widget.Widget widget,
cz.cuni.pogamut.shed.widget.editor.CEditor editor,
Rectangle viewBounds)
|
void |
notifyClosing(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController ec,
org.netbeans.api.visual.widget.Widget widget,
cz.cuni.pogamut.shed.widget.editor.CEditor editor,
boolean commit)
|
void |
notifyOpened(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController ec,
org.netbeans.api.visual.widget.Widget widget,
cz.cuni.pogamut.shed.widget.editor.CEditor c)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CEditorProvider
public CEditorProvider(Competence competence,
TriggeredAction referencingAction)
notifyOpened
public void notifyOpened(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController ec,
org.netbeans.api.visual.widget.Widget widget,
cz.cuni.pogamut.shed.widget.editor.CEditor c)
- Specified by:
notifyOpened in interface org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.CEditor>
notifyClosing
public void notifyClosing(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController ec,
org.netbeans.api.visual.widget.Widget widget,
cz.cuni.pogamut.shed.widget.editor.CEditor editor,
boolean commit)
- Specified by:
notifyClosing in interface org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.CEditor>
createEditorComponent
public cz.cuni.pogamut.shed.widget.editor.CEditor createEditorComponent(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController controller,
org.netbeans.api.visual.widget.Widget widget)
- Specified by:
createEditorComponent in interface org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.CEditor>
getInitialEditorComponentBounds
public Rectangle getInitialEditorComponentBounds(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController controller,
org.netbeans.api.visual.widget.Widget widget,
cz.cuni.pogamut.shed.widget.editor.CEditor editor,
Rectangle viewBounds)
- Specified by:
getInitialEditorComponentBounds in interface org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.CEditor>
getExpansionDirections
public EnumSet<org.netbeans.api.visual.action.InplaceEditorProvider.ExpansionDirection> getExpansionDirections(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController ec,
org.netbeans.api.visual.widget.Widget widget,
cz.cuni.pogamut.shed.widget.editor.CEditor c)
- Specified by:
getExpansionDirections in interface org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.CEditor>
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.