com.filenet.wcm.apps.server.ui.wizard.webcontent
Class WebContentEntryDesignerContentPage.WebContentContextMenu

java.lang.Object
  extended bycom.filenet.wcm.toolkit.server.base.WcmDpContainer
      extended bycom.filenet.wcm.toolkit.server.base.WcmModule
          extended bycom.filenet.wcm.toolkit.server.base.GlobalEventModule
              extended bycom.filenet.wcm.toolkit.server.base.WcmUiModule
                  extended bycom.filenet.wcm.apps.server.presentation.ui.ContextMenu
                      extended bycom.filenet.wcm.apps.server.ui.wizard.webcontent.WebContentEntryDesignerContentPage.WebContentContextMenu
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Enclosing class:
WebContentEntryDesignerContentPage

public class WebContentEntryDesignerContentPage.WebContentContextMenu
extends com.filenet.wcm.apps.server.presentation.ui.ContextMenu


Field Summary
 
Fields inherited from class com.filenet.wcm.apps.server.presentation.ui.ContextMenu
wsNoActionsError, wsNoItemsChecked
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER
 
Constructor Summary
WebContentEntryDesignerContentPage.WebContentContextMenu()
           
 
Method Summary
 void cleanup()
           
 void clearActions()
           
protected  java.util.List getActions()
          Override to customize actions list retreival.
 void initialize()
           
 boolean isModified(int index)
          Is the select action in a modified state?
 boolean isVerified(int index)
          Is the select action in a verified state?
 void render(java.io.Writer w)
           
protected  void renderOpenActionRow(java.io.Writer w, com.filenet.wcm.apps.server.presentation.util.ActionDefinition action, boolean mainMenu)
          Override to customize the rendering of the TR that opens the menu row.
 void setVerified(int index)
          Set the action state to verified.
 
Methods inherited from class com.filenet.wcm.apps.server.presentation.ui.ContextMenu
getRootMenuId, renderList, setShowActionIcons, setThickClientWindow
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmUiModule
getActive, getBasePath, getBaseUrl, getBaseURLBuilder, getControllerEventUrl, getControllerEventUrl, getEventFormFields, getEventFormFields, getEventFormTag, getEventFormTag, getEventUrl, getEventUrl, getEventUrl, getEventUrl, getFormName, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive, setJSP
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule
onStartPage, subscribeGlobalEvent
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
addChild, addChild, addChild, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer
addDataProvider, addDataProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
onStartPage
 
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
addDataProvider, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent
 

Constructor Detail

WebContentEntryDesignerContentPage.WebContentContextMenu

public WebContentEntryDesignerContentPage.WebContentContextMenu()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

render

public void render(java.io.Writer w)
            throws java.lang.Exception
Throws:
java.lang.Exception

clearActions

public void clearActions()
                  throws java.lang.Exception
Throws:
java.lang.Exception

cleanup

public void cleanup()
             throws java.lang.Exception
Throws:
java.lang.Exception

getActions

protected java.util.List getActions()
Override to customize actions list retreival.

Returns:
The ActionDefinitions list.

setVerified

public void setVerified(int index)
Set the action state to verified.

Parameters:
index - int the position of the action in the action list.

isVerified

public boolean isVerified(int index)
Is the select action in a verified state?

Parameters:
index - int the position of the action in the action list.
Returns:
boolean true if it is in a verified state.

isModified

public boolean isModified(int index)
Is the select action in a modified state?

Parameters:
index - int the position of the action in the action list.
Returns:
boolean true if it is in a modified state.

renderOpenActionRow

protected void renderOpenActionRow(java.io.Writer w,
                                   com.filenet.wcm.apps.server.presentation.util.ActionDefinition action,
                                   boolean mainMenu)
                            throws java.lang.Exception
Override to customize the rendering of the TR that opens the menu row.

Parameters:
w -
action - The ActionDefinition to use.
mainMenu - Whether or not this is the root (main) menu and not a submenu.
Throws:
java.lang.Exception


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.