Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-10-26 03:58:24 +0000
committerslewis2007-10-26 03:58:24 +0000
commitc5cb9918efcb47bb512acd78734447d000e2132b (patch)
treef36262aacd0755f88281f9c9df0ea6b4218a2318 /examples
parent707f6e5ca87762ca9829fb4abaadf38c9607ab79 (diff)
downloadorg.eclipse.ecf-c5cb9918efcb47bb512acd78734447d000e2132b.tar.gz
org.eclipse.ecf-c5cb9918efcb47bb512acd78734447d000e2132b.tar.xz
org.eclipse.ecf-c5cb9918efcb47bb512acd78734447d000e2132b.zip
Fixed errors in javadocs
Diffstat (limited to 'examples')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/Activator.java15
1 files changed, 10 insertions, 5 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/Activator.java b/examples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/Activator.java
index 66b3fee3d..3039be14e 100644
--- a/examples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/Activator.java
+++ b/examples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/Activator.java
@@ -17,10 +17,11 @@ import org.osgi.framework.BundleContext;
public class Activator extends AbstractUIPlugin {
private static Activator instance = null;
-
+
public static final int CLIENT_ERROR_CODE = 121;
-
+
public static final String PLUGIN_ID = "org.eclipse.ecf.example.clients"; //$NON-NLS-1$
+
public Activator() {
super();
instance = this;
@@ -29,12 +30,15 @@ public class Activator extends AbstractUIPlugin {
public static Activator getDefault() {
return instance;
}
-
+
public void log(int status, String message, Throwable exception) {
- getLog().log(new Status(status,PLUGIN_ID,CLIENT_ERROR_CODE,message,exception));
+ getLog().log(new Status(status, PLUGIN_ID, CLIENT_ERROR_CODE, message, exception));
}
+
/**
* This method is called upon plug-in activation
+ * @param context
+ * @throws Exception
*/
public void start(BundleContext context) throws Exception {
super.start(context);
@@ -42,11 +46,12 @@ public class Activator extends AbstractUIPlugin {
/**
* This method is called when the plug-in is stopped
+ * @param context
+ * @throws Exception
*/
public void stop(BundleContext context) throws Exception {
super.stop(context);
instance = null;
}
-
}

Back to the top