jBPM Console NG - Human Tasks Forms Client 6.2.0.CR4

org.jbpm.console.ng.ht.forms.client.display.displayers.process
Class AbstractStartProcessFormDisplayer

java.lang.Object
  extended by org.jbpm.console.ng.ht.forms.client.display.displayers.process.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  Constants constants
           
protected  com.google.gwt.user.client.ui.FormPanel container
           
protected  String deploymentId
           
protected  com.google.gwt.user.client.ui.FlowPanel footerButtons
           
protected  com.google.gwt.user.client.ui.FlowPanel 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
           
protected  FormContentResizeListener resizeListener
           
 
Constructor Summary
AbstractStartProcessFormDisplayer()
           
 
Method Summary
 void addOnCloseCallback(org.uberfire.mvp.Command callback)
           
 void addOnRefreshCallback(org.uberfire.mvp.Command callback)
           
 void addResizeFormContent(FormContentResizeListener resizeListener)
           
 void close()
           
 void doResize()
           
protected  void eventListener(String origin, String request)
           
 com.google.gwt.user.client.ui.Panel getContainer()
           
 com.google.gwt.user.client.ui.IsWidget getFooter()
           
 String getOpener()
           
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()
           
protected  void init()
           
 void init(FormDisplayerConfig<org.jbpm.console.ng.pr.model.ProcessDefinitionKey> config, org.uberfire.mvp.Command onClose, org.uberfire.mvp.Command onRefreshCommand, FormContentResizeListener resizeContentListener)
           
protected abstract  void initDisplayer()
           
 void startProcess(Map<String,Object> params)
           
 
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.display.process.api.StartProcessFormDisplayer
startProcessFromDisplayer
 
Methods inherited from interface org.jbpm.console.ng.ht.forms.display.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 com.google.gwt.user.client.ui.FormPanel container

formContainer

protected com.google.gwt.user.client.ui.FlowPanel formContainer

footerButtons

protected com.google.gwt.user.client.ui.FlowPanel footerButtons

formContent

protected String formContent

deploymentId

protected String deploymentId

processDefId

protected String processDefId

processName

protected String processName

opener

protected String opener

resizeListener

protected FormContentResizeListener resizeListener

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

@PostConstruct
protected void init()

init

public void init(FormDisplayerConfig<org.jbpm.console.ng.pr.model.ProcessDefinitionKey> config,
                 org.uberfire.mvp.Command onClose,
                 org.uberfire.mvp.Command onRefreshCommand,
                 FormContentResizeListener resizeContentListener)
Specified by:
init in interface GenericFormDisplayer<org.jbpm.console.ng.pr.model.ProcessDefinitionKey>

initDisplayer

protected abstract void initDisplayer()

doResize

public void doResize()

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.Panel getContainer()
Specified by:
getContainer in interface GenericFormDisplayer<org.jbpm.console.ng.pr.model.ProcessDefinitionKey>

getFooter

public com.google.gwt.user.client.ui.IsWidget getFooter()
Specified by:
getFooter 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>

addResizeFormContent

public void addResizeFormContent(FormContentResizeListener resizeListener)
Specified by:
addResizeFormContent in interface StartProcessFormDisplayer

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)

getOpener

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

jBPM Console NG - Human Tasks Forms Client 6.2.0.CR4

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