wt.wvs
Class ProductViewURLActionDelegate

java.lang.Object
  extended bycom.ptc.core.HTMLtemplateutil.server.processors.DefaultURLActionDelegate
      extended bywt.wvs.ProductViewURLActionDelegate
All Implemented Interfaces:
URLActionDelegate

public class ProductViewURLActionDelegate
extends DefaultURLActionDelegate


Field Summary
private  String label
           
private static int PV_PUBLISH_ICON
           
private static int PV_PUBLISH_TOOLTIP
           
private static int PV_PUBLISH_URL
           
static String RESOURCE
           
private static int THUMBNAIL
           
private static String VIEW_THUMBNAIL_LABEL
           
private static int VIEW_THUMBNAIL_URL
           
private static VisualizationHelperIfc visHelper
           
private static boolean wvsEnabled
           
 
Fields inherited from class com.ptc.core.HTMLtemplateutil.server.processors.DefaultURLActionDelegate
 
Fields inherited from interface wt.enterprise.URLActionDelegate
ACTION_NAME, CLASS_URL
 
Constructor Summary
ProductViewURLActionDelegate()
           
 
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 com.ptc.core.HTMLtemplateutil.server.processors.DefaultURLActionDelegate
getActionName, getClassURL, setActionName, setClassURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

private String label

PV_PUBLISH_URL

private static final int PV_PUBLISH_URL
See Also:
Constant Field Values

PV_PUBLISH_ICON

private static final int PV_PUBLISH_ICON
See Also:
Constant Field Values

PV_PUBLISH_TOOLTIP

private static final int PV_PUBLISH_TOOLTIP
See Also:
Constant Field Values

THUMBNAIL

private static final int THUMBNAIL
See Also:
Constant Field Values

VIEW_THUMBNAIL_URL

private static final int VIEW_THUMBNAIL_URL
See Also:
Constant Field Values

VIEW_THUMBNAIL_LABEL

private static final String VIEW_THUMBNAIL_LABEL
See Also:
Constant Field Values

RESOURCE

public static final String RESOURCE
See Also:
Constant Field Values

visHelper

private static VisualizationHelperIfc visHelper

wvsEnabled

private static boolean wvsEnabled
Constructor Detail

ProductViewURLActionDelegate

public ProductViewURLActionDelegate()
Method Detail

URL

public String URL(Object object)
           throws WTException
Returns a URL which when selected will perform the action on the object.

Specified by:
URL in interface URLActionDelegate
Specified by:
URL in class DefaultURLActionDelegate
Parameters:
object -
Returns:
String
Throws:
WTException

getURLLabel

public String getURLLabel(Locale locale)
Returns a localized label for a URL for the actions. must call URL() before calling getURLLabel, or else the label will not be initialized

Specified by:
getURLLabel in interface URLActionDelegate
Overrides:
getURLLabel in class DefaultURLActionDelegate
Parameters:
locale -
Returns:
String