com.ebmwebsourcing.petalsbpm.bpmndiagram.collaboration
Class Lane

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by com.ebmwebsourcing.geasytools.geasyui.impl.core.UIElement
                  extended by com.ebmwebsourcing.geasytools.geasyui.impl.selectable.Selectable
                      extended by com.ebmwebsourcing.geasytools.geasyui.impl.draggable.Draggable
                          extended by com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DroppableDraggable
                              extended by com.ebmwebsourcing.petalsbpm.bpmndiagram.common.CoreBPMNElement
                                  extended by com.ebmwebsourcing.petalsbpm.bpmndiagram.common.CoreContainer
                                      extended by com.ebmwebsourcing.petalsbpm.bpmndiagram.collaboration.Swimlane
                                          extended by com.ebmwebsourcing.petalsbpm.bpmndiagram.collaboration.Lane
All Implemented Interfaces:
com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementView, com.ebmwebsourcing.geasytools.geasyui.api.core.IContainer, com.ebmwebsourcing.geasytools.geasyui.api.core.IGraphicElement, com.ebmwebsourcing.geasytools.geasyui.api.core.IHasBoundsUpdateHandler, com.ebmwebsourcing.geasytools.geasyui.api.core.IPositionable, com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement, com.ebmwebsourcing.geasytools.geasyui.api.draggable.events.IDragHandler, com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggable, com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement, com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler, com.ebmwebsourcing.geasytools.geasyui.api.droppable.IDroppable, com.ebmwebsourcing.geasytools.geasyui.api.droppable.IDroppableElement, com.ebmwebsourcing.geasytools.geasyui.api.selectable.ISelectable, com.ebmwebsourcing.geasytools.geasyui.impl.draggable.DragHandler, com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler, IBPMNElement, com.ebmwebsourcing.webeditor.api.domain.project.IProjectInstanceContentElement, com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.rpc.IsSerializable, com.google.gwt.user.client.ui.IsWidget

public class Lane
extends Swimlane


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.ebmwebsourcing.petalsbpm.bpmndiagram.common.CoreBPMNElement
editorModel, label
 
Fields inherited from class com.ebmwebsourcing.geasytools.geasyui.impl.core.UIElement
handlerManager
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
Lane(ProcessPanel definitionPanel, java.lang.String id)
           
 
Method Summary
 void addFlowElement(FlowElement flowElement)
           
 void addLane(Lane lane)
           
 java.util.HashSet<java.lang.Class<? extends com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement>> getAcceptedTypes()
           
 com.ebmwebsourcing.geasytools.diagrameditor.api.modeleditor.IEditorModel getEditorModel()
           
 java.util.LinkedHashMap<java.lang.String,com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement> getFlowElements()
           
 java.util.LinkedHashMap<java.lang.String,com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement> getLanes()
           
 com.ebmwebsourcing.geasytools.geasysvg.core.impl.SVGElement getMainShape()
          Main shape represents the boundary of the current artifact
 java.lang.String getName()
           
 Lane getParentLane()
           
 Pool getParentPool()
           
 com.ebmwebsourcing.geasytools.diagrameditor.api.syntax.IDiagramElementSyntaxModelBinder getSyntaxModelBinder()
           
protected  void init()
          On initialization main shape is automatically added to group
 void onDropAccepted(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropAcceptedEvent event)
           
 void onDropRefused(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropRefusedEvent event)
           
 void onOut(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IOutEvent event)
           
 void onOver(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IOverEvent event)
           
 void refresh()
           
 void setHeight(float height)
           
 void setParentLane(Lane parentLane)
           
 void setParentPool(Pool parentPool)
           
 void setWidth(float width)
           
 
Methods inherited from class com.ebmwebsourcing.petalsbpm.bpmndiagram.collaboration.Swimlane
getConformityRules
 
Methods inherited from class com.ebmwebsourcing.petalsbpm.bpmndiagram.common.CoreContainer
addContainerHandler, addUIElement, getChildrenUIElements, getClientHeight, getClientWidth, getContainerDefaultHandler, getElementFactory, getScrollLeft, getScrollTop, removeAllChildren, removeChildElement
 
Methods inherited from class com.ebmwebsourcing.petalsbpm.bpmndiagram.common.CoreBPMNElement
addBoundUpdateHandler, getAbsoluteLeft, getAbsoluteTop, getDefinitionPanel, getDiagramElement, getDraggedTypes, getEditorView, getFormTemplate, getGroup, getHeight, getId, getIntersectionPoints, getMainModel, getMainWidget, getRelativeX, getRelativeY, getStates, getWidth, hide, onAcceptedAfterDrop, onAcceptedBeforeDrop, onMove, onRefusedAfterDrop, onRefusedBeforeDrop, onStart, onStop, removeFromParent, setEditorView, setFormTemplate, setLabel, setRelativeX, setRelativeY, show, toBack, toFront
 
Methods inherited from class com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DroppableDraggable
addDropHandler, getDDManager, getDroppableDefaultHandlers, getNorthWestPoint, getSouthEastPoint
 
Methods inherited from class com.ebmwebsourcing.geasytools.geasyui.impl.draggable.Draggable
addDoubleClickHandler, addDragHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseWheelHandler, getDraggableElementDefaultHandlers
 
Methods inherited from class com.ebmwebsourcing.geasytools.geasyui.impl.selectable.Selectable
addClickHandler, addMouseDownHandler, addMouseUpHandler, addSelectionHandler, getSelectableDefaultHandlers
 
Methods inherited from class com.ebmwebsourcing.geasytools.geasyui.impl.core.UIElement
equals, fireEvent, getContainer, getHandlerManager, getMouseState, getUIPanel, hashCode, onAttach, setContainer, setUIPanel
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IContainer
getAbsoluteLeft, getAbsoluteTop, getId
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseDownHandlers
addMouseDownHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseUpHandlers
addMouseUpHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseOutHandlers
addMouseOutHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseOverHandlers
addMouseOverHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseMoveHandlers
addMouseMoveHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseWheelHandlers
addMouseWheelHandler
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement
getContainer, getMouseState, getUIPanel, setContainer, setUIPanel
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.IDroppableElement
getHandlerManager, getUIPanel
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.selectable.ISelectable
addSelectionHandler, getHandlerManager, getSelectableDefaultHandlers
 
Methods inherited from interface com.google.gwt.event.dom.client.HasClickHandlers
addClickHandler
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement
getHandlerManager, getMouseState, getUIPanel
 

Constructor Detail

Lane

public Lane(ProcessPanel definitionPanel,
            java.lang.String id)
Method Detail

getName

public java.lang.String getName()

setWidth

public void setWidth(float width)
Specified by:
setWidth in interface com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement
Overrides:
setWidth in class CoreBPMNElement

setHeight

public void setHeight(float height)
Specified by:
setHeight in interface com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement
Overrides:
setHeight in class CoreBPMNElement

init

protected void init()
Description copied from class: CoreBPMNElement
On initialization main shape is automatically added to group

Overrides:
init in class CoreBPMNElement

getFlowElements

public java.util.LinkedHashMap<java.lang.String,com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement> getFlowElements()

addLane

public void addLane(Lane lane)

addFlowElement

public void addFlowElement(FlowElement flowElement)

getLanes

public java.util.LinkedHashMap<java.lang.String,com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement> getLanes()

getMainShape

public com.ebmwebsourcing.geasytools.geasysvg.core.impl.SVGElement getMainShape()
Description copied from class: CoreBPMNElement
Main shape represents the boundary of the current artifact

Specified by:
getMainShape in class CoreBPMNElement
Returns:

getAcceptedTypes

public java.util.HashSet<java.lang.Class<? extends com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement>> getAcceptedTypes()

onDropAccepted

public void onDropAccepted(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropAcceptedEvent event)

onDropRefused

public void onDropRefused(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropRefusedEvent event)

onOut

public void onOut(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IOutEvent event)

onOver

public void onOver(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IOverEvent event)

getEditorModel

public com.ebmwebsourcing.geasytools.diagrameditor.api.modeleditor.IEditorModel getEditorModel()

refresh

public void refresh()
Specified by:
refresh in interface com.ebmwebsourcing.geasytools.geasyui.api.core.IGraphicElement
Specified by:
refresh in class CoreBPMNElement

setParentPool

public void setParentPool(Pool parentPool)

getParentPool

public Pool getParentPool()

setParentLane

public void setParentLane(Lane parentLane)

getParentLane

public Lane getParentLane()

getSyntaxModelBinder

public com.ebmwebsourcing.geasytools.diagrameditor.api.syntax.IDiagramElementSyntaxModelBinder getSyntaxModelBinder()


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