X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDebugCorePlugin.java b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDebugCorePlugin.java index 8e080dd..f2c34da 100644 --- a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDebugCorePlugin.java +++ b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDebugCorePlugin.java @@ -8,7 +8,7 @@ import net.sourceforge.phpeclipse.PHPeclipsePlugin; 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; @@ -27,9 +27,9 @@ public class PHPDebugCorePlugin extends 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(); @@ -42,10 +42,10 @@ public class PHPDebugCorePlugin extends AbstractUIPlugin { 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(); @@ -95,16 +95,16 @@ public class PHPDebugCorePlugin extends AbstractUIPlugin { /** * 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;