org.adempiere.webui.apps
Class ProcessDialog
java.lang.Object
org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zul.impl.XulElement
org.zkoss.zul.Window
org.adempiere.webui.component.Window
org.adempiere.webui.apps.ProcessDialog
- All Implemented Interfaces:
- Serializable, Cloneable, Component, EventListener, IdSpace, ComponentCtrl
public class ProcessDialog
- extends Window
- implements EventListener
Dialog to Start process or report.
Displays information about the process
and lets the user decide to start it
and displays results (optionally print them).
Calls ProcessCtl to execute.
- Author:
- Low Heng Sin, arboleda - globalqss
- Implement ShowHelp option on processes and reports
- See Also:
- Serialized Form
|
Constructor Summary |
ProcessDialog(int AD_Process_ID,
boolean isSOTrx)
Dialog to start a process/report |
| Methods inherited from class org.zkoss.zul.Window |
clone, doEmbedded, doHighlighted, doModal, doOverlapped, doPopup, getBorder, getCaption, getContentSclass, getContentStyle, getDefaultActionOnShow, getMode, getOuterAttrs, getPosition, getRealStyle, getSclass, getTitle, getTitleSclass, inEmbedded, inHighlighted, inModal, inOverlapped, inPopup, insertBefore, isClosable, isSizable, newExtraCtrl, onChildRemoved, onClose, onModal, setBorder, setClosable, setContentSclass, setContentStyle, setDefaultActionOnShow, setDraggable, setMode, setMode, setPage, setParent, setPosition, setSclass, setSizable, setTitle |
| Methods inherited from class org.zkoss.zul.impl.XulElement |
getAction, getActionAttrs, getAllOnClickAttrs, getContext, getCtrlKeys, getInnerAttrs, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
focus, getAllOnClickAttrs, getDraggable, getDroppable, getHeight, getLeft, getRealSclass, getRealStyleFlags, getStyle, getTooltiptext, getTop, getWidth, getZIndex, setClass, setDroppable, setFocus, setHeight, setLeft, setStyle, setTooltiptext, setTop, setWidth, setZIndex |
| Methods inherited from class org.zkoss.zk.ui.AbstractComponent |
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendAsapAttr, appendChild, applyProperties, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getCommand, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getExtraCtrl, getFellow, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, invalidate, isAsapRequired, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPageBefore, setVariable, smartUpdate, smartUpdate, smartUpdate, smartUpdateDeferred, smartUpdateValues, toString, unsetVariable |
ProcessDialog
public ProcessDialog(int AD_Process_ID,
boolean isSOTrx)
- Dialog to start a process/report
- Parameters:
ctx - parent - title - aProcess - WindowNo - AD_Process_ID - tableId - recordId - autoStart -
setVisible
public boolean setVisible(boolean visible)
- Set Visible
(set focus to OK if visible)
- Specified by:
setVisible in interface Component- Overrides:
setVisible in class Window
- Parameters:
visible - true if visible
dispose
public void dispose()
- Dispose
init
public boolean init()
- Dynamic Init
- Returns:
- true, if there is something to process (start from menu)
startProcess
public void startProcess()
isAsap
public boolean isAsap()
onEvent
public void onEvent(Event event)
- Specified by:
onEvent in interface EventListener
lockUI
public void lockUI(ProcessInfo pi)
unlockUI
public void unlockUI(ProcessInfo pi)
isValid
public boolean isValid()
executeASync
public void executeASync(ProcessInfo pi)
isUILocked
public boolean isUILocked()
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.