com.ebmwebsourcing.webdesigner.presentation.gwt.client.diagram.syntax
Class DiagramElementInstance

java.lang.Object
  extended by com.ebmwebsourcing.webdesigner.presentation.gwt.client.diagram.syntax.DiagramElementInstance

public class DiagramElementInstance
extends java.lang.Object


Constructor Summary
DiagramElementInstance(com.google.gwt.user.client.ui.Widget viewInstance, DrawingPanel drawingPanel, DiagramElementType elementType)
           
DiagramElementInstance(com.google.gwt.user.client.ui.Widget viewInstance, DrawingPanel drawingPanel, DiagramElementType elementType, DiagramModel model)
           
 
Method Summary
 void addChild(DiagramElementInstance instance)
           
 java.util.ArrayList<DiagramElementInstance> getChildren()
           
 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
 DrawingPanel getDrawingPanel()
           
 DiagramModel getElementModel()
           
 DiagramElementType getElementType()
           
 com.google.gwt.user.client.ui.Widget getViewInstance()
           
 void refreshViewInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.