com.ebmwebsourcing.petalsbpm.bpmndiagram.collaboration
Class CollapsedPool

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.CollapsedPool
All Implemented Interfaces:
com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementView, com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectable, com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement, com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.IHasContextualMenu, com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.IHasDragProxyContextualMenu, 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.resizable.events.IResizeHandler, com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizable, com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElement, com.ebmwebsourcing.geasytools.geasyui.api.selectable.ISelectable, com.ebmwebsourcing.geasytools.geasyui.impl.draggable.DragHandler, com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler, com.ebmwebsourcing.geasytools.geasyui.impl.resizable.events.ResizeHandler, 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 CollapsedPool
extends Swimlane
implements com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.IHasDragProxyContextualMenu, com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectable, com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizable, com.ebmwebsourcing.geasytools.geasyui.impl.resizable.events.ResizeHandler


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
CollapsedPool(ProcessPanel definitionPanel, java.lang.String id)
           
 
Method Summary
 void addConnectableHandler(com.ebmwebsourcing.geasytools.geasyui.api.connectable.events.IConnectableHandler connectableHandler)
           
 void addContextualMenuHandler(com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.events.IDragProxyContextualMenuHandler handler)
           
 void addIncommingConnector(com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnector connector)
           
 void addOutgoingConnector(com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnector connector)
           
 void addResizeHandler(com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeHandler handler)
           
 java.util.HashSet<java.lang.Class<? extends com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement>> getAcceptedTypes()
           
 com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElementDefaulHandlers getDefaultHandlers()
           
 java.util.LinkedHashSet<com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.IHasMenuDragProxy> getDragProxies()
           
 com.ebmwebsourcing.geasytools.diagrameditor.api.modeleditor.IEditorModel getEditorModel()
           
 com.ebmwebsourcing.geasytools.geasygraph.api.IGraph getGraph()
           
 java.util.HashSet<com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnector> getIncommingConnectors()
           
 java.util.HashSet<com.ebmwebsourcing.geasytools.geasyui.api.connectable.IMagnet> getMagnets()
           
 com.ebmwebsourcing.geasytools.geasysvg.core.impl.SVGElement getMainShape()
          Main shape represents the boundary of the current artifact
 com.ebmwebsourcing.geasytools.geasyui.api.core.Direction getMenuDirection()
           
 java.lang.String getName()
           
 com.ebmwebsourcing.geasytools.geasyui.api.core.IPoint getNorthEastPoint()
           
 java.util.HashSet<com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnector> getOutgoingConnectors()
           
 com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElementDefaultHandlers getResizableDefaultHandlers()
           
 com.ebmwebsourcing.geasytools.geasyui.api.core.IPoint getSouthWestPoint()
           
 com.ebmwebsourcing.geasytools.diagrameditor.api.syntax.IDiagramElementSyntaxModelBinder getSyntaxModelBinder()
           
protected  void init()
          On initialization main shape is automatically added to group
 boolean isResizableOnNorthEast()
           
 boolean isResizableOnNorthWest()
           
 boolean isResizableOnSouthEast()
           
 boolean isResizableOnSouthWest()
           
 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 onResize(com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeEvent event)
           
 void onStart(com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeStartEvent event)
           
 void onStop(com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeStopEvent event)
           
 void refresh()
           
 void refreshMagnets()
           
 void removeFromParent()
           
 
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, setEditorView, setFormTemplate, setHeight, setLabel, setRelativeX, setRelativeY, setWidth, 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.contextualmenu.IHasContextualMenu
getAbsoluteLeft, getAbsoluteTop, getHeight, getWidth
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseOverHandlers
addMouseOverHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseOutHandlers
addMouseOutHandler
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.selectable.ISelectable
addSelectionHandler, getHandlerManager, getIntersectionPoints, getSelectableDefaultHandlers
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement
getContainer, getHeight, getId, getMouseState, getRelativeX, getRelativeY, getUIPanel, getWidth, setContainer, setHeight, setRelativeX, setRelativeY, setUIPanel, setWidth
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IGraphicElement
hide, show, toBack, toFront
 
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.HasClickHandlers
addClickHandler
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement
getHeight, getUIPanel, getWidth
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.IDroppableElement
addDropHandler, getDDManager, getDroppableDefaultHandlers, getHandlerManager, getId, getNorthWestPoint, getSouthEastPoint
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IPositionable
getAbsoluteLeft, getAbsoluteTop
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElement
getHandlerManager, getHeight, getNorthWestPoint, getSouthEastPoint, getUIPanel, getWidth, setHeight, setWidth
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IContainer
getAbsoluteLeft, getAbsoluteTop, getId
 
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.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement
getHandlerManager, getMouseState, getUIPanel
 

Constructor Detail

CollapsedPool

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

init

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

Overrides:
init in class CoreBPMNElement

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:

refresh

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

getName

public java.lang.String getName()
Specified by:
getName in interface com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement

addConnectableHandler

public void addConnectableHandler(com.ebmwebsourcing.geasytools.geasyui.api.connectable.events.IConnectableHandler connectableHandler)
Specified by:
addConnectableHandler in interface com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement

addIncommingConnector

public void addIncommingConnector(com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnector connector)
Specified by:
addIncommingConnector in interface com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement

addOutgoingConnector

public void addOutgoingConnector(com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnector connector)
Specified by:
addOutgoingConnector in interface com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement

getDefaultHandlers

public com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElementDefaulHandlers getDefaultHandlers()
Specified by:
getDefaultHandlers in interface com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement

getGraph

public com.ebmwebsourcing.geasytools.geasygraph.api.IGraph getGraph()
Specified by:
getGraph in interface com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement

getIncommingConnectors

public java.util.HashSet<com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnector> getIncommingConnectors()
Specified by:
getIncommingConnectors in interface com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement

getMagnets

public java.util.HashSet<com.ebmwebsourcing.geasytools.geasyui.api.connectable.IMagnet> getMagnets()
Specified by:
getMagnets in interface com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement

getOutgoingConnectors

public java.util.HashSet<com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnector> getOutgoingConnectors()
Specified by:
getOutgoingConnectors in interface com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement

refreshMagnets

public void refreshMagnets()
Specified by:
refreshMagnets in interface com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement

getAcceptedTypes

public java.util.HashSet<java.lang.Class<? extends com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement>> getAcceptedTypes()
Specified by:
getAcceptedTypes in interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.IDroppableElement

getEditorModel

public com.ebmwebsourcing.geasytools.diagrameditor.api.modeleditor.IEditorModel getEditorModel()
Specified by:
getEditorModel in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementView

getSyntaxModelBinder

public com.ebmwebsourcing.geasytools.diagrameditor.api.syntax.IDiagramElementSyntaxModelBinder getSyntaxModelBinder()
Specified by:
getSyntaxModelBinder in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementView

onDropAccepted

public void onDropAccepted(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropAcceptedEvent event)
Specified by:
onDropAccepted in interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler
Specified by:
onDropAccepted in interface com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler

onDropRefused

public void onDropRefused(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropRefusedEvent event)
Specified by:
onDropRefused in interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler
Specified by:
onDropRefused in interface com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler

onOut

public void onOut(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IOutEvent event)
Specified by:
onOut in interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler
Specified by:
onOut in interface com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler

onOver

public void onOver(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IOverEvent event)
Specified by:
onOver in interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler
Specified by:
onOver in interface com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler

removeFromParent

public void removeFromParent()
Overrides:
removeFromParent in class CoreBPMNElement

addResizeHandler

public void addResizeHandler(com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeHandler handler)
Specified by:
addResizeHandler in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElement

getNorthEastPoint

public com.ebmwebsourcing.geasytools.geasyui.api.core.IPoint getNorthEastPoint()
Specified by:
getNorthEastPoint in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElement

getResizableDefaultHandlers

public com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElementDefaultHandlers getResizableDefaultHandlers()
Specified by:
getResizableDefaultHandlers in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElement

getSouthWestPoint

public com.ebmwebsourcing.geasytools.geasyui.api.core.IPoint getSouthWestPoint()
Specified by:
getSouthWestPoint in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElement

isResizableOnNorthEast

public boolean isResizableOnNorthEast()
Specified by:
isResizableOnNorthEast in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElement

isResizableOnNorthWest

public boolean isResizableOnNorthWest()
Specified by:
isResizableOnNorthWest in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElement

isResizableOnSouthEast

public boolean isResizableOnSouthEast()
Specified by:
isResizableOnSouthEast in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElement

isResizableOnSouthWest

public boolean isResizableOnSouthWest()
Specified by:
isResizableOnSouthWest in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.IResizableElement

onResize

public void onResize(com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeEvent event)
Specified by:
onResize in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeHandler

onStart

public void onStart(com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeStartEvent event)
Specified by:
onStart in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeHandler

onStop

public void onStop(com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeStopEvent event)
Specified by:
onStop in interface com.ebmwebsourcing.geasytools.geasyui.api.resizable.events.IResizeHandler

addContextualMenuHandler

public void addContextualMenuHandler(com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.events.IDragProxyContextualMenuHandler handler)
Specified by:
addContextualMenuHandler in interface com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.IHasDragProxyContextualMenu

getDragProxies

public java.util.LinkedHashSet<com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.IHasMenuDragProxy> getDragProxies()
Specified by:
getDragProxies in interface com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.IHasDragProxyContextualMenu

getMenuDirection

public com.ebmwebsourcing.geasytools.geasyui.api.core.Direction getMenuDirection()
Specified by:
getMenuDirection in interface com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.IHasContextualMenu


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