Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkgilmer2006-03-10 23:50:50 +0000
committerkgilmer2006-03-10 23:50:50 +0000
commit51af880da35ae1e9bd034bee47e761701ca5a992 (patch)
tree16c8d4080b863408659cc626de84566bd8b49318
parent5cda2371859e28fb6f4566c82207c85714888f0b (diff)
downloadorg.eclipse.ecf-51af880da35ae1e9bd034bee47e761701ca5a992.tar.gz
org.eclipse.ecf-51af880da35ae1e9bd034bee47e761701ca5a992.tar.xz
org.eclipse.ecf-51af880da35ae1e9bd034bee47e761701ca5a992.zip
Added constant for plugin id.
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPlugin.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPlugin.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPlugin.java
index acbb701ee..01b5f0991 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPlugin.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPlugin.java
@@ -32,6 +32,7 @@ import org.osgi.framework.BundleContext;
*/
public class ClientPlugin extends AbstractUIPlugin implements
ClientPluginConstants {
+ public static final String PLUGIN_ID = "org.eclipse.ecf.example.collab.ClientPlugin";
// The shared instance.
private static ClientPlugin plugin;
// Resource bundle.
@@ -248,7 +249,7 @@ public class ClientPlugin extends AbstractUIPlugin implements
try {
if (resourceBundle == null)
resourceBundle = ResourceBundle
- .getBundle("org.eclipse.ecf.example.collab.ClientPlugin");
+ .getBundle(PLUGIN_ID);
} catch (MissingResourceException x) {
resourceBundle = null;
}

Back to the top