com.ebmwebsourcing.webdesigner.presentation.gwt.client.diagram.syntax
Class DiagramElementInstance
java.lang.Object
com.ebmwebsourcing.webdesigner.presentation.gwt.client.diagram.syntax.DiagramElementInstance
public class DiagramElementInstance
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiagramElementInstance
public DiagramElementInstance(com.google.gwt.user.client.ui.Widget viewInstance,
DrawingPanel drawingPanel,
DiagramElementType elementType)
DiagramElementInstance
public DiagramElementInstance(com.google.gwt.user.client.ui.Widget viewInstance,
DrawingPanel drawingPanel,
DiagramElementType elementType,
DiagramModel model)
getClone
public DiagramElementInstance getClone()
- Cloning an element consists of creating a new element
based on the type of the instance to clone and to copy
its model to the new cloned element
refreshViewInstance
public void refreshViewInstance()
addChild
public void addChild(DiagramElementInstance instance)
getChildren
public java.util.ArrayList<DiagramElementInstance> getChildren()
getViewInstance
public com.google.gwt.user.client.ui.Widget getViewInstance()
getDrawingPanel
public DrawingPanel getDrawingPanel()
getElementType
public DiagramElementType getElementType()
getElementModel
public DiagramModel getElementModel()
Copyright © 2010 eBM WebSourcing. All Rights Reserved.