Package org.eclnt.workplace
Class WorkpageByPageBean
java.lang.Object
org.eclnt.workplace.Workpage
org.eclnt.workplace.WorkpageByPageBean
- All Implemented Interfaces:
Serializable,IWorkpage
Workpage that contains a page bean that is shown as workpage content.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkpageByPageBean(IWorkpageDispatcher dispatcher, String title, WorkpageStartInfo wpsi) Constructor in which you pass the name of the page bean, that is used within the workpage's dispatcher for creating an instance of the page bean.WorkpageByPageBean(IWorkpageDispatcher dispatcher, String title, WorkpageStartInfo wpsi, ICreatePageBeanInstance beanCreator) Constructor in which you can explicitly control the creation of the page bean instance.WorkpageByPageBean(IWorkpageDispatcher dispatcher, IPageBean pageBean, String id, String title, String iconURL, boolean isDecorated) Constructor in which you pass a page bean that you already created on your own. -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault behaviour: the dispatcher gets destroyed.booleanManaged at runtime by workplace management: if a page opens up semi modal popup dialogs then the page need to be blocked.voidThis method is called whenever the workpage container is pushing this page to be displayed.voidThis method is called whenever a workpage that is currently shown within in the content area is replaced by another one.voidThe page is (re)shown in the content area of the workplace.voidThe page is (re)shown in a modeless popup.protected voidRegistration of the page bean that was passed within the constructor inside the dispatcher that was created for this workpage.Methods inherited from class org.eclnt.workplace.Workpage
addLifecycleListener, addWorkpageProcessingEventListener, assignIdToModelessPopup, checkIfWorkpageProcessingEventIsRelevant, close, closeAndContinue, closeSemiModalPopup, createModalPopupInWorkpageContext, createModelessPopupInWorkpageContext, getClientName, getComment, getDispatcher, getDragsend, getExcludeFromSavePerspective, getIconURL, getId, getJspPage, getLifecycleListeners, getModelesspopup, getModelessPopupOfWorkpage, getMwpDragsend, getParam, getParamMap, getSelectorBgpaint, getSelectorTitle, getSelectorTitleOriginal, getSortIndex, getStartSubWorkpageContainerId, getTitle, getUniqueTechnicalId, getUuid, getWorkpageContainer, getWorkpageStartInfo, isCloseSupported, isDecorated, isPopupDecorated, isPopupSupported, isShown, isWpDragSupported, openSemiModalPopup, processWorkpageProcessingEvent, reactOnBeforeHide, reactOnReselectedInContentArea, reactOnSwitchToPage, removeLifecycleListener, removeWorkpageProcessingEventListener, setCloseSupported, setComment, setDecorated, setExcludeFromSavePerspective, setIconURL, setId, setJspPage, setModelessPopupOfWorkpage, setParam, setPopupDecorated, setPopupSupported, setSelectorBgpaint, setSelectorTitle, setStartSubWorkpageContainerId, setTitle, setWorkpageStartInfo, setWpDragSupported, throwWorkpageProcessingEvent, toString
-
Constructor Details
-
WorkpageByPageBean
public WorkpageByPageBean(IWorkpageDispatcher dispatcher, IPageBean pageBean, String id, String title, String iconURL, boolean isDecorated) Constructor in which you pass a page bean that you already created on your own. If the page bean is of typeWorkpageDispatchedPageBeanthen the workpage's dispatcher is set into the dispatcher of the page bean. -
WorkpageByPageBean
Constructor in which you pass the name of the page bean, that is used within the workpage's dispatcher for creating an instance of the page bean. The name is the one that is used in expressions, e.g. when using "#{d.AbcUI}", the name is "AbcUI". -
WorkpageByPageBean
public WorkpageByPageBean(IWorkpageDispatcher dispatcher, String title, WorkpageStartInfo wpsi, ICreatePageBeanInstance beanCreator) Constructor in which you can explicitly control the creation of the page bean instance.
-
-
Method Details
-
getPageBean
-
isBlocked
public boolean isBlocked()Description copied from interface:IWorkpageManaged at runtime by workplace management: if a page opens up semi modal popup dialogs then the page need to be blocked. -
reactOnDisplay
public void reactOnDisplay()Description copied from interface:IWorkpageThis method is called whenever the workpage container is pushing this page to be displayed.- Specified by:
reactOnDisplayin interfaceIWorkpage- Overrides:
reactOnDisplayin classWorkpage- Parameters:
pageBean-title-width-height-popupListener-
-
reactOnShownInContentArea
public void reactOnShownInContentArea()Description copied from interface:IWorkpageThe page is (re)shown in the content area of the workplace.- Specified by:
reactOnShownInContentAreain interfaceIWorkpage- Overrides:
reactOnShownInContentAreain classWorkpage
-
reactOnHide
public void reactOnHide()Description copied from interface:IWorkpageThis method is called whenever a workpage that is currently shown within in the content area is replaced by another one.- Specified by:
reactOnHidein interfaceIWorkpage- Overrides:
reactOnHidein classWorkpage
-
reactOnShownInPopup
public void reactOnShownInPopup()Description copied from interface:IWorkpageThe page is (re)shown in a modeless popup.- Specified by:
reactOnShownInPopupin interfaceIWorkpage- Overrides:
reactOnShownInPopupin classWorkpage
-
closeForced
public void closeForced()Description copied from class:WorkpageDefault behaviour: the dispatcher gets destroyed.- Specified by:
closeForcedin interfaceIWorkpage- Overrides:
closeForcedin classWorkpage
-
registerPageBeanInDispatcher
protected void registerPageBeanInDispatcher()Registration of the page bean that was passed within the constructor inside the dispatcher that was created for this workpage.
-