|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.ObjectPropertiesTemplateFactory
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.
This class serves as an HTML template file factory for the
ObjectPropertiesProcessor. It is intended to be used only via the
ObjectPropertiesProcessor.
In order to add a new HTML template file so that the factory is aware
of it, put the file into the codebase/template/ObjectProperties
directory and add an entry to the service.properties file for the
"ObjectPropertiesTemplate" service. Here is an example entry:
wt.services/rsc/default/ObjectPropertiesTemplate/null/wt.part.WTPart/0=WTPart
This example tells the factory to use the WTPart(.html) HTML template file
for objects of the wt.part.WTPart class.
Supported API: false
Extendable: false
ObjectPropertiesProcessor
Field Summary | |
private ApplicationContext |
applicationContext
Deprecated. |
private static String |
CLASSNAME
Deprecated. |
private Vector |
preferences
Deprecated. |
private static String |
RESOURCE
Deprecated. |
private HTTPState |
state
Deprecated. |
private static boolean |
VERBOSE
Deprecated. |
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild |
APPLICATION_CONTEXT |
Constructor Summary | |
ObjectPropertiesTemplateFactory()
Deprecated. |
Method Summary | |
ApplicationContext |
getApplicationContext()
Deprecated. |
ApplicationContextServices |
getApplicationContextServices()
Deprecated. |
protected HTMLTemplate |
getHTMLTemplate(Object requestor,
String templateFileResource)
Deprecated. |
Vector |
getLanguagePreferences()
Deprecated. |
HTTPState |
getState()
Deprecated. |
void |
setApplicationContext(ApplicationContext a_ApplicationContext)
Deprecated. |
void |
setLanguagePreferences(Vector preferences)
Deprecated. |
void |
setState(HTTPState state)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static boolean VERBOSE
private static final String RESOURCE
private static final String CLASSNAME
private ApplicationContext applicationContext
private HTTPState state
private Vector preferences
Constructor Detail |
public ObjectPropertiesTemplateFactory() throws UnableToLoadServiceProperties
UnableToLoadServiceProperties
Method Detail |
protected HTMLTemplate getHTMLTemplate(Object requestor, String templateFileResource) throws WTException
WTException
PropertyVetoException
public ApplicationContext getApplicationContext()
getApplicationContext
in interface ApplicationContextChild
public void setApplicationContext(ApplicationContext a_ApplicationContext) throws WTPropertyVetoException
setApplicationContext
in interface ApplicationContextChild
a_ApplicationContext
-
WTPropertyVetoException
public ApplicationContextServices getApplicationContextServices()
public void setState(HTTPState state)
state
- the HTTPState representing the contextpublic HTTPState getState()
public void setLanguagePreferences(Vector preferences)
preferences
- the Vector representing the language preferencespublic Vector getLanguagePreferences()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |