com.ebmwebsourcing.petalsbpm.business.domain.di.impl
Class BPMNShape

java.lang.Object
  extended by com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.impl.DiagramElement
      extended by com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.impl.Node
          extended by com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.impl.Shape
              extended by com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.impl.LabeledShape
                  extended by com.ebmwebsourcing.petalsbpm.business.domain.di.impl.BPMNShape
All Implemented Interfaces:
com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.diagramcommon.layout.IBounds, com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.extension.client.WithAttributeExtension, com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.extension.client.WithObjectExtension, com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IDiagramElement, com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.ILabeledShape, com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.INode, com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IShape, com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.HasModelManager, IBPMNShape, com.google.gwt.user.client.rpc.IsSerializable

public class BPMNShape
extends com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.impl.LabeledShape
implements IBPMNShape


Constructor Summary
BPMNShape()
           
 
Method Summary
 IBPMNShape getChoreographyActivityShape()
          Should only be used for Participant Bands.
 com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.HasModelManager getClone()
           
 com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.foundation.IBaseElementBean getModelElement()
           
 ParticipantBandKind getParticipantBandKind()
          Should only be used for Participant Bands.
 boolean isExpanded()
          Should be used only for SubProcess, AdHocSubProcess, Transaction, SubChoreographies , CallActivities and CallChoreographies.
 boolean isHorizontal()
          Should be used only for Pools and Lanes.
 boolean isMarkerVisible()
          Should be used only for Exclusive Gateway.
 boolean isMessageVisible()
          Should only be used for Participant Bands.
 void setChoreographyActivityShape(BPMNShape choreographyActivityShape)
           
 void setExpanded(boolean isExpanded)
           
 void setHorizontal(boolean isHorizontal)
           
 void setMarkerVisible(boolean isMarkerVisible)
           
 void setMessageVisible(boolean isMessageVisible)
           
 void setModelElement(com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.foundation.IBaseElementBean modelElement)
           
 void setParticipantBandKind(ParticipantBandKind participantBandKind)
           
 
Methods inherited from class com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.impl.LabeledShape
getOwnedLabels, setOwnedLabels
 
Methods inherited from class com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.impl.Shape
getBounds, getHeight, getWidth, getX, getY, setHeight, setWidth, setX, setY
 
Methods inherited from class com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.impl.DiagramElement
addAttributeExtension, addDiagramElement, addObjectExtension, copy, getAttributeExtension, getAttributeExtensions, getId, getObjectExtensions, getOwnedElements, getOwningDiagram, getOwningElement, getStyle, removeAttributeExtension, removeDiagramElement, removeObjectExtension, setAttributeExtensions, setModelElement, setObjectExtensions, setOwnedElements, setOwningDiagram, setOwningElement, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.ILabeledShape
getOwnedLabels
 
Methods inherited from interface com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IShape
getBounds
 
Methods inherited from interface com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IDiagramElement
addDiagramElement, getId, getOwnedElements, getOwningDiagram, getOwningElement, getStyle, removeDiagramElement, setModelElement
 
Methods inherited from interface com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.HasModelManager
copy
 
Methods inherited from interface com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.extension.client.WithAttributeExtension
addAttributeExtension, getAttributeExtension, getAttributeExtensions, removeAttributeExtension, setAttributeExtensions
 
Methods inherited from interface com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.extension.client.WithObjectExtension
addObjectExtension, getObjectExtensions, removeObjectExtension, setObjectExtensions
 

Constructor Detail

BPMNShape

public BPMNShape()
Method Detail

getModelElement

public com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.foundation.IBaseElementBean getModelElement()
Specified by:
getModelElement in interface com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IDiagramElement
Specified by:
getModelElement in interface IBPMNShape
Overrides:
getModelElement in class com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.impl.DiagramElement

setModelElement

public void setModelElement(com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.foundation.IBaseElementBean modelElement)

getParticipantBandKind

public ParticipantBandKind getParticipantBandKind()
Description copied from interface: IBPMNShape
Should only be used for Participant Bands. If this attribute is present, it means that the participant should be depicted as a Participant Band instead of as a Pool.

Specified by:
getParticipantBandKind in interface IBPMNShape
Returns:

setParticipantBandKind

public void setParticipantBandKind(ParticipantBandKind participantBandKind)

setExpanded

public void setExpanded(boolean isExpanded)

isHorizontal

public boolean isHorizontal()
Description copied from interface: IBPMNShape
Should be used only for Pools and Lanes. It determines if it should be depicted horizontally (true) or vertically (false).

Specified by:
isHorizontal in interface IBPMNShape
Returns:

setHorizontal

public void setHorizontal(boolean isHorizontal)

isMarkerVisible

public boolean isMarkerVisible()
Description copied from interface: IBPMNShape
Should be used only for Exclusive Gateway. It determines if the marker should be depicted on the shape (true) or not (false).

Specified by:
isMarkerVisible in interface IBPMNShape
Returns:

setMarkerVisible

public void setMarkerVisible(boolean isMarkerVisible)

isMessageVisible

public boolean isMessageVisible()
Description copied from interface: IBPMNShape
Should only be used for Participant Bands. It determines if an envelope decorator should be depicted linked to the Participant Band.

Specified by:
isMessageVisible in interface IBPMNShape
Returns:

setMessageVisible

public void setMessageVisible(boolean isMessageVisible)

getChoreographyActivityShape

public IBPMNShape getChoreographyActivityShape()
Description copied from interface: IBPMNShape
Should only be used for Participant Bands. It is REQUIRED for a BPMNShape depicting a Participant Band. This is REQUIRED in order to relate the Participant Band to the BPMNShape depicting the Choreography Activity that this Participant Band is related to.

Specified by:
getChoreographyActivityShape in interface IBPMNShape
Returns:

setChoreographyActivityShape

public void setChoreographyActivityShape(BPMNShape choreographyActivityShape)

isExpanded

public boolean isExpanded()
Description copied from interface: IBPMNShape
Should be used only for SubProcess, AdHocSubProcess, Transaction, SubChoreographies , CallActivities and CallChoreographies. It determines if it should be depicted expanded (true) or collapsed (false).

Specified by:
isExpanded in interface IBPMNShape
Returns:

getClone

public com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.HasModelManager getClone()
Specified by:
getClone in interface com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.HasModelManager
Overrides:
getClone in class com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.impl.DiagramElement


Copyright © 2010-2011 eBM WebSourcing. All Rights Reserved.