|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.tools.RoseAddinConfigure
This class contains methods used to modify and import the registry files that configure the Windchill Addin for Rose.
Field Summary | |
private static String |
ADDIN_DIRECTORY_NAME
|
private String |
addinHome
|
private static String |
CONFIGURED_REG
|
private static String |
REPLACE_EXT_DIR
|
private static String |
REPLACE_EXT_TAG
|
private static String |
REPLACE_HOME_DIR
|
private static String |
REPLACE_HOME_TAG
|
private static String |
RESOURCE
|
private boolean |
updateRegistry
|
private static String |
VIRTUAL_PATHMAP
|
private static String |
WINDCHILL_ADDIN
|
private String |
wtHome
|
Constructor Summary | |
RoseAddinConfigure()
|
Method Summary | |
protected static boolean |
argsOK(String[] args)
|
static boolean |
configure(String wt_home,
String addin_home,
boolean update_registry)
Called to import a reg file, which configures the Windchill Addin for Rose. |
protected void |
configureInput(OutputFile configured_reg,
String reg_name)
Called to edit a given reg file with the specified directory path. |
protected void |
configureReg()
Called to edit the Windchill.Addin.reg and VirtualPathMap.AddIn.reg files and optionally import them into the registry. |
private void |
configureRegByFile(File dir)
Called to when we have a file object pointing directly at the RoseAddIn directory. |
private static String |
escapeBackSlashes(String in)
|
void |
execute(File wt_home)
Called to import a reg file, which configures the Windchill Addin for Rose. |
void |
execute(String[] args)
Called to import a reg file, which configures the Windchill Addin for Rose. |
protected boolean |
execute(String wt_home,
String addin_home,
boolean update_registry)
|
static void |
main(String[] args)
|
protected static void |
updateRegistry(String filename)
Called to import a given reg file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String ADDIN_DIRECTORY_NAME
private static final String WINDCHILL_ADDIN
private static final String VIRTUAL_PATHMAP
private static final String CONFIGURED_REG
private static final String REPLACE_HOME_DIR
private static final String REPLACE_EXT_DIR
private static final String REPLACE_HOME_TAG
private static final String REPLACE_EXT_TAG
private String wtHome
private String addinHome
private boolean updateRegistry
Constructor Detail |
public RoseAddinConfigure()
Method Detail |
protected void configureReg()
private void configureRegByFile(File dir)
protected void configureInput(OutputFile configured_reg, String reg_name)
WTException
protected static void updateRegistry(String filename)
protected static boolean argsOK(String[] args)
public void execute(String[] args) throws WTException
args
- The params listed below...
WTException
public void execute(File wt_home) throws WTException
wt_home
- File object representing wt_home, parent of RoseAddIn.
WTException
protected boolean execute(String wt_home, String addin_home, boolean update_registry)
public static boolean configure(String wt_home, String addin_home, boolean update_registry)
wt_home
- Windchill load point (root directory).addin_home
- AddIn home, defaults to update_registry
- Import entries into registry, defaults to true.public static void main(String[] args)
private static String escapeBackSlashes(String in)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |