com.ptc.windchill.cadx.console
Class ConsoleNavBarURLActionDelegate
java.lang.Object
wt.templateutil.processor.DefaultNavBarActionDelegate
wt.templateutil.processor.DefaultNavBarURLActionDelegate
com.ptc.windchill.cadx.console.ConsoleNavBarURLActionDelegate
- All Implemented Interfaces:
- ActionDelegate, NavBarActionDelegate, NavBarURLActionDelegate, Serializable, URLActionDelegate
- public class ConsoleNavBarURLActionDelegate
- extends DefaultNavBarURLActionDelegate
- implements Serializable
- See Also:
- Serialized Form
Method Summary |
String |
getURLLabel(Locale locale)
Returns a localized label for a URL for the actions. |
String |
URL(Object object)
Returns a URL which when selected will perform the action on the object. |
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
NAVBARRESOURCE
private static final String NAVBARRESOURCE
- See Also:
- Constant Field Values
EVENTCONSOLE_RESOURCE_KEY
private static final String EVENTCONSOLE_RESOURCE_KEY
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
URLP_GATEWAY
private static final String URLP_GATEWAY
- See Also:
- Constant Field Values
URLP_METHOD
private static final String URLP_METHOD
- See Also:
- Constant Field Values
WS_PREFIX
private static final String WS_PREFIX
- See Also:
- Constant Field Values
ACTION_PREFIX
private static final String ACTION_PREFIX
- See Also:
- Constant Field Values
DEF_ACTION_NAME
private static final String DEF_ACTION_NAME
- See Also:
- Constant Field Values
ConsoleNavBarURLActionDelegate
public ConsoleNavBarURLActionDelegate()
URL
public String URL(Object object)
throws WTException
- Description copied from class:
DefaultNavBarURLActionDelegate
- Returns a URL which when selected will perform the action on the object.
This method should not be called when the concrete URLActionDelegate
class is unknown. In that case, call BasicTemplateProcessor.getURLFromDelegate()
instead.
Supported API: true
- Specified by:
URL
in interface URLActionDelegate
- Overrides:
URL
in class DefaultNavBarURLActionDelegate
- Parameters:
object
-
- Returns:
- String
- Throws:
WTException
getURLLabel
public String getURLLabel(Locale locale)
- Description copied from class:
DefaultNavBarURLActionDelegate
- Returns a localized label for a URL for the actions.
Supported API: true
- Specified by:
getURLLabel
in interface URLActionDelegate
- Overrides:
getURLLabel
in class DefaultNavBarURLActionDelegate
- Parameters:
locale
-
- Returns:
- String