Package com.ptc.windchill.ui.config.load
Class UICustomComponentConfigLoader
java.lang.Object
com.ptc.windchill.ui.config.load.UICustomComponentConfigLoader
- All Implemented Interfaces:
wt.load.DefaultLoaderIfc
Loads custom system JSON UI Component Configurations files in the
Usage:
Supported API: true
Extendable: false
$WT_HOME/loadFiles/wcUIConfig/custom.
This uses the LoadFromFile framework to import json configurations. There is an intermediate xml file that must
be created which references the json file or the json directory which you want to load, which must be in
$WT_HOME/loadFiles/wcUIConfigXML/custom.
Usage:
windchill wt.load.LoadFromFile [-u user name] [-p user password] [-d $WT_HOME/loadFiles/wcUIConfigXML/custom/your-file.xml]
Supported API: true
Extendable: false
-
Field Summary
Fields inherited from interface wt.load.DefaultLoaderIfc
LOGGERINT, REMOTE_LOAD_FILE_LOCATION, WT_LOAD_FILES_PROPERTY, WT_XML_LOAD_FILE_DIRECTORY_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanloadUIConfigurations(Hashtable nv, Hashtable cmd_line, Vector return_objects) Windchill Load Framework entry point to load UI configuration(s) in a given subdirectory or file within theWT_HOME/loadFiles/wcUIConfig/customdirectory.
-
Method Details
-
loadUIConfigurations
Windchill Load Framework entry point to load UI configuration(s) in a given subdirectory or file within theWT_HOME/loadFiles/wcUIConfig/customdirectory.
Supported API: true
Extendable: false- Parameters:
nv- Name/Value pairs of UI configuration loader parameters. Parameters include the subdirectory or file withinWT_HOME/loadFiles/wcUIConfig.cmd_line- Command line arguments that can contain supplemental load data. None are supported for this loader.return_objects-Vectorof the object(s) created by this method. Used bywt.load.StandardLoadServicefor accurate user feedback messages. Not used by this loader.- Returns:
true success false failure
-