com.ptc.windchill.cadx.caddoc
Class PDMLinkOnlyNavBarCADDocURLActionDelegate
java.lang.Object
wt.templateutil.processor.DefaultNavBarActionDelegate
wt.templateutil.processor.DefaultNavBarURLActionDelegate
wt.templateutil.processor.ObjectPropsNavBarURLActionDelegate
com.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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDMLinkOnlyNavBarCADDocURLActionDelegate
public PDMLinkOnlyNavBarCADDocURLActionDelegate()
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