com.ebmwebsourcing.petalsbpm.bpmndiagram.process.activities
Class Activity

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.FlowElement
                                      extended by com.ebmwebsourcing.petalsbpm.bpmndiagram.common.ConnectableFlowElement
                                          extended by com.ebmwebsourcing.petalsbpm.bpmndiagram.process.activities.Activity
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.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
Direct Known Subclasses:
CallActivity, Task

public abstract class Activity
extends ConnectableFlowElement
implements com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.IHasDragProxyContextualMenu


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
Activity(ProcessPanel definitionPanel, java.lang.String id)
           
 
Method Summary
 void addContextualMenuHandler(com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.events.IDragProxyContextualMenuHandler handler)
           
 java.util.HashSet<java.lang.Class<? extends com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement>> getAcceptedTypes()
           
 java.util.HashSet<com.ebmwebsourcing.geasytools.diagrameditor.api.validation.IDiagramElementViewConformityRule> getConformityRules()
           
 com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElementDefaulHandlers getDefaultHandlers()
           
 java.util.LinkedHashSet<com.ebmwebsourcing.geasytools.geasyui.api.contextualmenu.IHasMenuDragProxy> getDragProxies()
           
 java.util.HashSet<com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementGraphicState> getStates()
           
 boolean hasAdHocMarker()
           
 void hasAdHocMarker(boolean b)
           
 boolean hasCompensationMarker()
           
 void hasCompensationMarker(boolean b)
           
 boolean hasLoopMarker()
           
 void hasLoopMarker(boolean b)
           
 boolean hasParallelMIMarker()
           
 void hasParallelMIMarker(boolean b)
           
 boolean hasSequentialMIMarker()
           
 void hasSequentialMIMarker(boolean b)
           
 boolean hasSubProcessMarker()
           
 void hasSubProcessMarker(boolean b)
           
protected  void init()
          On initialization main shape is automatically added to group
 void onDropAccepted(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropAcceptedEvent event)
           
 
Methods inherited from class com.ebmwebsourcing.petalsbpm.bpmndiagram.common.ConnectableFlowElement
addConnectableHandler, addIncommingConnector, addOutgoingConnector, getGraph, getIncommingConnectors, getMagnets, getOutgoingConnectors, onMove, refresh, refreshMagnets, removeFromParent, setRelativeX, setRelativeY
 
Methods inherited from class com.ebmwebsourcing.petalsbpm.bpmndiagram.common.FlowElement
getParentLane, setParentLane
 
Methods inherited from class com.ebmwebsourcing.petalsbpm.bpmndiagram.common.CoreBPMNElement
addBoundUpdateHandler, getAbsoluteLeft, getAbsoluteTop, getDefinitionPanel, getDiagramElement, getDraggedTypes, getEditorView, getFormTemplate, getGroup, getHeight, getId, getIntersectionPoints, getMainModel, getMainShape, getMainWidget, getRelativeX, getRelativeY, getWidth, hide, onAcceptedAfterDrop, onAcceptedBeforeDrop, onRefusedAfterDrop, onRefusedBeforeDrop, onStart, onStop, setEditorView, setFormTemplate, setHeight, setLabel, 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, getMenuDirection, 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.google.gwt.event.shared.HasHandlers
fireEvent
 
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, getName, getRelativeX, getRelativeY, getUIPanel, getWidth, setContainer, setHeight, 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.diagrameditor.api.graphic.IDiagramElementView
getEditorModel, getSyntaxModelBinder
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler
onDropRefused, onOut, onOver
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement
getHandlerManager, getMouseState, getUIPanel
 

Constructor Detail

Activity

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

getDefaultHandlers

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

init

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

Overrides:
init in class CoreBPMNElement

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

hasSubProcessMarker

public void hasSubProcessMarker(boolean b)

hasLoopMarker

public void hasLoopMarker(boolean b)

hasParallelMIMarker

public void hasParallelMIMarker(boolean b)

hasSequentialMIMarker

public void hasSequentialMIMarker(boolean b)

hasAdHocMarker

public void hasAdHocMarker(boolean b)

hasCompensationMarker

public void hasCompensationMarker(boolean b)

hasSubProcessMarker

public boolean hasSubProcessMarker()

hasLoopMarker

public boolean hasLoopMarker()

hasParallelMIMarker

public boolean hasParallelMIMarker()

hasSequentialMIMarker

public boolean hasSequentialMIMarker()

hasAdHocMarker

public boolean hasAdHocMarker()

hasCompensationMarker

public boolean hasCompensationMarker()

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

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

getConformityRules

public java.util.HashSet<com.ebmwebsourcing.geasytools.diagrameditor.api.validation.IDiagramElementViewConformityRule> getConformityRules()
Specified by:
getConformityRules 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

getStates

public java.util.HashSet<com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementGraphicState> getStates()
Specified by:
getStates in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementView
Overrides:
getStates in class CoreBPMNElement


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