|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.templateutil.processor.AbstractProcessorService
wt.templateutil.processor.NavigationProcessorService
Provides HTML Template Processing Script calls to generate various navigation widgets for the Windchill HTML Client. The widgets generated include
Field Summary | |
protected static String |
ACTION_SELECT
Deprecated. |
protected static String |
APPLET_DEFAULT_BG_COLOR
Deprecated. |
private static String |
BOTTOM
Deprecated. |
private static Object[] |
BOTTOM_END_ROW_TEMPLATES
Deprecated. |
private static String |
BOTTOM_FINAL_END_ROW_TEMPLATE
Deprecated. |
private static String |
BOTTOM_FINAL_ROW_HIGHLIGHTED_TEMPLATE
Deprecated. |
private static String |
BOTTOM_FINAL_ROW_NON_HIGHLIGHTED_TEMPLATE
Deprecated. |
private static Object[] |
BOTTOM_HIGHLIGHTED_TEMPLATES
Deprecated. |
private static Object[] |
BOTTOM_NON_HIGHLIGHTED_TEMPLATES
Deprecated. |
private static String |
BREAD_CRUMB_SEPERATOR
Deprecated. |
private static int |
BUFFER_LENGTH
Deprecated. |
protected static String |
BUILD_NAV_BAR
Deprecated. |
protected static String |
BUTTOR_URL
Deprecated. |
protected static String |
BUTTOR_URL_END
Deprecated. |
protected static String |
BUTTOR_URL_START
Deprecated. |
protected static String |
CELL_ROW_END
Deprecated. |
protected static String |
CELL_ROW_TABLE_END
Deprecated. |
protected static String |
CLASS_END
Deprecated. |
private static String |
CLASSNAME
Deprecated. |
static String |
COL_SPAN
Deprecated. |
protected static String |
COLSPAN_1
Deprecated. |
protected static String |
COLSPAN_2
Deprecated. |
protected static String |
COLSPAN_ATTR
Deprecated. |
private HTMLComponentFactory |
componentFactory
Deprecated. |
private static boolean |
DEBUG
Deprecated. |
private static String |
DEFAULT_SERVICE_NAME
Deprecated. |
private static String |
DEFAULT_TREE_NAME
Deprecated. |
protected static String |
DISPLAY_DND_IMAGE_ICON
Deprecated. |
protected static String |
DISPLAY_NAME
Deprecated. |
protected static String |
DISPLAY_OBJECT_ICON
Deprecated. |
protected static String |
DISPLAY_SHARED_TO_ICON
Deprecated. |
protected static String |
DROP_DOWN_TABLE
Deprecated. |
protected static String |
ELEMENT_END
Deprecated. |
protected static String |
ELEMENT_END_W_QUOTE
Deprecated. |
protected static String |
EMPTY_ROW_END
Deprecated. |
protected static String |
EMPTY_ROW_START
Deprecated. |
private static String |
EMPTY_STRING
Deprecated. |
protected static String |
END_COMP
Deprecated. |
private static String |
END_ROW_TAG
Deprecated. |
private static String |
END_ROW_TEMPLATE_SUFFIX
Deprecated. |
protected static String |
FALSE
Deprecated. |
protected static String |
FILLER_CELL_TEMPLATE
Deprecated. |
protected static String |
FILLER_END_NODE
Deprecated. |
protected static String |
FORM_END
Deprecated. |
protected static String |
FORM_NAME
Deprecated. |
protected static String |
FORM_START
Deprecated. |
static String |
FULL_URL
Deprecated. |
private static String |
GETBUTTON_METHOD_NAME
Deprecated. |
private static String |
HIGHLIGHTED_NO_INDENT_TEMPLATE_SUFFIX
Deprecated. |
private static String |
HIGHLIGHTED_TEMPLATE_SUFFIX
Deprecated. |
private static String |
HTML_TEMPLATE_PREFIX
Deprecated. |
protected static String |
IDPREFIX
Deprecated. |
protected static String |
INCLUDE_FORM
Deprecated. |
protected static String |
IS_ROW
Deprecated. |
private static DebugWriter |
LOG
Deprecated. |
protected static String |
MINUS_1
Deprecated. |
protected static String |
NO_TAB_INDENT
Deprecated. |
private static String |
NON_HIGHLIGHTED_NO_INDENT_TEMPLATE_SUFFIX
Deprecated. |
private static String |
NON_HIGHLIGHTED_TEMPLATE_SUFFIX
Deprecated. |
protected static String |
OBJ_TITLE_CLASS
Deprecated. |
protected static String |
ONE_STRING
Deprecated. |
protected static String |
POSITION
Deprecated. |
protected static String |
RESOURCE_CLASS
Deprecated. |
protected static String |
RESOURCE_CLASS_VALUE
Deprecated. |
protected static String |
RESOURCE_KEY
Deprecated. |
protected static String |
RESOURCE_KEY_VALUE
Deprecated. |
private static String |
ROW_NUMBER
Deprecated. |
protected static String |
ROW_START
Deprecated. |
private String |
serviceName
Deprecated. |
private static String |
START_ROW_TAG
Deprecated. |
private HTTPState |
state
Deprecated. |
protected static String |
STYLE_CLASS
Deprecated. |
protected static String |
TABLE
Deprecated. |
protected static String |
TABLE_CENTER
Deprecated. |
protected static String |
TABLE_END
Deprecated. |
private static String |
TABLE_WIDTH
Deprecated. |
private int |
tableWidth
Deprecated. |
private static String |
TARGET_TEMPLATE_PROCESSOR
Deprecated. |
protected static String |
TD_END_START
Deprecated. |
protected static String |
TD_END_START_W_CLASS
Deprecated. |
private static String |
TOP
Deprecated. |
private static Object[] |
TOP_END_ROW_TEMPLATES
Deprecated. |
private static String |
TOP_FINAL_END_ROW_TEMPLATE
Deprecated. |
private static String |
TOP_FINAL_ROW_HIGHLIGHTED_TEMPLATE
Deprecated. |
private static String |
TOP_FINAL_ROW_NON_HIGHLIGHTED_TEMPLATE
Deprecated. |
private static String |
TOP_HIGHLIGHTED_NO_INDENT_TEMPLATE
Deprecated. |
private static Object[] |
TOP_HIGHLIGHTED_TEMPLATES
Deprecated. |
private static String |
TOP_NON_HIGHLIGHTED_NO_INDENT_TEMPLATE
Deprecated. |
private static Object[] |
TOP_NON_HIGHLIGHTED_TEMPLATES
Deprecated. |
private static String |
TREE_NAME
Deprecated. |
private NavigationTreeModel |
treeModel
Deprecated. |
protected static String |
TRUE
Deprecated. |
protected static String |
UTIL_PROCESSOR_SERVICE
Deprecated. |
private static boolean |
VERBOSE
Deprecated. |
Fields inherited from interface wt.templateutil.processor.ProcessorService |
STATE |
Fields inherited from interface wt.templateutil.processor.ContextHolder |
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS |
Constructor Summary | |
NavigationProcessorService()
Deprecated. |
Method Summary | |
protected void |
getButtonFromUtilProcessorService(ProcessorService utilService,
Properties props,
Locale locale,
OutputStream os)
Deprecated. |
HTMLComponent |
getCellComponent(int rowNumber,
int column,
Object cellValue,
Properties props)
Deprecated. |
HTMLComponentFactory |
getComponentFactory()
Deprecated. |
protected HTMLTemplate |
getEndRowTemplate(int row,
boolean isTop,
Locale locale)
Deprecated. |
protected HTMLTemplate |
getHighlightedTemplate(int row,
int col,
boolean isTop,
boolean noTabIndent,
Locale locale)
Deprecated. |
protected HTMLTemplate |
getHTMLTemplate(String templateFileName,
Locale locale)
Deprecated. |
protected String |
getName(Object object,
Properties props,
Locale locale)
Deprecated. |
void |
getNavigationBarRow(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
protected HTMLTemplate |
getNonHighlightedTemplate(int row,
int col,
boolean isTop,
boolean noTabIndent,
Locale locale)
Deprecated. |
protected String |
getObjectImageIconTag(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
protected String |
getObjectImageIconTag(Properties parameters,
Locale locale,
OutputStream os,
boolean isDnD)
Deprecated. |
void |
getObjPropsNavBar(Properties props,
Locale locale,
OutputStream os)
Deprecated. |
protected void |
getRow(int row,
NavigationTreeModel treeModel,
Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
getSelectDropDown(Properties props,
Locale locale,
OutputStream os)
Deprecated. |
String |
getServiceName()
Deprecated. |
int |
getTableWidth()
Deprecated. |
protected DefaultTemplateProcessor |
getTemplateProcessor()
Deprecated. |
protected ProcessorService |
getUtilProcessorService()
Deprecated. |
void |
setServiceName(String serviceName)
Deprecated. |
void |
setTableWidth(int tableWidth)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String CLASSNAME
private static final boolean DEBUG
private static final DebugWriter LOG
private static final String ROW_NUMBER
private static final String TABLE_WIDTH
private static final String TREE_NAME
public static final String COL_SPAN
private static final boolean VERBOSE
private static final String EMPTY_STRING
private static final int BUFFER_LENGTH
private static final String START_ROW_TAG
private static final String END_ROW_TAG
private static final String BREAD_CRUMB_SEPERATOR
private static final String TARGET_TEMPLATE_PROCESSOR
private static final Object[] TOP_HIGHLIGHTED_TEMPLATES
private static final Object[] TOP_NON_HIGHLIGHTED_TEMPLATES
private static final Object[] TOP_END_ROW_TEMPLATES
private static final String TOP_FINAL_ROW_HIGHLIGHTED_TEMPLATE
private static final String TOP_FINAL_ROW_NON_HIGHLIGHTED_TEMPLATE
private static final String TOP_FINAL_END_ROW_TEMPLATE
private static final String TOP_HIGHLIGHTED_NO_INDENT_TEMPLATE
private static final String TOP_NON_HIGHLIGHTED_NO_INDENT_TEMPLATE
private static final Object[] BOTTOM_HIGHLIGHTED_TEMPLATES
private static final Object[] BOTTOM_NON_HIGHLIGHTED_TEMPLATES
private static final Object[] BOTTOM_END_ROW_TEMPLATES
private static final String BOTTOM_FINAL_ROW_HIGHLIGHTED_TEMPLATE
private static final String BOTTOM_FINAL_ROW_NON_HIGHLIGHTED_TEMPLATE
private static final String BOTTOM_FINAL_END_ROW_TEMPLATE
private static final String DEFAULT_SERVICE_NAME
private static final String DEFAULT_TREE_NAME
private static final String HTML_TEMPLATE_PREFIX
private static final String HIGHLIGHTED_TEMPLATE_SUFFIX
private static final String NON_HIGHLIGHTED_TEMPLATE_SUFFIX
private static final String END_ROW_TEMPLATE_SUFFIX
private static final String HIGHLIGHTED_NO_INDENT_TEMPLATE_SUFFIX
private static final String NON_HIGHLIGHTED_NO_INDENT_TEMPLATE_SUFFIX
private static final String TOP
private static final String BOTTOM
public static final String FULL_URL
private HTTPState state
private int tableWidth
private String serviceName
private NavigationTreeModel treeModel
private HTMLComponentFactory componentFactory
protected static final String IDPREFIX
protected static final String POSITION
protected static final String NO_TAB_INDENT
protected static final String END_COMP
protected static final String TRUE
protected static final String EMPTY_ROW_START
protected static final String EMPTY_ROW_END
protected static final String BUILD_NAV_BAR
protected static final String ONE_STRING
protected static final String FILLER_END_NODE
protected static final String FILLER_CELL_TEMPLATE
protected static final String FORM_NAME
protected static final String ACTION_SELECT
protected static final String INCLUDE_FORM
protected static final String DISPLAY_NAME
protected static final String FALSE
protected static final String FORM_START
protected static final String ELEMENT_END_W_QUOTE
protected static final String COLSPAN_1
protected static final String COLSPAN_2
protected static final String MINUS_1
protected static final String IS_ROW
protected static final String OBJ_TITLE_CLASS
protected static final String TABLE
protected static final String ROW_START
protected static final String CLASS_END
protected static final String COLSPAN_ATTR
protected static final String ELEMENT_END
protected static final String TD_END_START
protected static final String DROP_DOWN_TABLE
protected static final String TABLE_CENTER
protected static final String BUTTOR_URL
protected static final String BUTTOR_URL_START
protected static final String BUTTOR_URL_END
protected static final String RESOURCE_CLASS
protected static final String RESOURCE_KEY
protected static final String RESOURCE_CLASS_VALUE
protected static final String RESOURCE_KEY_VALUE
protected static final String CELL_ROW_TABLE_END
protected static final String CELL_ROW_END
protected static final String TABLE_END
protected static final String FORM_END
protected static final String DISPLAY_OBJECT_ICON
protected static final String DISPLAY_DND_IMAGE_ICON
protected static final String DISPLAY_SHARED_TO_ICON
protected static final String TD_END_START_W_CLASS
protected static final String UTIL_PROCESSOR_SERVICE
private static final String GETBUTTON_METHOD_NAME
protected static final String APPLET_DEFAULT_BG_COLOR
protected static final String STYLE_CLASS
Constructor Detail |
public NavigationProcessorService()
Method Detail |
public void getNavigationBarRow(Properties parameters, Locale locale, OutputStream os)
protected void getRow(int row, NavigationTreeModel treeModel, Properties parameters, Locale locale, OutputStream os)
public HTMLComponent getCellComponent(int rowNumber, int column, Object cellValue, Properties props)
public void setServiceName(String serviceName)
public String getServiceName()
public void setTableWidth(int tableWidth)
public int getTableWidth()
public HTMLComponentFactory getComponentFactory()
protected HTMLTemplate getHighlightedTemplate(int row, int col, boolean isTop, boolean noTabIndent, Locale locale)
protected HTMLTemplate getNonHighlightedTemplate(int row, int col, boolean isTop, boolean noTabIndent, Locale locale)
protected HTMLTemplate getEndRowTemplate(int row, boolean isTop, Locale locale)
protected HTMLTemplate getHTMLTemplate(String templateFileName, Locale locale)
protected DefaultTemplateProcessor getTemplateProcessor()
public void getSelectDropDown(Properties props, Locale locale, OutputStream os)
This HTML Select Drop Down has several configuration options. The Drop Down can be configured to be displayed as several TD cells in an existing HTML Table (Default) or it can be configured to be its own HTML Table. The columnspan of the TD cells can be configured to adjust the amount of the HTML Table is used.
The basic syntax of the Windchill script call is :
useProcessorService service=wt.templateutil.processor.NavigationProcessorService method=getSelectDropDown
The parameters to that can be passed in are
To modify the title on the button, you will need to update the following resource bundle and resource key:
Supported API: false
props
- locale
- os
- public void getObjPropsNavBar(Properties props, Locale locale, OutputStream os) throws WTException
The basic syntax of the Windchill script call is :
useProcessorService service=wt.templateutil.processor.NavigationProcessorService method=getObjPropsNavBar
The parameters to that can be passed in are
The CSS Style Class that is used to display the selected link and the un-selected links are defined by the wt.properties file entries:
Supported API: false
props
- locale
- os
-
WTException
protected String getName(Object object, Properties props, Locale locale)
protected ProcessorService getUtilProcessorService()
protected void getButtonFromUtilProcessorService(ProcessorService utilService, Properties props, Locale locale, OutputStream os)
protected String getObjectImageIconTag(Properties parameters, Locale locale, OutputStream os)
protected String getObjectImageIconTag(Properties parameters, Locale locale, OutputStream os, boolean isDnD)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |