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.FlowPanelbasicFormcom.google.gwt.user.client.ui.FlowPanelbodyorg.gwtbootstrap3.client.ui.HelpBlockerrorMessagesorg.gwtbootstrap3.client.ui.FormGrouperrorMessagesGroupstatic StringFIELD_ID_PROCESSNAMEorg.gwtbootstrap3.client.ui.FormGroupprocessDefinitionsControlGrouporg.gwtbootstrap3.client.ui.HelpBlockprocessDefinitionsHelpLabelorg.gwtbootstrap3.extras.select.client.ui.SelectprocessDefinitionsListBoxcom.google.gwt.user.client.ui.FlowPanelprocessFormprotected StartProcessFormDisplayProviderImplstartProcessDisplayProvider
-
Constructor Summary
Constructors Constructor Description QuickNewProcessInstancePopup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclosePopup()protected voidcreateNewProcessInstance()voiddisplay(GenericFormDisplayer displayer)voiddisplayErrorMessage(String header, String errorMessage)voiddisplayNotification(String text)GenericFormDisplayergetCurrentDisplayer()org.uberfire.mvp.CommandgetOnCloseCommand()protected voidinit()protected voidloadFormValues(String serverTemplateId)protected voidsetFlowPanelBody(com.google.gwt.user.client.ui.FlowPanel body)voidsetOnCloseCommand(org.uberfire.mvp.Command onCloseCommand)voidsetProcessRuntimeDataService(org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.pr.service.ProcessRuntimeDataService> processRuntimeDataService)voidshow(Long parentProcessInstanceId)voidshow(String serverTemplateId)protected booleanvalidateForm()-
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:
displayin interfaceFormDisplayerView
-
closePopup
public void closePopup()
-
displayErrorMessage
public void displayErrorMessage(String header, String errorMessage)
- Specified by:
displayErrorMessagein interfaceFormDisplayerView
-
getOnCloseCommand
public org.uberfire.mvp.Command getOnCloseCommand()
- Specified by:
getOnCloseCommandin interfaceFormDisplayerView
-
setOnCloseCommand
public void setOnCloseCommand(org.uberfire.mvp.Command onCloseCommand)
- Specified by:
setOnCloseCommandin interfaceFormDisplayerView
-
getCurrentDisplayer
public GenericFormDisplayer getCurrentDisplayer()
- Specified by:
getCurrentDisplayerin 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)
-
-