public abstract class AbstractStartProcessFormDisplayer extends Object implements StartProcessFormDisplayer
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_START_PROCESS |
protected Constants |
constants |
protected com.google.gwt.user.client.ui.FormPanel |
container |
protected org.gwtbootstrap3.client.ui.TextBox |
correlationKey |
protected String |
deploymentId |
protected org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter |
errorPopup |
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<NewProcessInstanceEvent> |
newProcessInstanceEvent |
protected String |
opener |
protected Long |
parentProcessInstanceId |
protected String |
processDefId |
protected String |
processName |
protected org.jboss.errai.common.client.api.Caller<ProcessService> |
processService |
protected FormContentResizeListener |
resizeListener |
protected String |
serverTemplateId |
| Constructor and Description |
|---|
AbstractStartProcessFormDisplayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOnCloseCallback(org.uberfire.mvp.Command callback) |
void |
addOnRefreshCallback(org.uberfire.mvp.Command callback) |
void |
addResizeFormContent(FormContentResizeListener resizeListener) |
protected void |
clearStatus() |
void |
close() |
void |
doResize() |
protected void |
eventListener(String origin,
String request) |
com.google.gwt.user.client.ui.Panel |
getContainer() |
protected String |
getCorrelationKey() |
com.google.gwt.user.client.ui.IsWidget |
getFooter() |
String |
getOpener() |
Long |
getParentProcessInstanceId() |
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<ProcessDefinitionKey> config,
org.uberfire.mvp.Command onClose,
org.uberfire.mvp.Command onRefreshCommand,
FormContentResizeListener resizeContentListener) |
protected abstract void |
initDisplayer() |
void |
refresh() |
void |
setParentProcessInstanceId(Long parentProcessInstanceId) |
void |
setProcessService(org.jboss.errai.common.client.api.Caller<ProcessService> processService) |
void |
startProcess(Map<String,Object> params) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartProcessFromDisplayergetPriority, supportsContentpublic static final String ACTION_START_PROCESS
protected Constants constants
protected com.google.gwt.user.client.ui.FormPanel container
protected com.google.gwt.user.client.ui.FlowPanel formContainer
protected com.google.gwt.user.client.ui.FlowPanel footerButtons
protected org.gwtbootstrap3.client.ui.TextBox correlationKey
protected String formContent
protected String serverTemplateId
protected String deploymentId
protected String processDefId
protected String processName
protected String opener
protected FormContentResizeListener resizeListener
protected Long parentProcessInstanceId
@Inject protected org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter errorPopup
@Inject protected javax.enterprise.event.Event<NewProcessInstanceEvent> newProcessInstanceEvent
protected org.jboss.errai.common.client.api.Caller<ProcessService> processService
@Inject protected JSNIHelper jsniHelper
@PostConstruct protected void init()
public void init(FormDisplayerConfig<ProcessDefinitionKey> config, org.uberfire.mvp.Command onClose, org.uberfire.mvp.Command onRefreshCommand, FormContentResizeListener resizeContentListener)
init in interface GenericFormDisplayer<ProcessDefinitionKey>protected abstract void initDisplayer()
public void doResize()
protected org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> getUnexpectedErrorCallback()
public com.google.gwt.user.client.ui.Panel getContainer()
getContainer in interface GenericFormDisplayer<ProcessDefinitionKey>public com.google.gwt.user.client.ui.IsWidget getFooter()
getFooter in interface GenericFormDisplayer<ProcessDefinitionKey>public void startProcess(Map<String,Object> params)
startProcess in interface StartProcessFormDisplayerprotected org.jboss.errai.common.client.api.RemoteCallback<Long> getStartProcessRemoteCallback()
public void addOnCloseCallback(org.uberfire.mvp.Command callback)
addOnCloseCallback in interface GenericFormDisplayer<ProcessDefinitionKey>public void addOnRefreshCallback(org.uberfire.mvp.Command callback)
addOnRefreshCallback in interface GenericFormDisplayer<ProcessDefinitionKey>public void refresh()
public void addResizeFormContent(FormContentResizeListener resizeListener)
addResizeFormContent in interface StartProcessFormDisplayerpublic void close()
close in interface GenericFormDisplayer<ProcessDefinitionKey>protected void clearStatus()
public String getOpener()
getOpener in interface GenericFormDisplayer<ProcessDefinitionKey>protected String getCorrelationKey()
public Long getParentProcessInstanceId()
public void setParentProcessInstanceId(Long parentProcessInstanceId)
@Inject public void setProcessService(org.jboss.errai.common.client.api.Caller<ProcessService> processService)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.