com.ebmwebsourcing.petalsbpm.business.domain.di.api
Interface IBPMNShape

All Superinterfaces:
com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.HasModelManager, 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.google.gwt.user.client.rpc.IsSerializable, com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.extension.client.WithAttributeExtension, com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.extension.client.WithObjectExtension
All Known Implementing Classes:
BPMNShape

public interface IBPMNShape
extends com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.ILabeledShape

All BPMNShape elements are owned directly by a BPMNPlane (that is the root element in a BPMNDiagram), i.e., shapes are not nested within each other in the BPMN DI model although they may appear that way when depicted. The bounds of a BPMNShape are always relative to that plane's origin point and are REQUIRED to be positive coordinates. Note that the bounds’ x and y coordinates are the position of the upper left corner of the shape (relative to the upper left corner of the plane).

Author:
nfleury

Method Summary
 IBPMNShape getChoreographyActivityShape()
          Should only be used for Participant Bands.
 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.
 
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, getClone
 
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
 

Method Detail

getModelElement

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

isHorizontal

boolean isHorizontal()
Should be used only for Pools and Lanes. It determines if it should be depicted horizontally (true) or vertically (false).

Returns:

isExpanded

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

Returns:

isMarkerVisible

boolean isMarkerVisible()
Should be used only for Exclusive Gateway. It determines if the marker should be depicted on the shape (true) or not (false).

Returns:

getParticipantBandKind

ParticipantBandKind getParticipantBandKind()
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.

Returns:

isMessageVisible

boolean isMessageVisible()
Should only be used for Participant Bands. It determines if an envelope decorator should be depicted linked to the Participant Band.

Returns:

getChoreographyActivityShape

IBPMNShape getChoreographyActivityShape()
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.

Returns:


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