import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
-import org.eclipse.swt.widgets.Shell;
+//import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.plugin.AbstractUIPlugin;
return getDefault().internalGetActivePage();
}
- public static Shell getActiveWorkbenchShell() {
- return getActiveWorkbenchWindow().getShell();
- }
+// public static Shell getActiveWorkbenchShell() {
+// return getActiveWorkbenchWindow().getShell();
+// }
public static IWorkbenchWindow getActiveWorkbenchWindow() {
return getDefault().getWorkbench().getActiveWorkbenchWindow();
return plugin;
}
- public static String getFormattedMessage(String key, String arg) {
- String text = getResourceString(key);
- return java.text.MessageFormat.format(text, new Object[] { arg });
- }
+// public static String getFormattedMessage(String key, String arg) {
+// String text = getResourceString(key);
+// return java.text.MessageFormat.format(text, new Object[] { arg });
+// }
public static String getResourceString(String key) {
ResourceBundle bundle = plugin.getResourceBundle();