Author: snjeza
Date: 2010-12-22 16:00:07 -0500 (Wed, 22 Dec 2010)
New Revision: 27697
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectFix.java
Log:
JBIDE-7973 Fixing requirement of 'Missing WTP Runtime' cannot be fixed using
'Search for runtime'
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectFix.java
===================================================================
---
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectFix.java 2010-12-22
20:49:53 UTC (rev 27696)
+++
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectFix.java 2010-12-22
21:00:07 UTC (rev 27697)
@@ -89,14 +89,14 @@
public void fix() {
if (SEAM_RUNTIME.equals(type)) {
Shell shell = getShell();
- PreferenceDialog dialog =
PreferencesUtil.createPreferenceDialogOn(shell,SEAM_PREFERENCES_ID, new String[]
{SEAM_PREFERENCES_ID},null);
+ PreferenceDialog dialog =
PreferencesUtil.createPreferenceDialogOn(shell,SEAM_PREFERENCES_ID, null ,null);
if (dialog != null) {
dialog.open();
}
}
if (WTP_RUNTIME.equals(type)) {
Shell shell = getShell();
- PreferenceDialog dialog =
PreferencesUtil.createPreferenceDialogOn(shell,WTP_PREFERENCES_ID, new String[]
{SEAM_PREFERENCES_ID},null);
+ PreferenceDialog dialog =
PreferencesUtil.createPreferenceDialogOn(shell,WTP_PREFERENCES_ID, null ,null);
if (dialog != null) {
dialog.open();
}
Show replies by date