Class CCWorkplaceFunctionTree.FunctionNode

java.lang.Object
org.eclnt.jsfserver.elements.impl.FIXGRIDItem
org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
org.eclnt.ccaddons.pbc.CCWorkplaceFunctionTree.FunctionNode
All Implemented Interfaces:
Serializable, Comparable, org.eclnt.jsfserver.elements.impl.IFIXGRIDItem, org.eclnt.workplace.IWorkpageStartInfo
Enclosing class:
CCWorkplaceFunctionTree

public class CCWorkplaceFunctionTree.FunctionNode extends org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem implements org.eclnt.workplace.IWorkpageStartInfo, Serializable
Represents function in function tree. The node is either a folder node - then it just provides a text and (optionally) an image. Or it is a node containing workpage start information.
See Also:
  • Constructor Details

    • FunctionNode

      public FunctionNode(org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem parentNode)
      This constructor is used when creating folder nodes.
    • FunctionNode

      public FunctionNode(org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem parentNode, String page)
      This constructor is used when creating page nodes - containing start information.
    • FunctionNode

      public FunctionNode(org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem parentNode, org.eclnt.workplace.WorkpageStartInfo wpsi)
  • Method Details

    • processTREENDOEAction

      public void processTREENDOEAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
      Overrides:
      processTREENDOEAction in class org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
    • getSortIndex

      public int getSortIndex()
      Specified by:
      getSortIndex in interface org.eclnt.workplace.IWorkpageStartInfo
    • setClientName

      public void setClientName(String clientName)
    • setDecorated

      public void setDecorated(boolean value)
      Specified by:
      setDecorated in interface org.eclnt.workplace.IWorkpageStartInfo
    • setOpenMultipleInstances

      public void setOpenMultipleInstances(boolean value)
      Specified by:
      setOpenMultipleInstances in interface org.eclnt.workplace.IWorkpageStartInfo
    • getWindowTitle

      public String getWindowTitle()
      Specified by:
      getWindowTitle in interface org.eclnt.workplace.IWorkpageStartInfo
    • isDecorated

      public boolean isDecorated()
      Specified by:
      isDecorated in interface org.eclnt.workplace.IWorkpageStartInfo
    • getOpenMultipleInstances

      public boolean getOpenMultipleInstances()
      Specified by:
      getOpenMultipleInstances in interface org.eclnt.workplace.IWorkpageStartInfo
    • getOpenAsPopupByDefault

      public boolean getOpenAsPopupByDefault()
      Specified by:
      getOpenAsPopupByDefault in interface org.eclnt.workplace.IWorkpageStartInfo
    • getJspPage

      public String getJspPage()
      Specified by:
      getJspPage in interface org.eclnt.workplace.IWorkpageStartInfo
    • getId

      public String getId()
      Specified by:
      getId in interface org.eclnt.workplace.IWorkpageStartInfo
    • getParam

      public String getParam(String paramName)
      Specified by:
      getParam in interface org.eclnt.workplace.IWorkpageStartInfo
    • getParamMap

      public Map<String,String> getParamMap()
      Specified by:
      getParamMap in interface org.eclnt.workplace.IWorkpageStartInfo
    • setFunctionClassName

      public void setFunctionClassName(String functionClassName)
      Specified by:
      setFunctionClassName in interface org.eclnt.workplace.IWorkpageStartInfo
    • getFunctionClassName

      public String getFunctionClassName()
      Specified by:
      getFunctionClassName in interface org.eclnt.workplace.IWorkpageStartInfo
    • getClientName

      public String getClientName()
      Specified by:
      getClientName in interface org.eclnt.workplace.IWorkpageStartInfo
    • onRowExecute

      public void onRowExecute()
      Specified by:
      onRowExecute in interface org.eclnt.jsfserver.elements.impl.IFIXGRIDItem
      Overrides:
      onRowExecute in class org.eclnt.jsfserver.elements.impl.FIXGRIDItem
    • onToggle

      public void onToggle()
      Overrides:
      onToggle in class org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
    • onRowSelect

      public void onRowSelect()
      Specified by:
      onRowSelect in interface org.eclnt.jsfserver.elements.impl.IFIXGRIDItem
      Overrides:
      onRowSelect in class org.eclnt.jsfserver.elements.impl.FIXGRIDItem
    • getDragSend

      public String getDragSend()
      Returns drag-send information of the node. Please note this is not a 100% counter-part of setDragSend(String): each node may get assigned some workplace-internal drag-send information in addition to what you may pass within the setDragSend method.
    • setText

      public void setText(String value)
      Specified by:
      setText in interface org.eclnt.workplace.IWorkpageStartInfo
      Overrides:
      setText in class org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
    • setImage

      public void setImage(String value)
      Specified by:
      setImage in interface org.eclnt.workplace.IWorkpageStartInfo
      Overrides:
      setImage in class org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
    • setId

      public void setId(String value)
      Specified by:
      setId in interface org.eclnt.workplace.IWorkpageStartInfo
    • getText

      public String getText()
      Specified by:
      getText in interface org.eclnt.workplace.IWorkpageStartInfo
      Overrides:
      getText in class org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
    • getTextOriginal

      public String getTextOriginal()
      The text may be an expression. While getText() returns the resolved expression, this method returns the original text.
    • getImage

      public String getImage()
      Specified by:
      getImage in interface org.eclnt.workplace.IWorkpageStartInfo
      Overrides:
      getImage in class org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
    • getSelectorBgpaint

      public String getSelectorBgpaint()
      Specified by:
      getSelectorBgpaint in interface org.eclnt.workplace.IWorkpageStartInfo
    • setSelectorBgpaint

      public void setSelectorBgpaint(String selectorBgpaint)
      Specified by:
      setSelectorBgpaint in interface org.eclnt.workplace.IWorkpageStartInfo
    • setParam

      public void setParam(String paramName, String paramValue)
      Specified by:
      setParam in interface org.eclnt.workplace.IWorkpageStartInfo
    • removeParam

      public void removeParam(String paramName)
      Specified by:
      removeParam in interface org.eclnt.workplace.IWorkpageStartInfo
    • setJspPage

      public void setJspPage(String jspPage)
      Specified by:
      setJspPage in interface org.eclnt.workplace.IWorkpageStartInfo
    • setPopupSupported

      public void setPopupSupported(boolean value)
      Specified by:
      setPopupSupported in interface org.eclnt.workplace.IWorkpageStartInfo
    • setCloseSupported

      public void setCloseSupported(boolean value)
      Specified by:
      setCloseSupported in interface org.eclnt.workplace.IWorkpageStartInfo
    • setOpenAsPopupByDefault

      public void setOpenAsPopupByDefault(boolean value)
      Specified by:
      setOpenAsPopupByDefault in interface org.eclnt.workplace.IWorkpageStartInfo
    • setSelectorTitle

      public void setSelectorTitle(String value)
      Specified by:
      setSelectorTitle in interface org.eclnt.workplace.IWorkpageStartInfo
    • setWindowTitle

      public void setWindowTitle(String value)
      Specified by:
      setWindowTitle in interface org.eclnt.workplace.IWorkpageStartInfo
    • setDropReceive

      public void setDropReceive(String value)
      You can explicitly set the DROPRECEIVE statement within the function node - so that you can drag&drop information into the workplace function tree.
    • getDropReceive

      public String getDropReceive()
    • setDragSend

      public void setDragSend(String value)
      You can explicitly add drag-send information to the node.
    • getWorkpageStartInfo

      public org.eclnt.workplace.WorkpageStartInfo getWorkpageStartInfo()
    • setStartSubWorkpageContainerId

      public void setStartSubWorkpageContainerId(String value)
      Specified by:
      setStartSubWorkpageContainerId in interface org.eclnt.workplace.IWorkpageStartInfo
    • getPopupSuppoted

      public boolean getPopupSuppoted()
      Specified by:
      getPopupSuppoted in interface org.eclnt.workplace.IWorkpageStartInfo
    • getCloseSupported

      public boolean getCloseSupported()
      Specified by:
      getCloseSupported in interface org.eclnt.workplace.IWorkpageStartInfo
    • getStartSubWorkpageContainerId

      public String getStartSubWorkpageContainerId()
      Specified by:
      getStartSubWorkpageContainerId in interface org.eclnt.workplace.IWorkpageStartInfo
    • getSelectorTitle

      public String getSelectorTitle()
      Specified by:
      getSelectorTitle in interface org.eclnt.workplace.IWorkpageStartInfo
    • setPageBeanName

      public void setPageBeanName(String pageBeanName)
      Specified by:
      setPageBeanName in interface org.eclnt.workplace.IWorkpageStartInfo
    • getPageBeanName

      public String getPageBeanName()
      Specified by:
      getPageBeanName in interface org.eclnt.workplace.IWorkpageStartInfo
    • setNodeTooltip

      public void setNodeTooltip(String nodeTooltip)
    • getTooltip

      public String getTooltip()
    • getExcludeFromSavePerspective

      public boolean getExcludeFromSavePerspective()
      Specified by:
      getExcludeFromSavePerspective in interface org.eclnt.workplace.IWorkpageStartInfo
    • setExcludeFromSavePerspective

      public void setExcludeFromSavePerspective(boolean excludeFromSavePerspective)
      Specified by:
      setExcludeFromSavePerspective in interface org.eclnt.workplace.IWorkpageStartInfo
    • getComment

      public String getComment()
      Specified by:
      getComment in interface org.eclnt.workplace.IWorkpageStartInfo
    • setComment

      public void setComment(String comment)
      Specified by:
      setComment in interface org.eclnt.workplace.IWorkpageStartInfo
    • getCommentImage

      public String getCommentImage()
      Specified by:
      getCommentImage in interface org.eclnt.workplace.IWorkpageStartInfo
    • setCommentImage

      public void setCommentImage(String commentImage)
      Specified by:
      setCommentImage in interface org.eclnt.workplace.IWorkpageStartInfo
    • getCode

      public String getCode()
      Specified by:
      getCode in interface org.eclnt.workplace.IWorkpageStartInfo
    • setCode

      public void setCode(String code)
      Specified by:
      setCode in interface org.eclnt.workplace.IWorkpageStartInfo
    • getAppReference1

      public String getAppReference1()
      Specified by:
      getAppReference1 in interface org.eclnt.workplace.IWorkpageStartInfo
    • setAppReference1

      public void setAppReference1(String appReference1)
      Specified by:
      setAppReference1 in interface org.eclnt.workplace.IWorkpageStartInfo
    • getAppReference2

      public String getAppReference2()
      Specified by:
      getAppReference2 in interface org.eclnt.workplace.IWorkpageStartInfo
    • setAppReference2

      public void setAppReference2(String appReference2)
      Specified by:
      setAppReference2 in interface org.eclnt.workplace.IWorkpageStartInfo
    • getAppReference3

      public String getAppReference3()
      Specified by:
      getAppReference3 in interface org.eclnt.workplace.IWorkpageStartInfo
    • setAppReference3

      public void setAppReference3(String appReference3)
      Specified by:
      setAppReference3 in interface org.eclnt.workplace.IWorkpageStartInfo
    • getFont

      public String getFont()
      Calculation of font: the currently opened items are rendered with font-weight "bold"
      Returns: