Class QuickNewProcessInstancePopup
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.ComplexPanel
-
- org.gwtbootstrap3.client.ui.base.ComplexWidget
-
- org.gwtbootstrap3.client.ui.html.Div
-
- org.gwtbootstrap3.client.ui.Modal
-
- org.uberfire.ext.widgets.common.client.common.popups.BaseModal
-
- org.jbpm.workbench.forms.client.display.process.QuickNewProcessInstancePopup
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IndexedPanel
,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,Iterable<com.google.gwt.user.client.ui.Widget>
,org.gwtbootstrap3.client.ui.base.HasId
,org.gwtbootstrap3.client.ui.base.HasInlineStyle
,org.gwtbootstrap3.client.ui.base.HasPull
,org.gwtbootstrap3.client.ui.base.HasResponsiveness
,org.gwtbootstrap3.client.ui.IsClosable
,FormDisplayerView
@Dependent public class QuickNewProcessInstancePopup extends org.uberfire.ext.widgets.common.client.common.popups.BaseModal implements FormDisplayerView
-
-
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 Modifier and Type Field Description com.google.gwt.user.client.ui.FlowPanel
basicForm
com.google.gwt.user.client.ui.FlowPanel
body
org.gwtbootstrap3.client.ui.HelpBlock
errorMessages
org.gwtbootstrap3.client.ui.FormGroup
errorMessagesGroup
static String
FIELD_ID_PROCESSNAME
org.gwtbootstrap3.client.ui.FormGroup
processDefinitionsControlGroup
org.gwtbootstrap3.client.ui.HelpBlock
processDefinitionsHelpLabel
org.gwtbootstrap3.extras.select.client.ui.Select
processDefinitionsListBox
com.google.gwt.user.client.ui.FlowPanel
processForm
protected StartProcessFormDisplayProviderImpl
startProcessDisplayProvider
-
Constructor Summary
Constructors Constructor Description QuickNewProcessInstancePopup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closePopup()
protected void
createNewProcessInstance()
void
display(GenericFormDisplayer displayer)
void
displayErrorMessage(String header, String errorMessage)
void
displayNotification(String text)
GenericFormDisplayer
getCurrentDisplayer()
org.uberfire.mvp.Command
getOnCloseCommand()
protected void
init()
protected void
loadFormValues(String serverTemplateId)
protected void
setFlowPanelBody(com.google.gwt.user.client.ui.FlowPanel body)
void
setOnCloseCommand(org.uberfire.mvp.Command onCloseCommand)
void
setProcessRuntimeDataService(org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.pr.service.ProcessRuntimeDataService> processRuntimeDataService)
void
show(Long parentProcessInstanceId)
void
show(String serverTemplateId)
protected boolean
validateForm()
-
Methods inherited from class org.uberfire.ext.widgets.common.client.common.popups.BaseModal
getEnterDomHandler, handleDefaultAction, handleDefaultAction, setBody, setFocus, show
-
Methods inherited from class org.gwtbootstrap3.client.ui.Modal
add, addHiddenHandler, addHideHandler, addShowHandler, addShownHandler, hide, isClosable, onHidden, onHide, onLoad, onShow, onShown, onUnload, setClosable, setDataBackdrop, setDataKeyboard, setFade, setHideOtherModals, setRemoveOnHide, setSize, setTitle, setWidth, toggle
-
Methods inherited from class org.gwtbootstrap3.client.ui.base.ComplexWidget
getId, getPull, insert, insert, remove, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, setVisibleOn
-
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
FIELD_ID_PROCESSNAME
public static final String FIELD_ID_PROCESSNAME
- See Also:
- Constant Field Values
-
processForm
@UiField public com.google.gwt.user.client.ui.FlowPanel processForm
-
basicForm
@UiField public com.google.gwt.user.client.ui.FlowPanel basicForm
-
errorMessages
@UiField public org.gwtbootstrap3.client.ui.HelpBlock errorMessages
-
errorMessagesGroup
@UiField public org.gwtbootstrap3.client.ui.FormGroup errorMessagesGroup
-
processDefinitionsControlGroup
@UiField public org.gwtbootstrap3.client.ui.FormGroup processDefinitionsControlGroup
-
processDefinitionsListBox
@UiField public org.gwtbootstrap3.extras.select.client.ui.Select processDefinitionsListBox
-
processDefinitionsHelpLabel
@UiField public org.gwtbootstrap3.client.ui.HelpBlock processDefinitionsHelpLabel
-
body
@UiField public com.google.gwt.user.client.ui.FlowPanel body
-
startProcessDisplayProvider
@Inject protected StartProcessFormDisplayProviderImpl startProcessDisplayProvider
-
-
Method Detail
-
show
public void show(Long parentProcessInstanceId)
-
show
public void show(String serverTemplateId)
-
loadFormValues
protected void loadFormValues(String serverTemplateId)
-
validateForm
protected boolean validateForm()
-
displayNotification
public void displayNotification(String text)
-
createNewProcessInstance
protected void createNewProcessInstance()
-
init
protected void init()
-
display
public void display(GenericFormDisplayer displayer)
- Specified by:
display
in interfaceFormDisplayerView
-
closePopup
public void closePopup()
-
displayErrorMessage
public void displayErrorMessage(String header, String errorMessage)
- Specified by:
displayErrorMessage
in interfaceFormDisplayerView
-
getOnCloseCommand
public org.uberfire.mvp.Command getOnCloseCommand()
- Specified by:
getOnCloseCommand
in interfaceFormDisplayerView
-
setOnCloseCommand
public void setOnCloseCommand(org.uberfire.mvp.Command onCloseCommand)
- Specified by:
setOnCloseCommand
in interfaceFormDisplayerView
-
getCurrentDisplayer
public GenericFormDisplayer getCurrentDisplayer()
- Specified by:
getCurrentDisplayer
in interfaceFormDisplayerView
-
setProcessRuntimeDataService
@Inject public void setProcessRuntimeDataService(org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.pr.service.ProcessRuntimeDataService> processRuntimeDataService)
-
setFlowPanelBody
protected void setFlowPanelBody(com.google.gwt.user.client.ui.FlowPanel body)
-
-