com.ptc.windchill.cadx.caddoc
Class PDMLinkOnlyNavBarCADDocURLActionDelegate

java.lang.Object
  extended bywt.templateutil.processor.DefaultNavBarActionDelegate
      extended bywt.templateutil.processor.DefaultNavBarURLActionDelegate
          extended bywt.templateutil.processor.ObjectPropsNavBarURLActionDelegate
              extended bycom.ptc.windchill.cadx.caddoc.PDMLinkOnlyNavBarCADDocURLActionDelegate
All Implemented Interfaces:
ActionDelegate, NavBarActionDelegate, NavBarURLActionDelegate, URLActionDelegate

public class PDMLinkOnlyNavBarCADDocURLActionDelegate
extends ObjectPropsNavBarURLActionDelegate

URLActionDelegate and ActionDelegate class used to determine if NavBar actions for the CAD Document (EPMDocument class) should be visible or not. This class is used for NavBar actions that are only valid when PDMLink is installed. This actions are valid only when PDMLink is installed because the templates (html pages) are dependent on other html templates and classes that are only available when PDMLink is installed.


Field Summary
 
Fields inherited from class wt.templateutil.processor.ObjectPropsNavBarURLActionDelegate
 
Fields inherited from class wt.templateutil.processor.DefaultNavBarURLActionDelegate
helper
 
Fields inherited from class wt.templateutil.processor.DefaultNavBarActionDelegate
CONTEXT_SERVICE_NAME
 
Fields inherited from interface wt.enterprise.URLActionDelegate
ACTION_NAME, CLASS_URL
 
Constructor Summary
PDMLinkOnlyNavBarCADDocURLActionDelegate()
           
 
Method Summary
 Boolean enableable(Object object)
          Tests if the action is currently applicable to the instance object; commonly used at the time a GUI is generated to see if the action should be "enabled" for the object, another common usage will be at the time that the action is to be performed, to see if it is still applicable.
 
Methods inherited from class wt.templateutil.processor.DefaultNavBarURLActionDelegate
getActionName, getClassURL, getState, getURLLabel, isURLProvider, setActionName, setClassURL, setMethod, setResourceBundleStr, setResourceKey, setState, URL
 
Methods inherited from class wt.templateutil.processor.DefaultNavBarActionDelegate
getContextServiceName, setContextServiceName, valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDMLinkOnlyNavBarCADDocURLActionDelegate

public PDMLinkOnlyNavBarCADDocURLActionDelegate()
Method Detail

enableable

public Boolean enableable(Object object)
                   throws WTException
Description copied from class: DefaultNavBarActionDelegate
Tests if the action is currently applicable to the instance object; commonly used at the time a GUI is generated to see if the action should be "enabled" for the object, another common usage will be at the time that the action is to be performed, to see if it is still applicable. This method should not be called when the concrete ActionDelegate class is unknown. In that case, call BasicTemplateProcessor.accessOK() instead.

Supported API: true

Specified by:
enableable in interface ActionDelegate
Overrides:
enableable in class DefaultNavBarActionDelegate
Parameters:
object - The object that you wish to set enabled.
Returns:
Boolean
Throws:
WTException