com.ptc.wvs.common.ui
Class VisualizationHelper

java.lang.Object
  extended bycom.ptc.wvs.common.ui.VisualizationHelper
All Implemented Interfaces:
VisualizationHelperIfc

public class VisualizationHelper
extends Object
implements VisualizationHelperIfc

The VisualizationHelper class provides abstract access to class methods in the com.ptc.wvs package from external packages such as wt and provides visualization helper methods.

Supported API: true


Field Summary
static String DEFAULT_THUMBNAILS_PROP_PAGE_PREF_VALUE
          Thumbnail preference default value to use in getIndexOfVisLink

Supported API: true
static String THUMBNAILS_PROP_PAGE_PREF_KEY
          Thumbnail preference key to use in getIndexOfVisLink

Supported API: true
 
Fields inherited from interface wt.wvs.VisualizationHelperIfc
CLIPBOARD_LINK, DEFAULT_ICON, DEFAULT_PVIEW_UPLOAD_PREF_VALUE, DEFAULT_THUMBNAILS_SEARCH_PREF_VALUE, DEFAULT_THUMBNAILS_VIS_PORTAL_PREF_VALUE, DEFAULT_USEPRODUCTVIEW_PREF_VALUE, DEFAULT_VIS_TOOL_TIPS_PREF_VALUE, DELETE_LINK, HAS_MARKUP_ICON, MAKE_DEFAULT, NUMBER_OF_VISDATA, PART_VIEW_LINK, PREF_PVIEW_UPLOAD_ALL, PREF_PVIEW_UPLOAD_ON_DEMAND, PREF_VALUE_NO, PREF_VALUE_YES, PRINT_LINK, PRODUCTVIEW_LINK, PRODUCTVIEWLITE_LINK, PV_PS_LINK, PVIEW_UPLOAD_PREF_KEY, PVIEW_UPLOAD_PREF_NODE, REFRESH_LINK, REP_CONFIG_SPEC, REP_DATE_CREATED, REP_DESCRIPTION, REP_NAME, REPRESENTATIONS, SAVE_ZIP_LINK, THUMBNAIL_LINK, THUMBNAIL_VIEWER_LINK, THUMBNAILS_PREF_NODE, THUMBNAILS_SEARCH_PREF_KEY, THUMBNAILS_VIS_PORTAL_PREF_KEY, USEPRODUCTVIEW_PREF_KEY, USEPRODUCTVIEW_PREF_NODE, VIS_TOOL_TIPS_PREF_KEY, VIS_TOOL_TIPS_PREF_NODE
 
Constructor Summary
VisualizationHelper()
           
 
Method Summary
 int clipboardLinkIndex()
          Returns the index of the Add to Clipboard link in the data array returned by getDefaultVisualizationData

Supported API: true
 int defaultIconIndex()
          Returns the index of the Default Representation link in the data array returned by getDefaultVisualizationData

Supported API: false
 int deleteLinkIndex()
          Returns the index of the delete link in the data array returned by getDefaultVisualizationData

Supported API: false
 String getCreateDialogWindow()
          Returns the JavaScript to create a Dialog Window.
 String[] getDefaultVisualizationData(String representableObjectReference, Boolean forListing, Locale locale)
          Returns a set of HTML fragments to display thumbnails and other visualization action links

Supported API: true
 String getDocThumbnailImage()
          Returns the name of the dummy WTDocument thumbnail image file

Supported API: false
 int getIndexOfVisLink(String prefKey, String prefDefault)
          Returns the index in the data array returned by getDefaultVisualizationData of the HTML fragment to use for launching PV.
 String getJSPDirectoryPath()
          Returns the path of the visualization jsp page directory in codebase

Supported API: false
 String getPartStructureBasicURL(String objRef, String configString, Integer levels)
          Returns the URL to the Visualization for the representation

Supported API: false
 String[] getPartStructureCreateRepFormHTML(String objectReference, Integer levels, Integer type, Locale locale)
          Returns HTML fragments for creating a representation for the WTPart structure.
 String getPartStructureED(String objectReference, String configString, Integer levels)
          Returns ED file content for viewing the WTPart structure.
 String[] getPartStructureFormHTML(String objectReference, Integer levels, Integer type, Locale locale)
          Returns HTML fragments for viewing the WTPart structure.
 String getPartStructureHTML(String objectReference, String configString, Integer levels, Locale locale)
          Returns the HTML fragment for viewing the WTPart structure, the users current WTPartConfigSpec will be used.
 String getPartStructureHTML(String objectReference, String configString, Integer levels, Locale locale, Boolean displayThumbnail, Boolean forListing)
          Returns the HTML fragment for viewing the WTPart structure, the users current WTPartConfigSpec will be used.
 String getPartStructurePublishHTML(String objectReference)
          Returns an HTML fragment to allow publishing of a default representation from a WTPart or EPMDocument NOTE: this is not publishing the Part Structure, it is publishing the EPMDoc.
 String[] getPartStructurePVandViewThumbnailLinkHTML(String objectReference)
          Returns 2 HTML fragments to view in PV and view the thumbnail of the default representation from the HTML Product Structure page.
 WTKeyedMap getPartStructurePVandViewThumbnailLinkHTML(WTCollection collection)
          Returns 2 HTML fragments to view in PV and view the thumbnail of the default representation from the HTML Product Structure page.
 String getPartStructurePVHTML(String objectReference)
          Returns an HTML fragment to allow ProductView or ProductViewLite to be launched from the object NAME/NUMBER links in HTML tables and the Product Structure page.
 WTKeyedMap getPartStructurePVHTML(WTCollection collection)
          Returns a set of HTML fragment to allow ProductView to be launched from the NAME link on the HTML Product Structure page.
 String getPartStructureViewThumbnailLinkHTML(String objectReference)
          Returns an HTML fragment to allow the thumbnail to be launched from the object NAME/NUMBER links in HTML tables and the Product Structure page.
 WTKeyedMap getPartStructureViewThumbnailLinkHTML(WTCollection collection)
          Returns a set of HTML fragment to view the thumbnail of the default representation from the HTML Product Structure page.
 String getPVFileUploadPref()
          Returns the user preference for uploading ProductView files.
 int[] getThumbnailSize()
          Returns the thumbnail width and height

Supported API: true
 String getThumbnailURL(String objectReference)
          Returns the URL to the Thumbnail Image for the representation

Supported API: false
 String getVisLink(String objectReference, String prefKey, String prefDefault, Boolean forListing)
          Returns the HTML for the URL and image to be displayed as a thumbnail for an object, based on the thumbnail preference for the client.
 String getVisLink(String objectReference, String prefKey, String prefDefault, Boolean forListing, Locale locale)
          Returns the HTML for the URL and image to be displayed as a thumbnail for an object, based on the thumbnail preference for the client.
 String getVisToolTipsPref()
          Returns the user preference for displaying Visualization tool tips The return value will be either VisualizationHelperIfc.PREF_VALUE_YES or VisualizationHelperIfc.PREF_VALUE_NO.
 int hasMarkupIconIndex()
          Returns the index of the Markups link in the data array returned by getDefaultVisualizationData

Supported API: false
static boolean isAdministrator()
          Determines if the current user is a Windchill administrator

Supported API: false
 boolean isWVSEnabled()
          Returns true if visualization services are enabled

Supported API: true
 int makeDefaultLinkIndex()
          Returns the index of the make default link in the data array returned by getDefaultVisualizationData

Supported API: false
static VisualizationHelper newVisualizationHelper()
          Default factory for the class.
 int printLinkIndex()
          Returns the index of the Print link in the data array returned by getDefaultVisualizationData

Supported API: true
 int productViewLinkIndex()
          Returns the index of the Launch ProductView link in the data array returned by getDefaultVisualizationData

Supported API: true
 int refreshLinkIndex()
          Returns the index of the refresh link in the data array returned by getDefaultVisualizationData

Supported API: false
 int repConfigSpecIndex()
          Returns the index of the representation config spec in the data array returned by getDefaultVisualizationData

Supported API: false
 int repDateCreatedIndex()
          Returns the index of the representation creation date in the data array returned by getDefaultVisualizationData

Supported API: false
 int repDescriptionIndex()
          Returns the index of the representation description in the data array returned by getDefaultVisualizationData

Supported API: false
 int repNameIndex()
          Returns the index of the representation name in the data array returned by getDefaultVisualizationData

Supported API: false
 int thumbnailLinkIndex()
          Returns the index of the thumbnail, Publish Me, or Launch ProductView link in the data array returned by getDefaultVisualizationData.
 int viewPartStructureLinkIndex()
          Returns the index of the part structure view link in the data array returned by getDefaultVisualizationData

Supported API: false
 int viewRepsLinkIndex()
          Returns the index of the view representations link in the data array returned by getDefaultVisualizationData

Supported API: true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THUMBNAILS_PROP_PAGE_PREF_KEY

public static final String THUMBNAILS_PROP_PAGE_PREF_KEY
Thumbnail preference key to use in getIndexOfVisLink

Supported API: true

See Also:
Constant Field Values

DEFAULT_THUMBNAILS_PROP_PAGE_PREF_VALUE

public static final String DEFAULT_THUMBNAILS_PROP_PAGE_PREF_VALUE
Thumbnail preference default value to use in getIndexOfVisLink

Supported API: true

See Also:
Constant Field Values
Constructor Detail

VisualizationHelper

public VisualizationHelper()
Method Detail

isWVSEnabled

public boolean isWVSEnabled()
Returns true if visualization services are enabled

Supported API: true

Specified by:
isWVSEnabled in interface VisualizationHelperIfc

getPVFileUploadPref

public String getPVFileUploadPref()
Returns the user preference for uploading ProductView files. The return value will be either VisualizationHelperIfc.PREF_PVIEW_UPLOAD_ALL or VisualizationHelperIfc.PREF_PVIEW_UPLOAD_ON_DEMAND.

Supported API: false

Specified by:
getPVFileUploadPref in interface VisualizationHelperIfc

getVisToolTipsPref

public String getVisToolTipsPref()
Returns the user preference for displaying Visualization tool tips The return value will be either VisualizationHelperIfc.PREF_VALUE_YES or VisualizationHelperIfc.PREF_VALUE_NO.

Supported API: false

Specified by:
getVisToolTipsPref in interface VisualizationHelperIfc

getJSPDirectoryPath

public String getJSPDirectoryPath()
Returns the path of the visualization jsp page directory in codebase

Supported API: false

Specified by:
getJSPDirectoryPath in interface VisualizationHelperIfc

getThumbnailSize

public int[] getThumbnailSize()
Returns the thumbnail width and height

Supported API: true

Specified by:
getThumbnailSize in interface VisualizationHelperIfc

getDocThumbnailImage

public String getDocThumbnailImage()
Returns the name of the dummy WTDocument thumbnail image file

Supported API: false

Specified by:
getDocThumbnailImage in interface VisualizationHelperIfc

getCreateDialogWindow

public String getCreateDialogWindow()
Returns the JavaScript to create a Dialog Window. This should be called once per page, and included in the HEAD of the page

Supported API: true

Specified by:
getCreateDialogWindow in interface VisualizationHelperIfc

getDefaultVisualizationData

public String[] getDefaultVisualizationData(String representableObjectReference,
                                            Boolean forListing,
                                            Locale locale)
Returns a set of HTML fragments to display thumbnails and other visualization action links

Supported API: true

Specified by:
getDefaultVisualizationData in interface VisualizationHelperIfc
Parameters:
representableObjectReference - The object reference of the representable
forListing - Specifies if the resulting HTML is to be used in a listing
locale - Specifies the locale to use for tooltip display
Returns:
String[] HTML fragments, which can be extracted using the "...Index" methods in this class

productViewLinkIndex

public int productViewLinkIndex()
Returns the index of the Launch ProductView link in the data array returned by getDefaultVisualizationData

Supported API: true

Specified by:
productViewLinkIndex in interface VisualizationHelperIfc

thumbnailLinkIndex

public int thumbnailLinkIndex()
Returns the index of the thumbnail, Publish Me, or Launch ProductView link in the data array returned by getDefaultVisualizationData. The graphic returned depends on the state of the Representable object.

Supported API: true

Specified by:
thumbnailLinkIndex in interface VisualizationHelperIfc

clipboardLinkIndex

public int clipboardLinkIndex()
Returns the index of the Add to Clipboard link in the data array returned by getDefaultVisualizationData

Supported API: true

Specified by:
clipboardLinkIndex in interface VisualizationHelperIfc

printLinkIndex

public int printLinkIndex()
Returns the index of the Print link in the data array returned by getDefaultVisualizationData

Supported API: true

Specified by:
printLinkIndex in interface VisualizationHelperIfc

defaultIconIndex

public int defaultIconIndex()
Returns the index of the Default Representation link in the data array returned by getDefaultVisualizationData

Supported API: false

Specified by:
defaultIconIndex in interface VisualizationHelperIfc

hasMarkupIconIndex

public int hasMarkupIconIndex()
Returns the index of the Markups link in the data array returned by getDefaultVisualizationData

Supported API: false

Specified by:
hasMarkupIconIndex in interface VisualizationHelperIfc

repNameIndex

public int repNameIndex()
Returns the index of the representation name in the data array returned by getDefaultVisualizationData

Supported API: false

Specified by:
repNameIndex in interface VisualizationHelperIfc

repDescriptionIndex

public int repDescriptionIndex()
Returns the index of the representation description in the data array returned by getDefaultVisualizationData

Supported API: false

Specified by:
repDescriptionIndex in interface VisualizationHelperIfc

repConfigSpecIndex

public int repConfigSpecIndex()
Returns the index of the representation config spec in the data array returned by getDefaultVisualizationData

Supported API: false

Specified by:
repConfigSpecIndex in interface VisualizationHelperIfc

repDateCreatedIndex

public int repDateCreatedIndex()
Returns the index of the representation creation date in the data array returned by getDefaultVisualizationData

Supported API: false

Specified by:
repDateCreatedIndex in interface VisualizationHelperIfc

deleteLinkIndex

public int deleteLinkIndex()
Returns the index of the delete link in the data array returned by getDefaultVisualizationData

Supported API: false

Specified by:
deleteLinkIndex in interface VisualizationHelperIfc

refreshLinkIndex

public int refreshLinkIndex()
Returns the index of the refresh link in the data array returned by getDefaultVisualizationData

Supported API: false

Specified by:
refreshLinkIndex in interface VisualizationHelperIfc

makeDefaultLinkIndex

public int makeDefaultLinkIndex()
Returns the index of the make default link in the data array returned by getDefaultVisualizationData

Supported API: false

Specified by:
makeDefaultLinkIndex in interface VisualizationHelperIfc

viewRepsLinkIndex

public int viewRepsLinkIndex()
Returns the index of the view representations link in the data array returned by getDefaultVisualizationData

Supported API: true

Specified by:
viewRepsLinkIndex in interface VisualizationHelperIfc

viewPartStructureLinkIndex

public int viewPartStructureLinkIndex()
Returns the index of the part structure view link in the data array returned by getDefaultVisualizationData

Supported API: false

Specified by:
viewPartStructureLinkIndex in interface VisualizationHelperIfc

getIndexOfVisLink

public int getIndexOfVisLink(String prefKey,
                             String prefDefault)
Returns the index in the data array returned by getDefaultVisualizationData of the HTML fragment to use for launching PV. This depends on the thumbnail preference setting for the client. The index returned will be that of the element containing the Launch PV icon (productViewLinkIndex) or the element containing the thumbnail (thumbnailLinkIndex).

Specified by:
getIndexOfVisLink in interface VisualizationHelperIfc
Parameters:
prefKey - The key for the user preference to display thumbnails use THUMBNAILS_PROP_PAGE_PREF_KEY for the property page preference key
prefDefault - The default value for the key, use DEFAULT_THUMBNAILS_PROP_PAGE_PREF_VALUE for the default property page value

Supported API: true

getVisLink

public String getVisLink(String objectReference,
                         String prefKey,
                         String prefDefault,
                         Boolean forListing)
Returns the HTML for the URL and image to be displayed as a thumbnail for an object, based on the thumbnail preference for the client. The argument prefDefault should be set to either PREF_VALUE_YES or PREF_VALUE_NO. The argument forListing should indicate whether the HTML string is to be used in a results table.

Supported API: false


getVisLink

public String getVisLink(String objectReference,
                         String prefKey,
                         String prefDefault,
                         Boolean forListing,
                         Locale locale)
Returns the HTML for the URL and image to be displayed as a thumbnail for an object, based on the thumbnail preference for the client. The argument prefDefault should be set to either PREF_VALUE_YES or PREF_VALUE_NO. The argument forListing should indicate whether the HTML string is to be used in a results table.

Supported API: false

Specified by:
getVisLink in interface VisualizationHelperIfc

getPartStructureHTML

public String getPartStructureHTML(String objectReference,
                                   String configString,
                                   Integer levels,
                                   Locale locale)
Returns the HTML fragment for viewing the WTPart structure, the users current WTPartConfigSpec will be used.

Supported API: false

Specified by:
getPartStructureHTML in interface VisualizationHelperIfc
Parameters:
objectReference - The object reference of the WTPart
configString - a String representation of the ConfigSpec or null
levels - Specifies number of levels to traverse, -1 = all
locale - Specifies locale for ALT tags
Returns:
String HTML fragment

getPartStructureHTML

public String getPartStructureHTML(String objectReference,
                                   String configString,
                                   Integer levels,
                                   Locale locale,
                                   Boolean displayThumbnail,
                                   Boolean forListing)
Returns the HTML fragment for viewing the WTPart structure, the users current WTPartConfigSpec will be used. The thumbnail image can be displayed in the case of a WTProductConfiguration or a WTProductInstance2, in which case the thumbnail will be from the default representation on the associated WTProduct, ie. the thumbnail is only approximate

Supported API: false

Specified by:
getPartStructureHTML in interface VisualizationHelperIfc
Parameters:
objectReference - The object reference of the WTPart
configString - a String representation of the ConfigSpec or null
levels - Specifies number of levels to traverse, -1 = all
locale - Specifies locale for ALT tags
displayThumbnail - If TRUE the thumbnail will be exposed in the html, if not, an icon will be displayed.
forListing - If TRUE, the HTML will be for a result table
Returns:
String HTML fragment

getPartStructureFormHTML

public String[] getPartStructureFormHTML(String objectReference,
                                         Integer levels,
                                         Integer type,
                                         Locale locale)
Returns HTML fragments for viewing the WTPart structure. The returned String array contains the HTML to start a form in [0] and the HTML to end the form and provide a submit link in [1]. As the length the the config spec definition as a String is long for passing with a GET request this allows a POST request to be used. The actual config spec String should therefore be include in the HTML between the form start and form end as a hidden parameter "config_spec". If no config spec is specified then the users config spec from the database will be used. The returned HTML uses the javascript function createDialogWindow, therefore getCreateDialogWindow should have been used to add this to the page. If WVS is not enabled the returned Strings will be "".

Supported API: false

Specified by:
getPartStructureFormHTML in interface VisualizationHelperIfc
Parameters:
objectReference - The object reference of the WTPart
levels - Specifies number of levels to traverse, -1 = all
type - Specifies visible type, 1=text only(default), 2=icon only, 3= text & icon
locale - Specifies locale for ALT tags
Returns:
String[] HTML fragments

getPartStructureCreateRepFormHTML

public String[] getPartStructureCreateRepFormHTML(String objectReference,
                                                  Integer levels,
                                                  Integer type,
                                                  Locale locale)
Returns HTML fragments for creating a representation for the WTPart structure. The returned String array contains the HTML to start a form in [0] and the HTML to end the form and provide a submit link in [1]. As the length the the config spec definition as a String is long for passing with a GET request this allows a POST request to be used. The actual config spec String should therefore be include in the HTML between the form start and form end as a hidden parameter "config_spec". If no config spec is specified then the users config spec from the database will be used. The returned HTML uses the javascript function createDialogWindow, therefore getCreateDialogWindow should have been used to add this to the page. If WVS is not enabled the returned Strings will be "".

Supported API: false

Specified by:
getPartStructureCreateRepFormHTML in interface VisualizationHelperIfc
Parameters:
objectReference - The object reference of the WTPart
levels - Specifies number of levels to traverse, -1 = all
type - Specifies visible type, 1=text only(default), 2=icon only, 3= text & icon
locale - Specifies locale for ALT tags
Returns:
String[] HTML fragments

getPartStructureED

public String getPartStructureED(String objectReference,
                                 String configString,
                                 Integer levels)
Returns ED file content for viewing the WTPart structure. When the HTML generated by getPartStructureHTML is invoked, ProductView will call, via a jsp, this method to get the actual ED file data.

Supported API: false

Specified by:
getPartStructureED in interface VisualizationHelperIfc
Parameters:
objectReference - The object reference of the WTPart
configString - a String representation of the ConfigSpec or null
levels - Specifies number of levels to traverse, -1 = all
Returns:
String HTML fragment

isAdministrator

public static boolean isAdministrator()
Determines if the current user is a Windchill administrator

Supported API: false

Returns:
boolean

getPartStructurePVHTML

public String getPartStructurePVHTML(String objectReference)
Returns an HTML fragment to allow ProductView or ProductViewLite to be launched from the object NAME/NUMBER links in HTML tables and the Product Structure page. Valid for all Representables.

Supported API: false

Specified by:
getPartStructurePVHTML in interface VisualizationHelperIfc
Parameters:
objectReference - The object reference of the representable
Returns:
String HTML fragments

getPartStructureViewThumbnailLinkHTML

public String getPartStructureViewThumbnailLinkHTML(String objectReference)
Returns an HTML fragment to allow the thumbnail to be launched from the object NAME/NUMBER links in HTML tables and the Product Structure page. Valid for all Representables.

Supported API: false

Specified by:
getPartStructureViewThumbnailLinkHTML in interface VisualizationHelperIfc
Parameters:
objectReference - The object reference of the representable
Returns:
String HTML fragments

getPartStructurePVandViewThumbnailLinkHTML

public String[] getPartStructurePVandViewThumbnailLinkHTML(String objectReference)
Returns 2 HTML fragments to view in PV and view the thumbnail of the default representation from the HTML Product Structure page. NOTE: this is not viewing the Part Structure, it is viewing the default representation

Supported API: false

Specified by:
getPartStructurePVandViewThumbnailLinkHTML in interface VisualizationHelperIfc
Parameters:
objectReference - The object reference of the representable
Returns:
String HTML fragment2 [0] PV url, [1] view thumbnail url

getPartStructurePublishHTML

public String getPartStructurePublishHTML(String objectReference)
Returns an HTML fragment to allow publishing of a default representation from a WTPart or EPMDocument NOTE: this is not publishing the Part Structure, it is publishing the EPMDoc.

Supported API: false

Specified by:
getPartStructurePublishHTML in interface VisualizationHelperIfc
Parameters:
objectReference - The object reference of the representable
Returns:
String HTML fragment

newVisualizationHelper

public static VisualizationHelper newVisualizationHelper()
Default factory for the class.

Supported API: false

Returns:
VisualizationServiceHelper

getThumbnailURL

public String getThumbnailURL(String objectReference)
Returns the URL to the Thumbnail Image for the representation

Supported API: false

Specified by:
getThumbnailURL in interface VisualizationHelperIfc
Parameters:
objectReference - The object reference of the representation
Returns:
String URL to the Thumbnail image

getPartStructureBasicURL

public String getPartStructureBasicURL(String objRef,
                                       String configString,
                                       Integer levels)
Description copied from interface: VisualizationHelperIfc
Returns the URL to the Visualization for the representation

Supported API: false

Specified by:
getPartStructureBasicURL in interface VisualizationHelperIfc
Parameters:
objRef - The object reference of the representation
configString - ???
levels - The number of levels
Returns:
String URL to the Visualization

getPartStructurePVHTML

public WTKeyedMap getPartStructurePVHTML(WTCollection collection)
Returns a set of HTML fragment to allow ProductView to be launched from the NAME link on the HTML Product Structure page. NOTE: this is not viewing the Part Structure, it is viewing the default representation

Supported API: false

Specified by:
getPartStructurePVHTML in interface VisualizationHelperIfc
Parameters:
collection - a WTCollection of objects
Returns:
WTKeyedMap

getPartStructureViewThumbnailLinkHTML

public WTKeyedMap getPartStructureViewThumbnailLinkHTML(WTCollection collection)
Returns a set of HTML fragment to view the thumbnail of the default representation from the HTML Product Structure page. NOTE: this is not viewing the Part Structure, it is viewing the default representation

Supported API: false

Specified by:
getPartStructureViewThumbnailLinkHTML in interface VisualizationHelperIfc
Parameters:
collection - a WTCollection of objects
Returns:
WTKeyedMap

getPartStructurePVandViewThumbnailLinkHTML

public WTKeyedMap getPartStructurePVandViewThumbnailLinkHTML(WTCollection collection)
Returns 2 HTML fragments to view in PV and view the thumbnail of the default representation from the HTML Product Structure page. NOTE: this is not viewing the Part Structure, it is viewing the default representation

Supported API: false

Specified by:
getPartStructurePVandViewThumbnailLinkHTML in interface VisualizationHelperIfc
Parameters:
collection - a WTCollection of objects
Returns:
WTKeyedMap