com.ebmwebsourcing.bpmneditor.collaboration.comet.client.editor
Class AbstractCollaborativeStandAloneBPMNEditor

java.lang.Object
  extended by com.ebmwebsourcing.bpmneditor.collaboration.comet.client.editor.AbstractCollaborativeStandAloneBPMNEditor
Direct Known Subclasses:
CometStandAloneBPMNEditor

public abstract class AbstractCollaborativeStandAloneBPMNEditor
extends java.lang.Object


Field Summary
protected  com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.BPMNEditor bpmneditor
           
protected  java.util.Map<java.lang.String,com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.renderer.DefinitionsSyntaxModel> definitions
          The models of the initial contents of the editor's drawing panel mapped by their ids.
protected  boolean isNewbie
          Boolean indicating that the gadget has just been created and has not been synchronized yet.
protected  com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.syntax.BPMN2Syntax syntax
           
protected static java.lang.String VOExampleName
           
 
Constructor Summary
AbstractCollaborativeStandAloneBPMNEditor()
           
 
Method Summary
 void addDefinitions(com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.renderer.DefinitionsSyntaxModel defs)
           
protected  void addDrawingPanelTabListener()
           
protected  void addWaveMenu()
          Adds a menu with a lock and unlock button that locks/unlocks the current drawingPanel
abstract  java.lang.String createUniqueId()
           
 void displayModel(com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.renderer.DefinitionsSyntaxModel defs)
           
 java.util.Collection<com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.renderer.DefinitionsSyntaxModel> getAllDefinitions()
           
 com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.BPMNEditor getBPMNEditor()
           
 com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.renderer.DefinitionsSyntaxModel getDefinitions(java.lang.String id)
           
abstract  java.lang.String getParticipant()
           
 void initDefs(java.lang.String id)
           
 boolean isNewbie()
           
abstract  void lock()
          Pushes the request of the user to lock the other clients.
abstract  void pushClosingDPId(java.lang.String defsId)
          Pushes the id of the model whose drawing panel has just been closed.
abstract  void pushCurrentDPId(java.lang.String defsId)
          Pushes the id of the currently observed model.
abstract  void pushDefs(java.lang.String id)
          Pushes the definitions whose id are "id" to the other participants This method is to be called when a new DrawingPanel is opened.
abstract  void pushModif(com.ebmwebsourcing.webdesigner.presentation.gwt.client.log.AbstractLogEntry entry)
          Pushes a modification operated by the user on the currently edited model.
abstract  void unlock()
          Pushes the request of the user to unlock the other clients.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isNewbie

protected boolean isNewbie
Boolean indicating that the gadget has just been created and has not been synchronized yet.


definitions

protected java.util.Map<java.lang.String,com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.renderer.DefinitionsSyntaxModel> definitions
The models of the initial contents of the editor's drawing panel mapped by their ids.


VOExampleName

protected static final java.lang.String VOExampleName
See Also:
Constant Field Values

bpmneditor

protected com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.BPMNEditor bpmneditor

syntax

protected com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.syntax.BPMN2Syntax syntax
Constructor Detail

AbstractCollaborativeStandAloneBPMNEditor

public AbstractCollaborativeStandAloneBPMNEditor()
Method Detail

getParticipant

public abstract java.lang.String getParticipant()
Returns:
The name/id of the participant viewing the gadget

pushDefs

public abstract void pushDefs(java.lang.String id)
Pushes the definitions whose id are "id" to the other participants This method is to be called when a new DrawingPanel is opened.

Parameters:
id -

pushModif

public abstract void pushModif(com.ebmwebsourcing.webdesigner.presentation.gwt.client.log.AbstractLogEntry entry)
Pushes a modification operated by the user on the currently edited model.

Parameters:
entry -

pushCurrentDPId

public abstract void pushCurrentDPId(java.lang.String defsId)
Pushes the id of the currently observed model. This method is to be called when a the user shifts from a drawing panel to another.

Parameters:
defsId -

pushClosingDPId

public abstract void pushClosingDPId(java.lang.String defsId)
Pushes the id of the model whose drawing panel has just been closed.

Parameters:
defsId -

lock

public abstract void lock()
Pushes the request of the user to lock the other clients.


unlock

public abstract void unlock()
Pushes the request of the user to unlock the other clients.


createUniqueId

public abstract java.lang.String createUniqueId()

displayModel

public void displayModel(com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.renderer.DefinitionsSyntaxModel defs)

addWaveMenu

protected void addWaveMenu()
Adds a menu with a lock and unlock button that locks/unlocks the current drawingPanel

Parameters:
bpmneditor -

addDrawingPanelTabListener

protected void addDrawingPanelTabListener()

initDefs

public void initDefs(java.lang.String id)

getDefinitions

public com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.renderer.DefinitionsSyntaxModel getDefinitions(java.lang.String id)

getAllDefinitions

public java.util.Collection<com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.renderer.DefinitionsSyntaxModel> getAllDefinitions()

addDefinitions

public void addDefinitions(com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.bpmn2.renderer.DefinitionsSyntaxModel defs)

getBPMNEditor

public com.ebmwebsourcing.bpmneditor.presentation.gwt.client.bpmneditor.BPMNEditor getBPMNEditor()

isNewbie

public boolean isNewbie()


Copyright © 2010 eBM WebSourcing. All Rights Reserved.