Community
Participate
Working Groups
if (Platform.getOS().equals("win32"))
prefs.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"org.eclipse.hyades.test.core.RecorderApplication.InternetExplorer");//$NON-NLS-1$
else
prefs.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"-1"); //$NON-NLS-1$
prefs.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"org.eclipse.hyades.test.core.RecorderApplication.Firefox"); //$NON-NLS-1$
ToolsUiPlugin.getDefault().getPreferenceStore().setDefault(UiPlugin.TEST_GENERATOR,UiPlugin.getDefault().getDefaultGeneratorID());
prefs.setDefault(ToolsUiPlugin.PROXY_PORT,DEFAULT_PORT); //$NON-NLS-1$
store.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"org.eclipse.hyades.test.core.RecorderApplication.InternetExplorer");//$NON-NLS-1$
store.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"-1"); //$NON-NLS-1$
store.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"org.eclipse.hyades.test.core.RecorderApplication.Firefox"); //$NON-NLS-1$
store.setDefault(ToolsUiPlugin.PROXY_PORT,DEFAULT_PORT); //$NON-NLS-1$
return "";
} else if (currentOS.equals("linux")) {
// bugzilla 133959 mdd make sure default it valid
File browserApp = new File(WindowsLaunchPath);
File browserApp = new File(LinuxLaunchPath);
if (browserApp.exists())
return LinuxLaunchPath;
}
public void setApplicationPath(String str) {
TestCorePlugin.getDefault().getPluginPreferences().setValue(PREFERENCE_PATH, str);
if ( (str != null) && str.length() > 0) {
else {
String newPath = getDefaultApplicationPath();