| HEADER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
This class is used to provide all neccessary changes and validations in diagram model.
| Constructor Summary | |
DiagramEditorHelper(Diagram diagram) | |
| Method Summary | |
View | add(Object obj, Point location)Should provides necessary changes in view and model if the view can be resized. |
boolean | addEdit(UndoableEdit ue) |
boolean | canAccept(CompositeView composite, View view) |
void | completeTransaction() |
Object | createObject(Class clazz, Point pt) |
Action[] | getActions() |
boolean | isResizable(View view) |
static boolean | moveNode(Node newNode, Node oldNode) |
Dimension | moveView(View view, Dimension offset)Should provides necessary changes in view and model if the view can be moved on the specified offset. |
void | register(ViewEditorPane viewEditor) |
static void | removeMovedNode(Node node) |
boolean | removeView(View view)Should provides necessary changes in view and model if the view can removed. |
Dimension | resizeView(View view, Dimension size)Should provides necessary changes in view and model if the view can be resized. |
void | startTransaction(TransactionEvent te) |
| Constructor Detail |
public DiagramEditorHelper(Diagram diagram)
| Method Detail |
public View add(Object obj, Point location)
public boolean addEdit(UndoableEdit ue)
public boolean canAccept(CompositeView composite, View view)
public void completeTransaction()
public Object createObject(Class clazz, Point pt)
public Action[] getActions()
public boolean isResizable(View view)
public static boolean moveNode(Node newNode, Node oldNode)
throws java.lang.Exception
public Dimension moveView(View view, Dimension offset)
public void register(ViewEditorPane viewEditor)
public static void removeMovedNode(Node node)
throws java.lang.Exception
public boolean removeView(View view)
public Dimension resizeView(View view, Dimension size)
public void startTransaction(TransactionEvent te)
| Association Links |
to Class biouml.model.SemanticController
to Class ru.biosoft.graphics.editor.ViewEditorPane
to Class biouml.editor.DiagramListener
to Class org.apache.log4j.Category
| FOOTER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||