Package org.eclnt.workplace
Class WorkpageContainer
java.lang.Object
org.eclnt.workplace.WorkpageContainer
- All Implemented Interfaces:
Serializable,IWorkpageContainer
Container managing multiple workpages. Each workpage either is opened in the
content area of the workplace or is shown as modeless popup.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassAuto loading map of sub workpage containers.classclass -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Triggerprotected Stringprotected IWorkpageprotected intprotected intprotected DYNAMICCONTENTBindingprotected Stringprotected intprotected WorkplaceFunctionSearchUIprotected WorkplaceFunctionsManagerprotected WorkplaceHistoryprotected booleanprotected intprotected Stringprotected WorkpageContainerMultiWorkplaceManagerprotected booleanprotected WorkpageContainerprotected Stringprotected WorkplacePerspectiveManagerprotected intprotected IWorkpageContainerRendererprotected Stringprotected booleanprotected WorkpageContainer.SubWorkpageContainersprotected org.eclnt.jsfserver.elements.impl.TABBEDLINEComponentprotected booleanprotected intprotected WorkpageContainerprotected WorkplaceTileManagerprotected Stringprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected Set<IWorkpageContainerListener>protected IWorkpageDispatcherprotected WorkpageContainer.WorkpageInfoMapprotected Map<IWorkpage,WorkpageContainer.WorkpageInfo> protected Stringprotected IWorkpageSelectorprotected booleanprotected static boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionWorkpageContainer(IWorkpageDispatcher dispatcher) This constructor is used for the main workpage container.WorkpageContainer(IWorkpageDispatcher dispatcher, boolean withPreparingWorkplaceForCurrentUser) This constructor may be used if you want to switch off the usage of the default workplace management.protectedWorkpageContainer(IWorkpageDispatcher dispatcher, WorkpageContainer owner, String subContainerId) This constructor is used for sub workpage containers. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddWorkpage(IWorkpage workpage) Adds the new workpage to the workpage container.voidaddWorkpageAndKeepInBackground(IWorkpage workpage) Adds the new workpage to the workpage container.voidaddWorkpageAndKeepInBackgroundLOCAL(IWorkpage workpage) addWorkpageAsPopup(IWorkpage workpage) Adds the new workpage to the workpage container.protected ModelessPopupaddWorkpageAsPopupLOCAL(IWorkpage workpage) voidaddWorkpageContainerListener(IWorkpageContainerListener workpageContainerListener) protected booleanaddWorkpageLOCAL(IWorkpage workpage) protected booleanaddWorkpageLOCAL(IWorkpage workpage, boolean withTrigger, boolean withSwitchToForeground) protected StringbooleancheckIfWorkpageIsOpenedInPopup(IWorkpage workpage) protected booleancheckIfWorkpageIsOpenedInPopupLOCAL(IWorkpage workpage) voidCloses all workpages using the forced mode for closing.voidcloseAllWorkpages(boolean forcedMode, Runnable afterCloseOperation) Closes all workpages.voidvoidvoidprotected booleancloseAllWorkpagesWithContinueOperation(Runnable continueOperation) booleancloseWorkpage(IWorkpage workpage) Closes a workpage.booleancloseWorkpage(IWorkpage workpage, boolean alsoCloseWorkpageWithNoCloseSupported) Same asIWorkpageContainer.closeWorkpage(IWorkpage)with additional parameter to check what to do with workpages that are defined to be without support of closing (i.e. inteface IWorkpage.isCloseSupported() returns false.voidcloseWorkpageForced(IWorkpage workpage) Closes a workpage - forced mode.voidcloseWorkpageForced(IWorkpage workpage, boolean alsoCloseWorkpageWithNoCloseSupported) Same asIWorkpageContainer.closeWorkpageForced(IWorkpage)with additional parameter to check what to do with workpages that are defined to be without support of closing (i.e. inteface IWorkpage.isCloseSupported() returns false.protected voidcloseWorkpageForcedLOCAL(IWorkpage workpage, boolean alsoCloseWorkpageWithNoCloseSupported) protected booleancloseWorkpageLOCAL(IWorkpage workpage, boolean alsoCloseWorkpageWithNoCloseSupported) voidcloseWorkpages(List<IWorkpage> workpagesToBeClosed, boolean forcedMode, Runnable afterCloseOperation) protected booleancloseWorkpagesWithContinueOperation(List<IWorkpage> workpagesToBeClosed, Runnable continueOperation) protected voidCreates an instance ofIExtractApplythat extracts the whole workplace configuration.voiddestroy()Exports all workpages that were started via IWorkpageStartInfo into one list.protected voidprotected StringReturns list of all workpages the user has currently opened in the current workpage container. - Please note: there may be (better: there typically are) mulitple workpage containers, each one holding workpages.Returns list of all workpages, but now not restricted to "this" container, but to "this" container and the ones that are kept below.Returns the workpage that is currently selected within the workpage selector.Returns the workpage that is currently shown within the content area of the workplace.intintbooleanbooleanbooleanbooleanintPage bean for searching functions within the current function tree.Each workpage container has one functions manager - managing the function tree(s).Each workpage container has one functions manager - managing the function tree(s).The workplace includes some management of the history of its content.booleanintbooleanA workplace may contain several workpage containers.booleanTabbed line is only rendered if there is no specific renderer.booleanbooleanMap<String,? extends IWorkpageContainer> A workplace may have several workpage containers - each of them holding workpages.getSubWorkpageContainerForWorkpage(IWorkpage workpage) A workpage container may be separated into sub-workpage containers.A workpage container may be separated into sub-workpage containers.booleanintEach workplace has one tile manager - a tile being the graphical representation of a workpage container.protected WorkpageContainerA workpage container instance is assigned a unique technical id when it is created.booleanbooleanSwitch if cube animations are activated.booleanbooleanprotected WorkpageContainerprotected WorkpageContainergetWorkpageContainerForNewWorkpage(IWorkpage workpage) Get the dispatcher that is responsible for managing/keeping the top level objects within the context of this work page.Check if a workpage already is available for a passed workpage id.protected IWorkpageFind the workpage with the contained technical id.protected IWorkpageprotected WorkpageContainer.WorkpageInfogetWorkpageInfoLOCAL(IWorkpage workpage) You may create an own implementation of a workpage selector by implementing interfaceIWorkpageSelector.getWpim()voidstatic voidCalled as part of CaptainCasa runtime initialization.protected voidstatic voidinitImplicitLoadingForCurrentUser(boolean withPreparingWorkplaceForCurrentUser) By default the workplace management initializes it's environment on its own, calling functionprepareWorkplaceForCurrentUser()automatically.protected voidbooleanbooleanbooleanbooleanbooleanisolateWorkpageIntoModelessPopup(IWorkpage workpage) Isolate workpage as modeless popup.voidmaximizeWorkpage(IWorkpage workpage, boolean value) Maximize size of workpage.protected voidmaximizeWorkpageLOCAL(IWorkpage workpage, boolean value) voidBrings back a workpage that is isolated as modeless popup back into its content area.voidmoveWorkpage(String wpTechId, String toWorkpageContainerId) Moves an existing workpage into an other workpage container.protected voidmoveWorkpage(String wpTechId, WorkpageContainer toWpc) voidmoveWorkpage(IWorkpage wp, WorkpageContainer toWpc) voidmoveWorkpageIntoContentArea(IWorkpage workpage) Take a page from modeless display back into content area.protected voidmoveWorkpageIntoContentAreaLOCAL(IWorkpage workpage) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprotected ModelessPopupvoidCentral method for loading all workplace related information within the current workplace.voidremoveWorkpageContainerListener(IWorkpageContainerListener workpageContainerListner) protected voidvoidremoveWorkpageInfo(IWorkpage workpage) protected voidremoveWorkpageInfoLOCAL(IWorkpage workpage) protected booleanremoveWorkpageLOCAL(IWorkpage workpage, boolean withCloseForced, Runnable continueOperation, boolean alsoCloseWorkpageWithNoCloseSupported) protected voidremoveWorkpageOpticallyLOCAL(IWorkpage workpage) protected voidprotected ROWDYNAMICCONTENTBinding.ComponentNoderenderOutestNode(IWorkpage wp, ROWDYNAMICCONTENTBinding.ComponentNode parentNode, String parentNodeId) voidprotected voidrenderROWINCLUDENodeForWorkpage(IWorkpage wp, ROWDYNAMICCONTENTBinding.ComponentNode parentNode, String parentNodeId) protected voidrenderROWTITLEBARNodeForWorkpage(IWorkpage wp, ROWDYNAMICCONTENTBinding.ComponentNode parentNode, String parentNodeId) voidrenderWorkpageNode(IWorkpage wp, ROWDYNAMICCONTENTBinding.ComponentNode parentNode, String parentNodeId) voidsetDefaultPopupHeight(int defaultPopupHeight) Defines the height of the popup when isolating a workpage into a window of its own.voidsetDefaultPopupWidth(int defaultPopupWidth) Defines the width of the popup when isolating a workpage into a window of its own.voidsetEmptyPage(String jspPage) The page that is shown when no workpage is available within the workpage container.voidsetHistory(WorkplaceHistory history) voidsetHotKeyIsolation(boolean hotkeyisolation) If set to true then the workpage areas are isolated areas for hotkey processing.voidsetMaxNumberOfWorkpages(int maxNumberOfWorkpages) With this method you may restrict the number of parallelly running workpages to a certain limit.voidThis is the message that is popped up once a user exceeds the limit of "maxNumberOfWorkpages".voidsetOpenWorkpagePopupsAsFrame(boolean value) By default isolated workpages are opened as dialog.voidsetRendererClassName(String value) The content renderer of the workpage container can be customized by passing the class name of the renderer.voidsetShowPopupWorkpagesInSelector(boolean showPopupWorkpagesInSelector) By default workpages that are isolated into an own popup are not shown in the selector.voidsetTabbedLine(org.eclnt.jsfserver.elements.impl.TABBEDLINEComponent tabbedLine) Internally used.voidsetTabbedLineIndex(int tabbedLineIndex) voidsetUpdateOnInnerEventOnly(boolean value) If set to true, then a workpage is only updated on an event that is coming from the workpage itself.voidsetWithCubeRotation(boolean withCubeRotation) voidsetWithTabSelectorCloseIcons(boolean withTabSelectorCloseIcons) Defines if close icons are rendered into the selector's tab components.voidsetWithWorkpageDragDrop(boolean withWorkpageDragDrop) Defines if the user is able to drag/drop workpages in order to shift workpages from one workpage container to the next.voidsetWorkpagePopupDefaultBgpaint(String workpagePopupDefaultBgpaint) Defines the BGPAINT of isolated workpage popups.voidsetWorkpageSelectorEnabled(IWorkpage workpage, boolean tabbedLineEnabled) You may disable/enable the tab-navigation of a workpage's tabbed line.protected voidprotected voidprotected voidvoidSwitches to the workpage that is passed as parameter.protected voidprotected voidswitchToWorkpageLOCAL(IWorkpage wp, boolean withTrigger, boolean withHideSignal) voidInternally called by processing ofIWorkpage.protected voidprotected voidvoid
-
Field Details
-
s_implicitLoadingOfWorkplaceForCurrentUser
protected static boolean s_implicitLoadingOfWorkplaceForCurrentUser -
m_this
-
m_owner
-
m_tileManager
-
m_functionsManager
-
m_perspectiveManager
-
m_functionSearchUI
-
m_history
-
m_subWorkpageContainers
-
m_ownSubContainerId
-
m_workpageList
-
m_workpageInfos
-
m_workpageInfoMap
-
m_currentWorkpage
-
m_tabbedLine
protected org.eclnt.jsfserver.elements.impl.TABBEDLINEComponent m_tabbedLine -
m_tabbedLineIndex
protected int m_tabbedLineIndex -
m_previousTabbedLineIndex
protected int m_previousTabbedLineIndex -
m_tabbedLineEnabled
protected boolean m_tabbedLineEnabled -
m_emptyPage
-
m_workpageDispatcher
-
m_focusCounter
protected int m_focusCounter -
m_maxNumberOfWorkpages
protected int m_maxNumberOfWorkpages -
m_maxNumberOfWorkpagesExceededMessage
-
m_defaultPopupWidth
protected int m_defaultPopupWidth -
m_defaultPopupHeight
protected int m_defaultPopupHeight -
m_updateOnInnerEventOnly
protected boolean m_updateOnInnerEventOnly -
m_openWorkpagePopupsAsFrame
protected boolean m_openWorkpagePopupsAsFrame -
m_showPopupWorkpagesInSelector
protected boolean m_showPopupWorkpagesInSelector -
m_cubeAnimationDirection
-
m_animationTrigger
-
m_workpageContainerListeners
-
m_workplacePrepareWasCalled
protected boolean m_workplacePrepareWasCalled -
m_withPreparingWorkplaceForCurrentUser
protected boolean m_withPreparingWorkplaceForCurrentUser -
m_withTabSelectorCloseIcons
protected boolean m_withTabSelectorCloseIcons -
m_workpagePopupDefaultBgpaint
-
m_hotkeyisolation
protected boolean m_hotkeyisolation -
m_withWorkpageDragDrop
protected boolean m_withWorkpageDragDrop -
m_rendererClassName
-
m_renderer
-
m_uniqueId
-
m_dynMenuContent
-
m_multiWorkplaceManager
-
m_workpageSelector
-
m_withCubeRotation
protected boolean m_withCubeRotation
-
-
Constructor Details
-
WorkpageContainer
This constructor is used for the main workpage container. -
WorkpageContainer
public WorkpageContainer(IWorkpageDispatcher dispatcher, boolean withPreparingWorkplaceForCurrentUser) This constructor may be used if you want to switch off the usage of the default workplace management. The default workplace management reads the runtime configuration for the current user and creates a corresponding workplace perspective. -
WorkpageContainer
protected WorkpageContainer(IWorkpageDispatcher dispatcher, WorkpageContainer owner, String subContainerId) This constructor is used for sub workpage containers.
-
-
Method Details
-
initialize
public static void initialize()Called as part of CaptainCasa runtime initialization. -
initImplicitLoadingForCurrentUser
public static void initImplicitLoadingForCurrentUser(boolean withPreparingWorkplaceForCurrentUser) By default the workplace management initializes it's environment on its own, calling functionprepareWorkplaceForCurrentUser()automatically. This function expects the user data (interfaceIUserAccessto be available, so that certain workplace functions (e.g. building up function tree, loading persisted workplace history, ...) that are user-specific use the right user.
In certain situations you may avoid this automated initialization and explicitly call the functionprepareWorkplaceForCurrentUser()on your own. Example: the user comes from some explicit logon screen, which was not yet processed.
This method is automatically called during the server start-up - using the value that is defined in system.xml. You may re-call any time later and override the value. -
prepareWorkplaceForCurrentUser
public void prepareWorkplaceForCurrentUser()Central method for loading all workplace related information within the current workplace. This method needs to be called whenever the user changes (e.g. after logon).- Specified by:
prepareWorkplaceForCurrentUserin interfaceIWorkpageContainer
-
getMultiWorkplaceManager
- Specified by:
getMultiWorkplaceManagerin interfaceIWorkpageContainer
-
setRendererClassName
Description copied from interface:IWorkpageContainerThe content renderer of the workpage container can be customized by passing the class name of the renderer. The renderer class must either implementIWorkpageContainerRendererorIWorkpageContainerPartialRenderer.- Specified by:
setRendererClassNamein interfaceIWorkpageContainer
-
getRendererClassName
- Specified by:
getRendererClassNamein interfaceIWorkpageContainer
-
getDynMenuContent
-
getRenderer
- Specified by:
getRendererin interfaceIWorkpageContainer
-
createRenderer
protected void createRenderer() -
getHistory
Description copied from interface:IWorkpageContainerThe workplace includes some management of the history of its content. This is the method to access the corresponding functions.- Specified by:
getHistoryin interfaceIWorkpageContainer
-
setHistory
-
getWorkpagePopupDefaultBgpaint
-
setWorkpagePopupDefaultBgpaint
Description copied from interface:IWorkpageContainerDefines the BGPAINT of isolated workpage popups.- Specified by:
setWorkpagePopupDefaultBgpaintin interfaceIWorkpageContainer
-
getHotKeyIsolation
public boolean getHotKeyIsolation()- Specified by:
getHotKeyIsolationin interfaceIWorkpageContainer
-
setHotKeyIsolation
public void setHotKeyIsolation(boolean hotkeyisolation) Description copied from interface:IWorkpageContainerIf set to true then the workpage areas are isolated areas for hotkey processing. THis means that the a hotkey is only processed within the workpage in which it was triggered. There is no double-processing of hotkeys because of two workpages being shown in parallel.- Specified by:
setHotKeyIsolationin interfaceIWorkpageContainer
-
getShowPopupWorkpagesInSelector
public boolean getShowPopupWorkpagesInSelector() -
setShowPopupWorkpagesInSelector
public void setShowPopupWorkpagesInSelector(boolean showPopupWorkpagesInSelector) Description copied from interface:IWorkpageContainerBy default workpages that are isolated into an own popup are not shown in the selector. You can override this behavior by passing the value "true".- Specified by:
setShowPopupWorkpagesInSelectorin interfaceIWorkpageContainer
-
getWithTabSelectorCloseIcons
public boolean getWithTabSelectorCloseIcons() -
setWithTabSelectorCloseIcons
public void setWithTabSelectorCloseIcons(boolean withTabSelectorCloseIcons) Description copied from interface:IWorkpageContainerDefines if close icons are rendered into the selector's tab components. Default is "true".- Specified by:
setWithTabSelectorCloseIconsin interfaceIWorkpageContainer
-
getWorkpageDispatcher
Description copied from interface:IWorkpageContainerGet the dispatcher that is responsible for managing/keeping the top level objects within the context of this work page.- Specified by:
getWorkpageDispatcherin interfaceIWorkpageContainer
-
getUniqueId
Description copied from interface:IWorkpageContainerA workpage container instance is assigned a unique technical id when it is created. This id is stable during the lifecycle of the workpage container. Please pay attention: this is a technical id "only"! The id that is assigned to the workpage container within the workplace setup is available viaIWorkpageContainer.getOwnSubContainerId().- Specified by:
getUniqueIdin interfaceIWorkpageContainer
-
updateUniqueId
public void updateUniqueId() -
addWorkpageContainerListener
- Specified by:
addWorkpageContainerListenerin interfaceIWorkpageContainer
-
removeWorkpageContainerListener
- Specified by:
removeWorkpageContainerListenerin interfaceIWorkpageContainer
-
getWorkpageContainerListeners
-
getTileManagerWithoutInitialization
-
getTileManager
Description copied from interface:IWorkpageContainerEach workplace has one tile manager - a tile being the graphical representation of a workpage container. The tile manager is a funciton on top of the workpage container and separates the screen into tiles, in each of the tiles a workpage container is started. The user may configure the tiles by dragging and dropping content from one tile to the next.- Specified by:
getTileManagerin interfaceIWorkpageContainer
-
getFunctionsManagerWithoutInitialization
Description copied from interface:IWorkpageContainerEach workpage container has one functions manager - managing the function tree(s).- Specified by:
getFunctionsManagerWithoutInitializationin interfaceIWorkpageContainer
-
getFunctionsManager
Description copied from interface:IWorkpageContainerEach workpage container has one functions manager - managing the function tree(s). The functions manager is intialized before being passed back. UseIWorkpageContainer.getFunctionsManagerWithoutInitialization()to access the instance before initialization.- Specified by:
getFunctionsManagerin interfaceIWorkpageContainer
-
getPerspectiveManagerWithoutInitialization
-
getPerspectiveManager
-
getFunctionSearchUI
Description copied from interface:IWorkpageContainerPage bean for searching functions within the current function tree.- Specified by:
getFunctionSearchUIin interfaceIWorkpageContainer
-
getSubWorkpageContainers
-
getSubContainers
Description copied from interface:IWorkpageContainerA workplace may have several workpage containers - each of them holding workpages. Internally there is one top workpage container (the own withIWorkpageContainer.getOwnSubContainerId()returning null), which owns sub containers (each of them returning an explicit id/name inIWorkpageContainer.getOwnSubContainerId().- Specified by:
getSubContainersin interfaceIWorkpageContainer
-
getWorkpageSelector
Description copied from interface:IWorkpageContainerYou may create an own implementation of a workpage selector by implementing interfaceIWorkpageSelector.- Specified by:
getWorkpageSelectorin interfaceIWorkpageContainer- Returns:
- Only returns instance if some owne workpage selector is defined.
-
getOpenWorkpagePopupsAsFrame
public boolean getOpenWorkpagePopupsAsFrame()- Specified by:
getOpenWorkpagePopupsAsFramein interfaceIWorkpageContainer
-
setOpenWorkpagePopupsAsFrame
public void setOpenWorkpagePopupsAsFrame(boolean value) Description copied from interface:IWorkpageContainerBy default isolated workpages are opened as dialog. Dialogs do not appear within the task bar of the operating system - and do not allow to be pushed behind the workplace page. - If passing "true" as parameter then isolated workpages are opened as frame - i.e. they are a fully featured window that appears in the task bar of the operating system as well and that can be pushed into the background by the user.- Specified by:
setOpenWorkpagePopupsAsFramein interfaceIWorkpageContainer
-
getOwnSubContainerId
Description copied from interface:IWorkpageContainerA workplace may contain several workpage containers. The main workpage container is started with an id of null. All other ones do own some id. The id is either set in the configuration of the workplace or - if the workpage container is created at runtime - is created by the workplace management internally.- Specified by:
getOwnSubContainerIdin interfaceIWorkpageContainer
-
getRootWorkpageContainer
-
getDefaultPopupWidth
public int getDefaultPopupWidth() -
setDefaultPopupWidth
public void setDefaultPopupWidth(int defaultPopupWidth) Defines the width of the popup when isolating a workpage into a window of its own.- Specified by:
setDefaultPopupWidthin interfaceIWorkpageContainer
-
getDefaultPopupHeight
public int getDefaultPopupHeight() -
setDefaultPopupHeight
public void setDefaultPopupHeight(int defaultPopupHeight) Defines the height of the popup when isolating a workpage into a window of its own.- Specified by:
setDefaultPopupHeightin interfaceIWorkpageContainer
-
getUpdateOnInnerEventOnly
public boolean getUpdateOnInnerEventOnly() -
setUpdateOnInnerEventOnly
public void setUpdateOnInnerEventOnly(boolean value) Description copied from interface:IWorkpageContainerIf set to true, then a workpage is only updated on an event that is coming from the workpage itself. This corresponds to ROWINCLUDE-UPDATEONINNEREVENTONLY attribute. - Default is "false". You may set to "true" for performance reasons, but need then to handle cases of cross workpage synchronization on your own. Please check documentation of ROWINCLUDE for more information.- Specified by:
setUpdateOnInnerEventOnlyin interfaceIWorkpageContainer
-
setEmptyPage
Description copied from interface:IWorkpageContainerThe page that is shown when no workpage is available within the workpage container.- Specified by:
setEmptyPagein interfaceIWorkpageContainer
-
getWpim
-
getSubWorkpageContainerForWorkpage
Description copied from interface:IWorkpageContainerA workpage container may be separated into sub-workpage containers. This functions returns back the sub workpage container.- Specified by:
getSubWorkpageContainerForWorkpagein interfaceIWorkpageContainer
-
getSubWorkpageContainerIdForWorkpage
Description copied from interface:IWorkpageContainerA workpage container may be separated into sub-workpage containers. This functions returns back the id of the sub workpage container. If the workpage is running in the main workpage container, then null is returned.- Specified by:
getSubWorkpageContainerIdForWorkpagein interfaceIWorkpageContainer
-
setMaxNumberOfWorkpages
public void setMaxNumberOfWorkpages(int maxNumberOfWorkpages) Description copied from interface:IWorkpageContainerWith this method you may restrict the number of parallelly running workpages to a certain limit. If not set then any number of workpages can be opened.- Specified by:
setMaxNumberOfWorkpagesin interfaceIWorkpageContainer
-
setMaxNumberOfWorkpagesExceededMessage
Description copied from interface:IWorkpageContainerThis is the message that is popped up once a user exceeds the limit of "maxNumberOfWorkpages". By default an own message is shown, but you can define your own one using this method.- Specified by:
setMaxNumberOfWorkpagesExceededMessagein interfaceIWorkpageContainer
-
moveIsolatedWorkpageBackIntoContentArea
Description copied from interface:IWorkpageContainerBrings back a workpage that is isolated as modeless popup back into its content area.- Specified by:
moveIsolatedWorkpageBackIntoContentAreain interfaceIWorkpageContainer
-
moveWorkpageIntoContentArea
Take a page from modeless display back into content area.- Specified by:
moveWorkpageIntoContentAreain interfaceIWorkpageContainer
-
moveWorkpageIntoContentAreaLOCAL
-
maximizeWorkpage
Description copied from interface:IWorkpageContainerMaximize size of workpage.- Specified by:
maximizeWorkpagein interfaceIWorkpageContainer
-
maximizeWorkpageLOCAL
-
getFocusCounter
public int getFocusCounter() -
addWorkpageAsPopup
Description copied from interface:IWorkpageContainerAdds the new workpage to the workpage container.- Specified by:
addWorkpageAsPopupin interfaceIWorkpageContainer
-
addWorkpageAsPopupLOCAL
-
addWorkpageAndKeepInBackground
Description copied from interface:IWorkpageContainerAdds the new workpage to the workpage container. If there is already one existing workpage then the new workpage is not switched to to the front.- Specified by:
addWorkpageAndKeepInBackgroundin interfaceIWorkpageContainer
-
addWorkpageAndKeepInBackgroundLOCAL
-
addWorkpage
Description copied from interface:IWorkpageContainerAdds the new workpage to the workpage container.- Specified by:
addWorkpagein interfaceIWorkpageContainer
-
addWorkpageLOCAL
-
addWorkpageLOCAL
protected boolean addWorkpageLOCAL(IWorkpage workpage, boolean withTrigger, boolean withSwitchToForeground) - Returns:
- true => workpage was added, false => workpage was NOT added
-
getAnimationValue
-
getCubeAnimationValue
-
getCubeAnimationDirection
-
getCurrentJspPage
-
getEmptyPage
- Specified by:
getEmptyPagein interfaceIWorkpageContainer
-
getCurrentClientName
-
getContentReplaceForWorkpage
-
renderWorkpageNode
public void renderWorkpageNode(IWorkpage wp, ROWDYNAMICCONTENTBinding.ComponentNode parentNode, String parentNodeId) -
renderOutestNode
protected ROWDYNAMICCONTENTBinding.ComponentNode renderOutestNode(IWorkpage wp, ROWDYNAMICCONTENTBinding.ComponentNode parentNode, String parentNodeId) -
renderROWTITLEBARNodeForWorkpage
protected void renderROWTITLEBARNodeForWorkpage(IWorkpage wp, ROWDYNAMICCONTENTBinding.ComponentNode parentNode, String parentNodeId) -
renderROWINCLUDENodeForWorkpage
protected void renderROWINCLUDENodeForWorkpage(IWorkpage wp, ROWDYNAMICCONTENTBinding.ComponentNode parentNode, String parentNodeId) -
renderPopupMenuIntoNode
-
getCurrentContentReplace
-
getContentReplaceNoDrillDown
-
getCurrentContentReplaceNoDrillDown
-
getCurrentlySelectedWorkpage
Description copied from interface:IWorkpageContainerReturns the workpage that is currently selected within the workpage selector. This function must only be called when using the ROWWORKPAGESELECTOR component.- Specified by:
getCurrentlySelectedWorkpagein interfaceIWorkpageContainer
-
getCurrentWorkpage
Description copied from interface:IWorkpageContainerReturns the workpage that is currently shown within the content area of the workplace.- Specified by:
getCurrentWorkpagein interfaceIWorkpageContainer
-
isCurrentWorkpageDecorated
public boolean isCurrentWorkpageDecorated() -
isCurrentWorkpagePopupSupported
public boolean isCurrentWorkpagePopupSupported() -
isCurrentWorkpageWpDragSupported
public boolean isCurrentWorkpageWpDragSupported() -
isCurrentWorkpageCloseSupported
public boolean isCurrentWorkpageCloseSupported() -
isCurrentWorkpageBlocked
public boolean isCurrentWorkpageBlocked() -
getCurrentWorkpageClientNamePopupIcon
-
getCurrentWorkpageClientNameWpDrag
-
getCurrentWorkpageClientNameCloseIcon
-
setWithWorkpageDragDrop
public void setWithWorkpageDragDrop(boolean withWorkpageDragDrop) Description copied from interface:IWorkpageContainerDefines if the user is able to drag/drop workpages in order to shift workpages from one workpage container to the next.- Specified by:
setWithWorkpageDragDropin interfaceIWorkpageContainer
-
getWithWorkpageDragDrop
public boolean getWithWorkpageDragDrop()- Specified by:
getWithWorkpageDragDropin interfaceIWorkpageContainer
-
getWorkpageForUniqueTechnicalId
Description copied from interface:IWorkpageContainerFind the workpage with the contained technical id. Each workpage receives a technical id which is stable during its life cycle. The id is available by callingIWorkpage.getUniqueTechnicalId().- Specified by:
getWorkpageForUniqueTechnicalIdin interfaceIWorkpageContainer
-
getWorkpageForUniqueTechnicalIdLOCAL
-
getWorkpageForId
Description copied from interface:IWorkpageContainerCheck if a workpage already is available for a passed workpage id. The id is the one that is explicitly assigned by the application processing.- Specified by:
getWorkpageForIdin interfaceIWorkpageContainer
-
getWorkpageForIdLOCAL
-
showAsContentPage
-
showAsContentPageLOCAL
-
switchToWorkpage
Description copied from interface:IWorkpageContainerSwitches to the workpage that is passed as parameter.- Specified by:
switchToWorkpagein interfaceIWorkpageContainer
-
switchToWorkpageLOCAL
-
switchToWorkpageLOCAL
-
setTabbedLine
public void setTabbedLine(org.eclnt.jsfserver.elements.impl.TABBEDLINEComponent tabbedLine) Internally used. -
getIndexOfCurrentlySelectedWorkpage
public int getIndexOfCurrentlySelectedWorkpage() -
getTabbedLineIndex
public int getTabbedLineIndex() -
setTabbedLineIndex
public void setTabbedLineIndex(int tabbedLineIndex) -
getRenderedTabbedLine
public boolean getRenderedTabbedLine()Tabbed line is only rendered if there is no specific renderer. -
getRenderedWorkpageSelector
public boolean getRenderedWorkpageSelector() -
getTabbedLineEnabled
public boolean getTabbedLineEnabled() -
setWorkpageSelectorEnabled
Description copied from interface:IWorkpageContainerYou may disable/enable the tab-navigation of a workpage's tabbed line.- Specified by:
setWorkpageSelectorEnabledin interfaceIWorkpageContainer
-
getEnabledCloseAll
public boolean getEnabledCloseAll() -
getEnabledCloseAllLeft
public boolean getEnabledCloseAllLeft() -
getEnabledCloseAllRight
public boolean getEnabledCloseAllRight() -
getEnabledCloseOthers
public boolean getEnabledCloseOthers() -
onTabbedLineTabAction
-
onSwitchToLeft
-
onSwitchToRight
-
onCloseAllWorkpages
-
onTabbedLineAction
-
moveWorkpage
Moves an existing workpage into an other workpage container.- Parameters:
wpTechId- (Technical) id of the workpage.workpageContainerId- Workpage container id, into which the workpage needs to be moved.
-
moveWorkpage
-
moveWorkpage
-
closeAllWorkpages
public void closeAllWorkpages()Description copied from interface:IWorkpageContainerCloses all workpages using the forced mode for closing. This means before calling this method you should inform the user that all data changes within the workpaged get lost.- Specified by:
closeAllWorkpagesin interfaceIWorkpageContainer
-
closeAllWorkpagesBesidesCurrent
public void closeAllWorkpagesBesidesCurrent() -
closeAllWorkpagesLeftOfCurrent
public void closeAllWorkpagesLeftOfCurrent() -
findCloseableWorkpages
-
findCloseableWorkpagesBesidesCurrent
-
findCloseableWorkpagesLeftOfCurrent
-
closeAllWorkpagesRightOfCurrent
public void closeAllWorkpagesRightOfCurrent() -
findCloseableWorkpagesRightOfCurrent
-
closeAllWorkpages
Description copied from interface:IWorkpageContainerCloses all workpages. Dependent from the forcedMode the closing will either be done "forced" (i.e. no intervention possible by workpage lifecycle listener) or will be done "normally".- Specified by:
closeAllWorkpagesin interfaceIWorkpageContainerafterCloseOperation- After closing all workpages you may want a certain operation to be executed - this is the afterCloseOperation. In case of passing parameter "forcedMode" as "true", this operation is immediately run. Otherwise the closing of workpages may be interrupted (e.g. by some workpages asking the user if to save data, or do other things...). In this case the afterCloseOperation is run when all workpages are closed.
-
closeWorkpages
-
closeAllWorkpagesWithContinueOperation
-
closeWorkpagesWithContinueOperation
-
onCloseWorkpage
-
onCloseCurrentWorkpage
-
onPageAction
-
onOpenCurrentPageAsModelessPopup
-
openCurrentPageAsModelessPopup
public void openCurrentPageAsModelessPopup() -
isolateWorkpageIntoModelessPopup
Description copied from interface:IWorkpageContainerIsolate workpage as modeless popup.- Specified by:
isolateWorkpageIntoModelessPopupin interfaceIWorkpageContainer
-
destroy
public void destroy()- Specified by:
destroyin interfaceIWorkpageContainer
-
openCurrentPageAsModelessPopupLOCAL
-
closeWorkpage
Description copied from interface:IWorkpageContainerSame asIWorkpageContainer.closeWorkpage(IWorkpage)with additional parameter to check what to do with workpages that are defined to be without support of closing (i.e. inteface IWorkpage.isCloseSupported() returns false.- Specified by:
closeWorkpagein interfaceIWorkpageContainer- Returns:
- result if workpage was really closed
-
closeWorkpage
Description copied from interface:IWorkpageContainerCloses a workpage. This is the official way to close a workpage - going through the workpage container. Do not close a page on workplage level.- Specified by:
closeWorkpagein interfaceIWorkpageContainer- Returns:
- result if workpage was really closed
-
closeWorkpageLOCAL
protected boolean closeWorkpageLOCAL(IWorkpage workpage, boolean alsoCloseWorkpageWithNoCloseSupported) -
closeWorkpageForced
Description copied from interface:IWorkpageContainerSame asIWorkpageContainer.closeWorkpageForced(IWorkpage)with additional parameter to check what to do with workpages that are defined to be without support of closing (i.e. inteface IWorkpage.isCloseSupported() returns false.- Specified by:
closeWorkpageForcedin interfaceIWorkpageContainer
-
closeWorkpageForced
Description copied from interface:IWorkpageContainerCloses a workpage - forced mode. The application must not ask for unsaved data etc. anymore.- Specified by:
closeWorkpageForcedin interfaceIWorkpageContainer
-
closeWorkpageForcedLOCAL
protected void closeWorkpageForcedLOCAL(IWorkpage workpage, boolean alsoCloseWorkpageWithNoCloseSupported) -
onHideAllPopups
-
checkIfWorkpageIsOpenedInPopup
- Specified by:
checkIfWorkpageIsOpenedInPopupin interfaceIWorkpageContainer
-
checkIfWorkpageIsOpenedInPopupLOCAL
-
getAllWorkpages
Description copied from interface:IWorkpageContainerReturns list of all workpages the user has currently opened in the current workpage container. - Please note: there may be (better: there typically are) mulitple workpage containers, each one holding workpages.- Specified by:
getAllWorkpagesin interfaceIWorkpageContainer
-
getAllWorkpagesIncludingSubWorkpageContainers
Description copied from interface:IWorkpageContainerReturns list of all workpages, but now not restricted to "this" container, but to "this" container and the ones that are kept below.- Specified by:
getAllWorkpagesIncludingSubWorkpageContainersin interfaceIWorkpageContainer
-
getWithCubeRotation
public boolean getWithCubeRotation()Switch if cube animations are activated. Default: inactive.- Specified by:
getWithCubeRotationin interfaceIWorkpageContainer
-
setWithCubeRotation
public void setWithCubeRotation(boolean withCubeRotation) - Specified by:
setWithCubeRotationin interfaceIWorkpageContainer
-
hideAllPopups
public void hideAllPopups() -
getWorkpageInfoLOCAL
-
removeWorkpageInfo
-
removeWorkpageInfoLOCAL
-
removeWorkpageOpticallyLOCAL
-
removeWorkpageLOCAL
-
throwWorkpageProcessingEvent
Internally called by processing ofIWorkpage.- Specified by:
throwWorkpageProcessingEventin interfaceIWorkpageContainer
-
throwWorkpageProcessingEventLOCAL
-
updateTabbedLineLOCAL
protected void updateTabbedLineLOCAL() -
buildOnPopupMenuExpressionLOCAL
-
getWorkpageContainerForNewWorkpage
-
getWorkpageContainerForExisitingWorkpage
-
getTopWorkpageContainerLOCAL
-
findEmptyPage
-
exportCurrentWorkpages
Exports all workpages that were started via IWorkpageStartInfo into one list. This list can be used for restarting the workpages later on.- Specified by:
exportCurrentWorkpagesin interfaceIWorkpageContainer
-
exportCurrentWorkpagesLOCAL
-
initiallyPrepareWorkplaceForCurrentUser
protected void initiallyPrepareWorkplaceForCurrentUser() -
sortPopupWorkpagesToTheEndLOCAL
protected void sortPopupWorkpagesToTheEndLOCAL() -
renderDynMenuContent
protected void renderDynMenuContent() -
initWorkpageSelector
protected void initWorkpageSelector() -
creatWorkplaceExtractApply
Description copied from interface:IWorkpageContainerCreates an instance ofIExtractApplythat extracts the whole workplace configuration.- Specified by:
creatWorkplaceExtractApplyin interfaceIWorkpageContainer
-