com.ptc.windchill.cadx.caddoc
Class NavBarForumActionDelegate
java.lang.Object
wt.workflow.forum.ForumActionDelegate
com.ptc.windchill.cadx.caddoc.NavBarForumActionDelegate
- All Implemented Interfaces:
- ActionDelegate, NavBarActionDelegate, Serializable
- public class NavBarForumActionDelegate
- extends ForumActionDelegate
- implements NavBarActionDelegate, Serializable
Supported API: true
Extendable: false
- See Also:
- Serialized Form
Method Summary |
void |
setActionName(String action)
Sets the current Action. |
void |
setState(HTTPState state)
Deprecated. |
Boolean |
valid(Object object)
Tests if the action is valid on all instances of the class of object;
commonly used in the construction of dynamically generated GUIs to
determine if a particular action should appear. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
NavBarForumActionDelegate
public NavBarForumActionDelegate()
setState
public void setState(HTTPState state)
- Deprecated.
- Sets the current HTTPState from the TemplateProcessor that is being
used to generate the Navigation Bar.
Supported API: true
- Specified by:
setState
in interface NavBarActionDelegate
- Parameters:
state
- The current HTTPState.
- Returns:
- void
setActionName
public void setActionName(String action)
throws WTPropertyVetoException
- Sets the current Action. This is a bit of a kludge to allow re-using
existing ActionDelegates
Supported API: false
Supported API: false
Supported API: false
- Specified by:
setActionName
in interface NavBarActionDelegate
- Parameters:
action
-
- Returns:
- void
- Throws:
WTPropertyVetoException
valid
public Boolean valid(Object object)
- Description copied from interface:
ActionDelegate
- Tests if the action is valid on all instances of the class of object;
commonly used in the construction of dynamically generated GUIs to
determine if a particular action should appear. For instance, the
valid method of the "check-in" action will test if the object is "Workable"
or not.
Supported API: true
- Specified by:
valid
in interface ActionDelegate
- Overrides:
valid
in class ForumActionDelegate
- Parameters:
object
- The object that you want to test validity on.
- Returns:
- Boolean