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();
/**
* The constructor.
*/
- public PHPDebugCorePlugin() {
- super();
- plugin = this;
- try {
- resourceBundle = ResourceBundle
- .getBundle("net.sourceforge.phpdt.internal.debug.core.debugresources"); //$NON-NLS-1$
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- }
+// public PHPDebugCorePlugin() {
+// super();
+// plugin = this;
+// try {
+// resourceBundle = ResourceBundle
+// .getBundle("net.sourceforge.phpdt.internal.debug.core.debugresources"); //$NON-NLS-1$
+// } catch (MissingResourceException x) {
+// resourceBundle = null;
+// }
+// }
public java.util.ResourceBundle getResourceBundle() {
return resourceBundle;