biouml.model
Interface SemanticController
- All Known Implementing Classes:
- DefaultSemanticController
- public interface SemanticController
ERROR_CAN_NOT_CLONE_NODE
public static final java.lang.String ERROR_CAN_NOT_CLONE_NODE
- See Also:
- Constant Field Values
ERROR_NODE_IS_DUPLICATED
public static final java.lang.String ERROR_NODE_IS_DUPLICATED
- See Also:
- Constant Field Values
canAccept
public boolean canAccept(Compartment compartment,
java.lang.Class c)
canAccept
public boolean canAccept(Compartment compartment,
DiagramElement de)
move
public java.awt.Dimension move(Node node,
Compartment parent,
java.awt.Dimension offset)
throws java.lang.Exception
- Moves the specified node to the specified position.
If neccessary compartment can be changed.
- Parameters:
node - the diagram nodeoffset - distance for which node should be moved relative
its initial location.
- Throws:
java.lang.Exception
remove
public boolean remove(DiagramElement de)
throws java.lang.Exception
- Removes the diagram element and all related edges.
- Throws:
java.lang.Exception
isResizable
public boolean isResizable(DiagramElement diagramElement)
createInstance
public DiagramElement createInstance(Compartment compartment,
java.lang.Class type,
java.awt.Point point,
ViewEditorPane viewEditor)
Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.