Package org.eclnt.ccaddons.pbc
Class CCWorkplaceFunctions
java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCWorkplaceFunctions
- All Implemented Interfaces:
Serializable
,org.eclnt.jsfserver.elements.IConfiguredByLayout
,org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
,org.eclnt.jsfserver.pagebean.IPageBean
,org.eclnt.jsfserver.util.valuemgmt.IDynamicContentBindingObject
- Direct Known Subclasses:
CCWorkplaceFunctionsDark
public class CCWorkplaceFunctions
extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent
implements Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
static class
Default implementation forCCWorkplaceFunctions.IListener
- which provides default implementations for all methods.static interface
We recommend to extend your implementation fromCCWorkplaceFunctions.DefaultListener
, so that new methods in IListener will not cause compilation problems on your side.Nested classes/interfaces inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.jsfserver.pagebean.component.PageBeanComponent.ILiteralResolver, org.eclnt.jsfserver.pagebean.component.PageBeanComponent.LitMap
-
Field Summary
Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean
m_pageModifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CCWorkplaceFunctionTree
Factory method for creating instances of inner function tree.Get info about current outlookbar items/sections that are currently shown in the workplace.int
List<org.eclnt.jsfserver.elements.impl.FIXGRIDTreeBinding<CCWorkplaceFunctionTree.FunctionNode>>
getTrees()
Direct access to all the function trees that are managed inside the workplace that is currently loadedboolean
Direct access to all the function trees UIs that are managed inside the workplace that is currently loadedvoid
prepare
(org.eclnt.workplace.WorkplaceFunctionTreeInfoNode rootNode, CCWorkplaceFunctions.IListener listener) searchFunctionNodes
(String searchText) Search for nodes inside the function trees.void
selectObItem
(int index) Select one of the outlook bar items.void
setObIndex
(int obIndex) void
setSeparatorColor
(String value) void
setStylevariantOutlookBar
(String value) void
setStylevariantOutlookBarContent
(String stylevariantOutlookBarContent) void
void
setWithMarkingOpenedNodes
(boolean withMarkingOpenedNodes) If set to true then nodes will be marked (font switched to weight "bold") in the functions trees for these nodes that are currently opened inside the workplace.void
takeOver
(org.eclnt.workplace.WorkplaceFunctionTreeInfoNode rootNode) Pass the hierarchy of functions that is to be displayed inside the components.Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
getLit, initializePageBean, initializePageBeanConfigItems
Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
addConfiguredByLayoutListener, findLiteralResourceName, getClassDefiningPageBean, getLayoutPath, getLiteralResolver, getPageName, initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized, readLiteral, readLiteralByOwnResourceBundle, removeConfiguredByLayoutListener, setLiteralResolver
Methods inherited from class org.eclnt.jsfserver.pagebean.PageBean
buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpression
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout
addConfiguredByLayoutListener, removeConfiguredByLayoutListener
Methods inherited from interface org.eclnt.jsfserver.pagebean.IPageBean
closePopup, getActualRootExpression, getPageModifier, getPageName, getStamp, onBeforeRendering, openModalPopup, openModelessPopup, setActualRootExpression
Methods inherited from interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
-
Constructor Details
-
CCWorkplaceFunctions
public CCWorkplaceFunctions(org.eclnt.workplace.IWorkpageDispatcher owner)
-
-
Method Details
-
getRootExpressionUsedInPage
- Specified by:
getRootExpressionUsedInPage
in interfaceorg.eclnt.jsfserver.pagebean.IPageBean
- Specified by:
getRootExpressionUsedInPage
in classorg.eclnt.jsfserver.pagebean.PageBean
-
getObIndex
public int getObIndex() -
setObIndex
public void setObIndex(int obIndex) -
prepare
public void prepare(org.eclnt.workplace.WorkplaceFunctionTreeInfoNode rootNode, CCWorkplaceFunctions.IListener listener) -
getStylevariantOutlookBar
-
setStylevariantOutlookBar
-
getStylevariantOutlookBarItem
-
setStylevariantOutlookBarItem
-
getStylevariantOutlookBarContent
-
setStylevariantOutlookBarContent
-
getSeparatorColor
-
setSeparatorColor
-
selectObItem
public void selectObItem(int index) Select one of the outlook bar items. This function is invoked internally by the user - but maybe also invoked from outside. -
getBarItems
Get info about current outlookbar items/sections that are currently shown in the workplace. -
getWorkplaceFunctionTreeUIs
Direct access to all the function trees UIs that are managed inside the workplace that is currently loaded -
getTrees
public List<org.eclnt.jsfserver.elements.impl.FIXGRIDTreeBinding<CCWorkplaceFunctionTree.FunctionNode>> getTrees()Direct access to all the function trees that are managed inside the workplace that is currently loaded -
takeOver
public void takeOver(org.eclnt.workplace.WorkplaceFunctionTreeInfoNode rootNode) Pass the hierarchy of functions that is to be displayed inside the components. Functions are distributed to OUTLOOKBAR (first level) and then into a tree (second level). -
searchFunctionNodes
Search for nodes inside the function trees. -
setWithMarkingOpenedNodes
public void setWithMarkingOpenedNodes(boolean withMarkingOpenedNodes) If set to true then nodes will be marked (font switched to weight "bold") in the functions trees for these nodes that are currently opened inside the workplace. -
getWithMarkingOpenedNodes
public boolean getWithMarkingOpenedNodes() -
createWorkplaceFunctionTree
Factory method for creating instances of inner function tree.
-