jBPM Console NG - Human Tasks Forms Client 6.2.0.CR1

org.jbpm.console.ng.ht.forms.client.editors.taskform.displayers
Class AbstractStartProcessFormDisplayer

java.lang.Object
  extended by org.jbpm.console.ng.ht.forms.client.editors.taskform.displayers.AbstractStartProcessFormDisplayer
All Implemented Interfaces:
GenericFormDisplayer<org.jbpm.console.ng.pr.model.ProcessDefinitionKey>, StartProcessFormDisplayer
Direct Known Subclasses:
FormModellerStartProcessDisplayerImpl, FTLStartProcessDisplayerImpl, PlaceManagerStartProcessDisplayerImpl

public abstract class AbstractStartProcessFormDisplayer
extends Object
implements StartProcessFormDisplayer


Field Summary
static String ACTION_START_PROCESS
           
protected  com.google.gwt.user.client.ui.FlowPanel buttonsContainer
           
protected  Constants constants
           
protected  com.google.gwt.user.client.ui.FlowPanel container
           
protected  String deploymentId
           
protected  com.google.gwt.user.client.ui.VerticalPanel formContainer
           
protected  String formContent
           
protected  JSNIHelper jsniHelper
           
protected  javax.enterprise.event.Event<org.jbpm.console.ng.pr.model.events.NewProcessInstanceEvent> newProcessInstanceEvent
           
protected  String opener
           
protected  String processDefId
           
protected  String processName
           
 
Constructor Summary
AbstractStartProcessFormDisplayer()
           
 
Method Summary
 void addOnCloseCallback(org.uberfire.mvp.Command callback)
           
 void addOnRefreshCallback(org.uberfire.mvp.Command callback)
           
 void close()
           
protected  void eventListener(String origin, String request)
           
 com.google.gwt.user.client.ui.FlowPanel getContainer()
           
protected  org.jboss.errai.common.client.api.RemoteCallback<Long> getStartProcessRemoteCallback()
           
protected  org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> getUnexpectedErrorCallback()
           
 void init(org.jbpm.console.ng.pr.model.ProcessDefinitionKey key, String formContent, String openerUrl)
           
protected abstract  void initDisplayer()
           
 void startProcess(Map<String,Object> params)
           
protected abstract  void startProcessFromDisplayer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbpm.console.ng.ht.forms.api.GenericFormDisplayer
getPriority, supportsContent
 

Field Detail

ACTION_START_PROCESS

public static final String ACTION_START_PROCESS
See Also:
Constant Field Values

constants

protected Constants constants

container

protected final com.google.gwt.user.client.ui.FlowPanel container

buttonsContainer

protected final com.google.gwt.user.client.ui.FlowPanel buttonsContainer

formContainer

protected final com.google.gwt.user.client.ui.VerticalPanel formContainer

formContent

protected String formContent

deploymentId

protected String deploymentId

processDefId

protected String processDefId

processName

protected String processName

opener

protected String opener

newProcessInstanceEvent

@Inject
protected javax.enterprise.event.Event<org.jbpm.console.ng.pr.model.events.NewProcessInstanceEvent> newProcessInstanceEvent

jsniHelper

@Inject
protected JSNIHelper jsniHelper
Constructor Detail

AbstractStartProcessFormDisplayer

public AbstractStartProcessFormDisplayer()
Method Detail

init

public void init(org.jbpm.console.ng.pr.model.ProcessDefinitionKey key,
                 String formContent,
                 String openerUrl)
Specified by:
init in interface GenericFormDisplayer<org.jbpm.console.ng.pr.model.ProcessDefinitionKey>

startProcessFromDisplayer

protected abstract void startProcessFromDisplayer()

initDisplayer

protected abstract void initDisplayer()

getUnexpectedErrorCallback

protected org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> getUnexpectedErrorCallback()

getContainer

public com.google.gwt.user.client.ui.FlowPanel getContainer()
Specified by:
getContainer in interface GenericFormDisplayer<org.jbpm.console.ng.pr.model.ProcessDefinitionKey>

startProcess

public void startProcess(Map<String,Object> params)
Specified by:
startProcess in interface StartProcessFormDisplayer

getStartProcessRemoteCallback

protected org.jboss.errai.common.client.api.RemoteCallback<Long> getStartProcessRemoteCallback()

addOnCloseCallback

public void addOnCloseCallback(org.uberfire.mvp.Command callback)
Specified by:
addOnCloseCallback in interface GenericFormDisplayer<org.jbpm.console.ng.pr.model.ProcessDefinitionKey>

addOnRefreshCallback

public void addOnRefreshCallback(org.uberfire.mvp.Command callback)
Specified by:
addOnRefreshCallback in interface GenericFormDisplayer<org.jbpm.console.ng.pr.model.ProcessDefinitionKey>

close

public void close()
Specified by:
close in interface GenericFormDisplayer<org.jbpm.console.ng.pr.model.ProcessDefinitionKey>

eventListener

protected void eventListener(String origin,
                             String request)

jBPM Console NG - Human Tasks Forms Client 6.2.0.CR1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.