Author: svasilyev
Date: 2007-10-12 08:03:36 -0400 (Fri, 12 Oct 2007)
New Revision: 4150
Modified:
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpePlugin.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1070
Modified:
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpePlugin.java
===================================================================
---
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpePlugin.java 2007-10-12
11:50:22 UTC (rev 4149)
+++
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpePlugin.java 2007-10-12
12:03:36 UTC (rev 4150)
@@ -41,19 +41,7 @@
*/
public VpePlugin() {
super();
-// final String VPE_PLUGIN_RESOURCE_BUNDLE_ID
-// = "org.jboss.tools.vpe.VpePluginResources";
plugin = this;
-// try {
-// resourceBundle
-// = ResourceBundle.getBundle(VPE_PLUGIN_RESOURCE_BUNDLE_ID);
-// } catch (MissingResourceException x) {
-// LogHelper.logError(VpePlugin.PLUGIN_ID,
-// "ResourceBundle " + VPE_PLUGIN_RESOURCE_BUNDLE_ID
-// + " is missing.",
-// x);
-// resourceBundle = null;
-// }
}
/**
@@ -77,28 +65,6 @@
return plugin;
}
-// /**
-// * Returns the string from the plugin's resource bundle,
-// * or 'key' if not found.
-// */
-// public static String getResourceString(String key) {
-// ResourceBundle bundle = VpePlugin.getDefault().getResourceBundle();
-// try {
-// return (bundle != null) ? bundle.getString(key) : key;
-// } catch (MissingResourceException e) {
-// VpePlugin.getPluginLog()
-// .logError("Resource " + key + " is missing.", e);
-// return key;
-// }
-// }
-
-// /**
-// * Returns the plugin's resource bundle,
-// */
-// public ResourceBundle getResourceBundle() {
-// return resourceBundle;
-// }
-
public static void reportProblem(Exception throwable) {
if (VpeDebug.USE_PRINT_STACK_TRACE) {
throwable.printStackTrace();
@@ -129,7 +95,6 @@
return getDefault();
}
- @Override
public void earlyStartup() {
/* init xulrunner path for */
try {