com.ebmwebsourcing.petalsbpm.bpmndiagram
Class ProcessPanel

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.UIPanel
                  extended by com.ebmwebsourcing.petalsbpm.bpmndiagram.ProcessPanel
All Implemented Interfaces:
com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView, com.ebmwebsourcing.geasytools.geasygraph.api.IGraph, com.ebmwebsourcing.geasytools.geasyui.api.core.IContainer, com.ebmwebsourcing.geasytools.geasyui.api.core.IPositionable, com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler, com.ebmwebsourcing.geasytools.geasyui.api.droppable.IDroppableElement, com.ebmwebsourcing.geasytools.geasyui.api.palette.IHasPalette, com.ebmwebsourcing.geasytools.geasyui.api.uipanel.IHasUIPanelResizeUIHandlers, com.ebmwebsourcing.geasytools.geasyui.api.uipanel.IUIPanel, com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler, com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasDoubleClickHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, 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.dom.client.HasScrollHandlers, 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.ui.IsWidget

public class ProcessPanel
extends com.ebmwebsourcing.geasytools.geasyui.impl.core.UIPanel
implements com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView, com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler

BPMN Process Panel: can be either descriptive or executable

Author:
nfleury

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.geasytools.geasyui.impl.core.UIPanel
handlerManager, mainPanel
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ProcessPanel(int width, int height, boolean isExecutable)
           
 
Method Summary
 void addHandler(com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.events.IDiagramViewHandler handler)
           
 void addUIElement(com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementView uiElement)
           
 java.util.HashSet<java.lang.Class<? extends com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement>> getAcceptedTypes()
           
 com.ebmwebsourcing.geasytools.geasysvg.core.impl.Canvas getCanvas()
           
 java.util.HashSet<com.ebmwebsourcing.geasytools.diagrameditor.api.validation.IDiagramViewConformityRule> getConformityRules()
           
 com.ebmwebsourcing.geasytools.geasyui.api.core.IContainerDefaultHandler getContainerDefaultHandler()
           
 java.util.HashSet<com.ebmwebsourcing.geasytools.diagrameditor.api.validation.IContextualNotification> getContextualNotifications()
           
 com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IDiagram getDiagram()
           
 com.ebmwebsourcing.geasytools.diagrameditor.api.modeleditor.IEditorModel getEditorModel()
           
 com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementGraphicFactory getElementFactory()
           
 com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.uibinder.AbstractUITemplate getFormTemplate()
           
 com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IMainModelElement getMainModel()
           
 java.lang.String getName()
           
 com.ebmwebsourcing.geasytools.geasyui.api.palette.IPalette getPalette()
           
 com.ebmwebsourcing.geasytools.geasyui.api.uipanel.IUIPanelResizeConfiguration getResizeConfiguration()
           
 com.ebmwebsourcing.geasytools.diagrameditor.api.syntax.IDiagramSyntaxModelBuilder getSyntaxModelBuilder()
           
 com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementView getUIElementById(java.lang.String id)
           
 boolean isExecutableProcess()
           
 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)
           
protected  void setBpmnelementFactory(BPMNElementFactory bpmnelementFactory)
           
 void setContextualNotification(int x, int y, com.ebmwebsourcing.geasytools.diagrameditor.api.validation.IContextualNotification notification)
           
 void setMainModel(com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IMainModelElement mainModel)
           
 
Methods inherited from class com.ebmwebsourcing.geasytools.geasyui.impl.core.UIPanel
addClickHandler, addContainerHandler, addDoubleClickHandler, addDropHandler, addKeyPressHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addNode, addScrollHandler, addUIElement, addUIPanelHandler, fireEvent, getAbsoluteX, getAbsoluteY, getBottomRegion, getBottomResizeHandler, getChildrenUIElements, getClientHeight, getClientWidth, getContainer, getDDManager, getDefaultHandlers, getDroppableDefaultHandlers, getHandlerManager, getHeight, getId, getLeftRegion, getLeftResizeHandler, getMainPanel, getMouseState, getNodes, getNorthWestPoint, getRelativeX, getRelativeY, getRightRegion, getRightResizeHandler, getScrollLeft, getScrollTop, getSelectedElements, getSelectionMarker, getSelector, getSouthEastPoint, getTopRegion, getTopResizeHandler, getUIElements, getUIPanel, getWidth, onLoad, refreshUIHandlers, removeAllChildren, removeAllElements, removeChildElement, removeElement, removeSelectedElements, removeSelectionMarker, removeSelector, setContainer, setRelativeX, setRelativeY, setSelectedElements, setSelectionMarker, setSelector, unSelectAllEments
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, 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, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.uipanel.IUIPanel
addUIElement, addUIPanelHandler, getAbsoluteX, getAbsoluteY, getDDManager, getDefaultHandlers, getHeight, getMouseState, getSelectedElements, getSelectionMarker, getSelector, getUIElements, getWidth, removeAllElements, removeElement, removeSelectedElements, removeSelectionMarker, removeSelector, setSelectedElements, setSelectionMarker, setSelector, unSelectAllEments
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.IDroppableElement
addDropHandler, getDroppableDefaultHandlers, getHandlerManager, getId, getNorthWestPoint, getSouthEastPoint, getUIPanel
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IPositionable
getAbsoluteLeft, getAbsoluteTop, getContainer, getRelativeX, getRelativeY, setContainer, setRelativeX, setRelativeY
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IContainer
addContainerHandler, getAbsoluteLeft, getAbsoluteTop, getChildrenUIElements, getClientHeight, getClientWidth, getId, getScrollLeft, getScrollTop, removeAllChildren, removeChildElement
 
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.google.gwt.event.dom.client.HasKeyPressHandlers
addKeyPressHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasScrollHandlers
addScrollHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasClickHandlers
addClickHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasDoubleClickHandlers
addDoubleClickHandler
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasygraph.api.IGraph
addNode, getNodes
 

Constructor Detail

ProcessPanel

public ProcessPanel(int width,
                    int height,
                    boolean isExecutable)
Method Detail

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

getCanvas

public com.ebmwebsourcing.geasytools.geasysvg.core.impl.Canvas getCanvas()

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

isExecutableProcess

public boolean isExecutableProcess()

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

getDiagram

public com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IDiagram getDiagram()
Specified by:
getDiagram in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView

getEditorModel

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

getContainerDefaultHandler

public com.ebmwebsourcing.geasytools.geasyui.api.core.IContainerDefaultHandler getContainerDefaultHandler()
Specified by:
getContainerDefaultHandler in interface com.ebmwebsourcing.geasytools.geasyui.api.core.IContainer

getElementFactory

public com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementGraphicFactory getElementFactory()
Specified by:
getElementFactory in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView
Specified by:
getElementFactory in interface com.ebmwebsourcing.geasytools.geasyui.api.core.IContainer

addUIElement

public void addUIElement(com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementView uiElement)
Specified by:
addUIElement in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView

getUIElementById

public com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramElementView getUIElementById(java.lang.String id)
Specified by:
getUIElementById in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView
Specified by:
getUIElementById in interface com.ebmwebsourcing.geasytools.geasyui.api.uipanel.IUIPanel
Overrides:
getUIElementById in class com.ebmwebsourcing.geasytools.geasyui.impl.core.UIPanel

getResizeConfiguration

public com.ebmwebsourcing.geasytools.geasyui.api.uipanel.IUIPanelResizeConfiguration getResizeConfiguration()
Specified by:
getResizeConfiguration in interface com.ebmwebsourcing.geasytools.geasyui.api.uipanel.IHasUIPanelResizeUIHandlers

getName

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

getPalette

public com.ebmwebsourcing.geasytools.geasyui.api.palette.IPalette getPalette()
Specified by:
getPalette in interface com.ebmwebsourcing.geasytools.geasyui.api.palette.IHasPalette

getConformityRules

public java.util.HashSet<com.ebmwebsourcing.geasytools.diagrameditor.api.validation.IDiagramViewConformityRule> getConformityRules()
Specified by:
getConformityRules in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView

getSyntaxModelBuilder

public com.ebmwebsourcing.geasytools.diagrameditor.api.syntax.IDiagramSyntaxModelBuilder getSyntaxModelBuilder()
Specified by:
getSyntaxModelBuilder in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView

addHandler

public void addHandler(com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.events.IDiagramViewHandler handler)
Specified by:
addHandler in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView

getFormTemplate

public com.ebmwebsourcing.geasytools.modeleditor.modelmanager.client.uibinder.AbstractUITemplate getFormTemplate()
Specified by:
getFormTemplate in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView

getMainModel

public com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IMainModelElement getMainModel()
Specified by:
getMainModel in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView

setMainModel

public void setMainModel(com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.interchange.api.IMainModelElement mainModel)
Specified by:
setMainModel in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView

setBpmnelementFactory

protected void setBpmnelementFactory(BPMNElementFactory bpmnelementFactory)

getContextualNotifications

public java.util.HashSet<com.ebmwebsourcing.geasytools.diagrameditor.api.validation.IContextualNotification> getContextualNotifications()
Specified by:
getContextualNotifications in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView

setContextualNotification

public void setContextualNotification(int x,
                                      int y,
                                      com.ebmwebsourcing.geasytools.diagrameditor.api.validation.IContextualNotification notification)
Specified by:
setContextualNotification in interface com.ebmwebsourcing.geasytools.diagrameditor.api.graphic.IDiagramView


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