cz.cuni.pogamut.shed.widget.editor
Class APEditorProvider

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

public final class APEditorProvider
extends Object
implements org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.APEditor>

This class is responsible for handling the editor component for ActionPattern and for taking the data from the user visble editor component and updating correct structures.


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
APEditorProvider(ActionPattern actionPattern, TriggeredAction referencingAction)
           
 
Method Summary
 cz.cuni.pogamut.shed.widget.editor.APEditor 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.APEditor c)
           
 Rectangle getInitialEditorComponentBounds(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController controller, org.netbeans.api.visual.widget.Widget widget, cz.cuni.pogamut.shed.widget.editor.APEditor editor, Rectangle viewBounds)
           
 void notifyClosing(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController editorController, org.netbeans.api.visual.widget.Widget widget, cz.cuni.pogamut.shed.widget.editor.APEditor editor, boolean commit)
           
 void notifyOpened(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController controller, org.netbeans.api.visual.widget.Widget widget, cz.cuni.pogamut.shed.widget.editor.APEditor editor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APEditorProvider

public APEditorProvider(ActionPattern actionPattern,
                        TriggeredAction referencingAction)
Method Detail

notifyOpened

public void notifyOpened(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController controller,
                         org.netbeans.api.visual.widget.Widget widget,
                         cz.cuni.pogamut.shed.widget.editor.APEditor editor)
Specified by:
notifyOpened in interface org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.APEditor>

notifyClosing

public void notifyClosing(org.netbeans.api.visual.action.InplaceEditorProvider.EditorController editorController,
                          org.netbeans.api.visual.widget.Widget widget,
                          cz.cuni.pogamut.shed.widget.editor.APEditor editor,
                          boolean commit)
Specified by:
notifyClosing in interface org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.APEditor>

createEditorComponent

public cz.cuni.pogamut.shed.widget.editor.APEditor 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.APEditor>

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.APEditor editor,
                                                 Rectangle viewBounds)
Specified by:
getInitialEditorComponentBounds in interface org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.APEditor>

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.APEditor c)
Specified by:
getExpansionDirections in interface org.netbeans.api.visual.action.InplaceEditorProvider<cz.cuni.pogamut.shed.widget.editor.APEditor>


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