com.ptc.windchill.cadx.console
Class ConsoleNavBarURLActionDelegate

java.lang.Object
  extended bywt.templateutil.processor.DefaultNavBarActionDelegate
      extended bywt.templateutil.processor.DefaultNavBarURLActionDelegate
          extended bycom.ptc.windchill.cadx.console.ConsoleNavBarURLActionDelegate
All Implemented Interfaces:
ActionDelegate, NavBarActionDelegate, NavBarURLActionDelegate, Serializable, URLActionDelegate

public class ConsoleNavBarURLActionDelegate
extends DefaultNavBarURLActionDelegate
implements Serializable

See Also:
Serialized Form

Field Summary
private static String ACTION_PREFIX
           
private static String CLASSNAME
           
private static String DEF_ACTION_NAME
           
private static String EVENTCONSOLE_RESOURCE_KEY
           
private static String NAVBARRESOURCE
           
private static String RESOURCE
           
private static String URLP_GATEWAY
           
private static String URLP_METHOD
           
private static String WS_PREFIX
           
 
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
ConsoleNavBarURLActionDelegate()
           
 
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 wt.templateutil.processor.DefaultNavBarURLActionDelegate
getActionName, getClassURL, getState, isURLProvider, setActionName, setClassURL, setMethod, setResourceBundleStr, setResourceKey, setState
 
Methods inherited from class wt.templateutil.processor.DefaultNavBarActionDelegate
enableable, getContextServiceName, setContextServiceName, valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ConsoleNavBarURLActionDelegate

public ConsoleNavBarURLActionDelegate()
Method Detail

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