Author: dgolovin
Date: 2008-03-15 05:15:46 -0400 (Sat, 15 Mar 2008)
New Revision: 6946
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java
Log:
fix for compilation error
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java
===================================================================
---
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java 2008-03-14
20:08:00 UTC (rev 6945)
+++
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java 2008-03-15
09:15:46 UTC (rev 6946)
@@ -13,6 +13,7 @@
import junit.framework.TestCase;
+import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.preference.PreferenceDialog;
import org.eclipse.jface.preference.PreferenceManager;
@@ -77,4 +78,11 @@
.getActiveShell(), pageId, new String[] {pageId}, null);
}
+ public static PreferenceDialog createPropertyDialog(String pageId,
+ IProject project) {
+
+ return PreferencesUtil.createPreferenceDialogOn(WorkbenchUtils
+ .getActiveShell(), pageId, new String[] {pageId}, project);
+ }
+
}
Show replies by date