cz.cuni.pogamut.shed.widget.editor
Class NodeEditorProvider<NODE extends INamedElement & IParametrizedElement>

Package class diagram package NodeEditorProvider
java.lang.Object
  extended by cz.cuni.pogamut.shed.widget.editor.NodeEditorProvider<NODE>
All Implemented Interfaces:
org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.ParametrizedNodeEditor>

public final class NodeEditorProvider<NODE extends INamedElement & IParametrizedElement>
extends Object

Editor provider for nodes with name and params. The component that creates the actual visible editor for user and sets data structures according to the values set in the editor.

Author:
Honza

Nested Class Summary
 
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
 
Constructor Summary
NodeEditorProvider(NODE node, TriggeredAction referencingAction, LapChain chain)
           
 
Method Summary
 cz.cuni.pogamut.shed.widget.editor.ParametrizedNodeEditor 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, EDITOR c)
           
 Rectangle getInitialEditorComponentBounds(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController controller, org.netbeans.api.visual.widget.Widget widget, EDITOR 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.ParametrizedNodeEditor editor, boolean commit)
           
 void notifyOpened(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController ec, org.netbeans.api.visual.widget.Widget widget, EDITOR c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeEditorProvider

public NodeEditorProvider(NODE node,
                          TriggeredAction referencingAction,
                          LapChain chain)
Method Detail

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.ParametrizedNodeEditor editor,
                          boolean commit)

createEditorComponent

public cz.cuni.pogamut.shed.widget.editor.ParametrizedNodeEditor createEditorComponent(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController controller,
                                                                                       org.netbeans.api.visual.widget.Widget widget)

notifyOpened

public final void notifyOpened(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController ec,
                               org.netbeans.api.visual.widget.Widget widget,
                               EDITOR c)
Specified by:
notifyOpened in interface org.netbeans.api.visual.action.InplaceEditorProvider<EDITOR extends JComponent>

getInitialEditorComponentBounds

public final Rectangle getInitialEditorComponentBounds(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController controller,
                                                       org.netbeans.api.visual.widget.Widget widget,
                                                       EDITOR editor,
                                                       Rectangle viewBounds)
Specified by:
getInitialEditorComponentBounds in interface org.netbeans.api.visual.action.InplaceEditorProvider<EDITOR extends JComponent>

getExpansionDirections

public final EnumSet<org.netbeans.api.visual.action.InplaceEditorProvider.ExpansionDirection> getExpansionDirections(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController ec,
                                                                                                                     org.netbeans.api.visual.widget.Widget widget,
                                                                                                                     EDITOR c)
Specified by:
getExpansionDirections in interface org.netbeans.api.visual.action.InplaceEditorProvider<EDITOR extends JComponent>


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.