# HG changeset patch # User tasneems@symbian.org # Date 1265059494 28800 # Node ID 12372c19f1b0b57868e0e4a82ba3ebccb245c6a3 # Parent 5a2cfa9bc74343310fbefc5e31f7606a0882af1d Added WRTKit library diff -r 5a2cfa9bc743 -r 12372c19f1b0 org.symbian.tools.wrttools.previewer/META-INF/MANIFEST.MF --- a/org.symbian.tools.wrttools.previewer/META-INF/MANIFEST.MF Wed Jan 27 17:54:14 2010 -0800 +++ b/org.symbian.tools.wrttools.previewer/META-INF/MANIFEST.MF Mon Feb 01 13:24:54 2010 -0800 @@ -10,7 +10,7 @@ org.eclipse.core.net;bundle-version="1.2.0", org.mozilla.xpcom;bundle-version="1.9.1", org.eclipse.equinox.http.jetty;bundle-version="2.0.0", - org.eclipse.wst.jsdt.core;bundle-version="1.0.201", + org.eclipse.wst.jsdt.core;bundle-version="1.0.200", org.eclipse.wst.jsdt.ui;bundle-version="1.0.200", org.symbian.tools.wrttools;bundle-version="1.0.0" Bundle-ActivationPolicy: lazy diff -r 5a2cfa9bc743 -r 12372c19f1b0 org.symbian.wrtools.doc.WRTKit/.classpath --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.wrtools.doc.WRTKit/.classpath Mon Feb 01 13:24:54 2010 -0800 @@ -0,0 +1,8 @@ + + + + + + + + diff -r 5a2cfa9bc743 -r 12372c19f1b0 org.symbian.wrtools.doc.WRTKit/.project --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.wrtools.doc.WRTKit/.project Mon Feb 01 13:24:54 2010 -0800 @@ -0,0 +1,28 @@ + + + org.symbian.wrtools.doc.WRTKit + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff -r 5a2cfa9bc743 -r 12372c19f1b0 org.symbian.wrtools.doc.WRTKit/.settings/org.eclipse.jdt.core.prefs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.wrtools.doc.WRTKit/.settings/org.eclipse.jdt.core.prefs Mon Feb 01 13:24:54 2010 -0800 @@ -0,0 +1,8 @@ +#Wed Jan 27 16:56:27 PST 2010 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff -r 5a2cfa9bc743 -r 12372c19f1b0 org.symbian.wrtools.doc.WRTKit/META-INF/MANIFEST.MF --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.wrtools.doc.WRTKit/META-INF/MANIFEST.MF Mon Feb 01 13:24:54 2010 -0800 @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: WRTKit +Bundle-SymbolicName: org.symbian.wrtools.doc.WRTKit +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: org.symbian.wrtools.lib.wrtkit.Activator +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-ClassPath: . diff -r 5a2cfa9bc743 -r 12372c19f1b0 org.symbian.wrtools.doc.WRTKit/build.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.wrtools.doc.WRTKit/build.properties Mon Feb 01 13:24:54 2010 -0800 @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff -r 5a2cfa9bc743 -r 12372c19f1b0 org.symbian.wrtools.doc.WRTKit/src/org/symbian/wrtools/lib/wrtkit/Activator.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.wrtools.doc.WRTKit/src/org/symbian/wrtools/lib/wrtkit/Activator.java Mon Feb 01 13:24:54 2010 -0800 @@ -0,0 +1,50 @@ +package org.symbian.wrtools.lib.wrtkit; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.symbian.wrtools.lib.WRTKit"; + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +}