wt.templateutil.components
Class HTMLComponentFactory

java.lang.Object
  extended bywt.templateutil.components.HTMLComponentFactory
All Implemented Interfaces:
ApplicationContextChild

public class HTMLComponentFactory
extends Object
implements ApplicationContextChild

The HTMLComponentFactory uses information about the current context and the current object, plus information retrieved from the system configuration files to determine and return the correct HTMLComponents to use to display information to the user.

Deprecation Notice: This class is still valid for this release, however this serves as advance notice that it will be removed in the future. All user interfaces built using the Windchill HTML Template Processing client architecture will be rewritten using a different framework in an upcoming release.

Supported API: true

Extendable: false


Field Summary
private  ApplicationContext applicationContext
          Deprecated.  
private static String CLASSNAME
          Deprecated.  
static String COMPONENT_CONTEXT_NAME
          Deprecated.  
static String DELEGATE_CONTEXT_NAME
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private static boolean VERBOSE
          Deprecated.  
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
HTMLComponentFactory()
          Deprecated.  
 
Method Summary
 ApplicationContextServices getApplContextServices()
          Deprecated.  
 ApplicationContext getApplicationContext()
          Deprecated.  
 HTMLComponent getComponent(Object context, String serviceSelector, Object requestorClass)
          Deprecated.  
 HTMLComponent getComponent(String serviceSelector, Object requestorClass)
          Deprecated.  
 void setApplicationContext(ApplicationContext a_ApplicationContext)
          Deprecated.  
 
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
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

applicationContext

private ApplicationContext applicationContext
Deprecated. 

DELEGATE_CONTEXT_NAME

public static final String DELEGATE_CONTEXT_NAME
Deprecated. 
See Also:
Constant Field Values

COMPONENT_CONTEXT_NAME

public static final String COMPONENT_CONTEXT_NAME
Deprecated. 
See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE
Deprecated. 
Constructor Detail

HTMLComponentFactory

public HTMLComponentFactory()
                     throws UnableToLoadServiceProperties
Deprecated.  



Supported API: true

Throws:
UnableToLoadServiceProperties
Method Detail

getComponent

public HTMLComponent getComponent(Object context,
                                  String serviceSelector,
                                  Object requestorClass)
                           throws WTException,
                                  WTPropertyVetoException
Deprecated.  

This method takes a context, a service name, and the requesting object and returns the appropriate HTML Template Processing Component to display the information to the user.

Supported API: true

Parameters:
context -
serviceSelector -
requestorClass -
Returns:
HTMLComponent
Throws:
WTException
WTPropertyVetoException

getComponent

public HTMLComponent getComponent(String serviceSelector,
                                  Object requestorClass)
Deprecated.  

This alternate version of getComponent() calls the other version sending in the default component context name defined in the class constant COMPONENT_CONTEXT_NAME.

Supported API: true

Parameters:
serviceSelector -
requestorClass -
Returns:
HTMLComponent

getApplicationContext

public ApplicationContext getApplicationContext()
Deprecated.  

Gets the object for the association that plays role: applicationContext.

Supported API: false

Specified by:
getApplicationContext in interface ApplicationContextChild
Returns:
ApplicationContext

setApplicationContext

public void setApplicationContext(ApplicationContext a_ApplicationContext)
                           throws WTPropertyVetoException
Deprecated.  

Sets the object for the association that plays role: applicationContext.

Supported API: false

Specified by:
setApplicationContext in interface ApplicationContextChild
Parameters:
a_ApplicationContext -
Throws:
WTPropertyVetoException

getApplContextServices

public ApplicationContextServices getApplContextServices()
Deprecated.