Class UICustomComponentConfigLoader

java.lang.Object
com.ptc.windchill.ui.config.load.UICustomComponentConfigLoader
All Implemented Interfaces:
wt.load.DefaultLoaderIfc

public class UICustomComponentConfigLoader extends Object implements wt.load.DefaultLoaderIfc
Loads custom system JSON UI Component Configurations files in the $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 Type
    Method
    Description
    static boolean
    loadUIConfigurations(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 the WT_HOME/loadFiles/wcUIConfig/custom directory.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • loadUIConfigurations

      public static boolean loadUIConfigurations(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 the WT_HOME/loadFiles/wcUIConfig/custom directory.

      Supported API: true

      Extendable: false
      Parameters:
      nv - Name/Value pairs of UI configuration loader parameters. Parameters include the subdirectory or file within WT_HOME/loadFiles/wcUIConfig.
      cmd_line - Command line arguments that can contain supplemental load data. None are supported for this loader.
      return_objects - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages. Not used by this loader.
      Returns:
      truesuccess
      falsefailure