ConForM.CoopnTools.CoKer.Visual
Interface GraphicalVisualToolEditor

All Superinterfaces:
GraphicalVisualEditor

public interface GraphicalVisualToolEditor
extends GraphicalVisualEditor

Graphical Visual Editor for a tool. Such an editor is able to perform editions of a graphical visual.


Fields inherited from interface ConForM.CoopnTools.CoKer.Visual.GraphicalVisualEditor
BOTTOM, ELEMENT, ES, INFO, LABEL, LEFT, MIDDLE, RIGHT, SGE, SIE, TOP
 
Method Summary
 void addAndSelectEditable(GraphicalVisualElement editable, GraphicalVisualRenderableGroup group)
          Add and prepare the selction of an editable element to a particular renderable group.
 void addEditable(GraphicalVisualElement editable, GraphicalVisualRenderableGroup group)
          Add an editable element to a particular renderable group.
 void changeAndSelectEditable(GraphicalVisualElement editable, GraphicalVisualRenderableGroup group)
          Notify the change and prepare the selction of an editable element to a particular renderable group.
 void changeEditable(GraphicalVisualElement editable, GraphicalVisualRenderableGroup group)
          Notify the change of an editable element to a particular renderable group.
 void emptyEdition()
          Add an empty edition.
 void newEditablesEdition()
          Add an edition for taking into account a modification of the editables.
 void prepareSelection(GraphicalVisualElement editable)
          Prepare the selection of an element.
 void removeEditable(GraphicalVisualElement editable)
          Remove an editable element from its renderable group.
 void setEditables(GraphicalVisualElement[] editables)
          Set the edited elements.
 
Methods inherited from interface ConForM.CoopnTools.CoKer.Visual.GraphicalVisualEditor
addIntermediaryPoint, addIntermediaryPoint, canRedo, canUndo, copy, deselectAll, editables, export, export, getHorizontalStep, getRotationStep, getVerticalStep, getZoom, hasPrimarySelection, helpers, horizontalAlignment, incrementalLayout, invertInfoSelection, invertLabelSelection, invertSelection, isAngularGridActivated, isGridActivated, layout, modified, move, move, moveInfo, moveInfo, moveIntermediaryPoint, moveLabel, moveLabel, open, open, openPossible, print, print, quickHorizontalAlignment, quickVerticalAlignment, quit, redo, removeIntermediaryPoint, removeIntermediaryPoint, reOpen, reOpenPossible, resetAbstraction, resetAbstraction, resize, resize, resizeToFit, rotate, rotate, save, saveAs, saveAs, saveAsPossible, savePossible, scrollToShow, select, select, selectAll, selected, selectInfo, selectInternal, selectLabel, selectRectangle, setAbstraction, setAbstraction, setAndShowExclusiveInfoText, setAndShowInfoText, setAndShowInfoText, setAngularGridActivated, setColor, setColor, setGridActivated, setHorizontalStep, setInfoText, setRotationStep, setType, setVerticalStep, setVisible, setVisible, setVisibleInfo, setVisibleInfo, setVisibleInfoExclusive, setVisibleInternal, setVisibleLabel, setVisibleLabel, setVisibleLabelAndInfo, setVisibleLabelExclusive, setZoom, showVisual, title, undo, verticalAlignment, zoom, zoomIn, zoomOut, zoomToFit
 

Method Detail

emptyEdition

public void emptyEdition()
Add an empty edition. Used by the tool to synchronized itself with the visual.

newEditablesEdition

public void newEditablesEdition()
Add an edition for taking into account a modification of the editables. Used by the tool to synchronized itself with the visual. In addition, IFF elements were added with a preparation for selection, the selection is changed to contains exactly those elements.

prepareSelection

public void prepareSelection(GraphicalVisualElement editable)
Prepare the selection of an element. This is not per itself an edition; the added element is prepared for a future selection; it will be selected at the moment of the call to the method newEditableEdition()

setEditables

public void setEditables(GraphicalVisualElement[] editables)
Set the edited elements. This is not per itself an edition; it is the responsability of the caller to manage the set of aditables according to undo and redo in the system. In this case, after a call to this method, the caller should call newEditableEdition() to synchronize the editions.

addEditable

public void addEditable(GraphicalVisualElement editable,
                        GraphicalVisualRenderableGroup group)
Add an editable element to a particular renderable group. This is not per itself an edition; it is the responsability of the caller to manage the set of aditables according to undo and redo in the system. In this case, after a call to this method, the caller should call newEditableEdition() to synchronize the editions.
Parameters:
editable - the editable to add; cannot be null
group - the group (i.e. the picture or one of the encompassed container) in which the editable must be added; if null or if the group is not found, the editable is added to the picture.

addAndSelectEditable

public void addAndSelectEditable(GraphicalVisualElement editable,
                                 GraphicalVisualRenderableGroup group)
Add and prepare the selction of an editable element to a particular renderable group. This method works like the addEditable() method, except that the added element is prepared for a future selection; it will be selected at the moment of the call to the method newEditableEdition(). This is not per itself an edition; it is the responsability of the caller to manage the set of aditables according to undo and redo in the system. In this case, after a call to this method, the caller should call newEditableEdition() to synchronize the editions.
Parameters:
editable - the editable to add; cannot be null
group - the group (i.e. the picture or one of the encompassed container) in which the editable must be added; if null or if the group is not found, the editable is added to the picture.

removeEditable

public void removeEditable(GraphicalVisualElement editable)
Remove an editable element from its renderable group. This is not per itself an edition; it is the responsability of the caller to manage the set of aditables according to undo and redo in the system. In this case, after a call to this method, the caller should call newEditableEdition() to synchronize the editions.
Parameters:
editable - the editable to add; cannot be null

changeEditable

public void changeEditable(GraphicalVisualElement editable,
                           GraphicalVisualRenderableGroup group)
Notify the change of an editable element to a particular renderable group. This is not per itself an edition; it is the responsability of the caller to manage the set of aditables according to undo and redo in the system. In this case, after a call to this method, the caller should call newEditableEdition() to synchronize the editions.
Parameters:
editable - the editable to add; cannot be null
group - the group (i.e. the picture or one of the encompassed container) in which the editable must be added; if null or if the group is not found, the editable is added to the picture.

changeAndSelectEditable

public void changeAndSelectEditable(GraphicalVisualElement editable,
                                    GraphicalVisualRenderableGroup group)
Notify the change and prepare the selction of an editable element to a particular renderable group. This method works like the changeEditable() method, except that the added element is prepared for a future selection; it will be selected at the moment of the call to the method newEditableEdition(). This is not per itself an edition; it is the responsability of the caller to manage the set of aditables according to undo and redo in the system. In this case, after a call to this method, the caller should call newEditableEdition() to synchronize the editions.
Parameters:
editable - the editable to add; cannot be null
group - the group (i.e. the picture or one of the encompassed container) in which the editable must be added; if null or if the group is not found, the editable is added to the picture.