diff options
author | mkersten | 2005-06-17 20:51:27 +0000 |
---|---|---|
committer | mkersten | 2005-06-17 20:51:27 +0000 |
commit | 7320e6f5ba8114f927eeeed9f0b11ecd2041f414 (patch) | |
tree | e9a9d5d9e0ffb37dc8e575c8402a2008cea563d3 /org.eclipse.mylyn.help.ui | |
download | org.eclipse.mylyn.tasks-7320e6f5ba8114f927eeeed9f0b11ecd2041f414.tar.gz org.eclipse.mylyn.tasks-7320e6f5ba8114f927eeeed9f0b11ecd2041f414.tar.xz org.eclipse.mylyn.tasks-7320e6f5ba8114f927eeeed9f0b11ecd2041f414.zip |
Initial mylar contribution
Diffstat (limited to 'org.eclipse.mylyn.help.ui')
-rw-r--r-- | org.eclipse.mylyn.help.ui/.classpath | 7 | ||||
-rw-r--r-- | org.eclipse.mylyn.help.ui/.cvsignore | 1 | ||||
-rw-r--r-- | org.eclipse.mylyn.help.ui/.project | 28 | ||||
-rw-r--r-- | org.eclipse.mylyn.help.ui/META-INF/MANIFEST.MF | 14 | ||||
-rw-r--r-- | org.eclipse.mylyn.help.ui/about.html | 22 | ||||
-rw-r--r-- | org.eclipse.mylyn.help.ui/build.properties | 12 | ||||
-rw-r--r-- | org.eclipse.mylyn.help.ui/plugin.xml | 15 | ||||
-rw-r--r-- | org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/doc/MylarDocPlugin.java | 56 | ||||
-rw-r--r-- | org.eclipse.mylyn.help.ui/toc.xml | 5 |
9 files changed, 160 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.help.ui/.classpath b/org.eclipse.mylyn.help.ui/.classpath new file mode 100644 index 000000000..9a0869b45 --- /dev/null +++ b/org.eclipse.mylyn.help.ui/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="output" path="bin"/> + <classpathentry kind="src" path="src"/> +</classpath> diff --git a/org.eclipse.mylyn.help.ui/.cvsignore b/org.eclipse.mylyn.help.ui/.cvsignore new file mode 100644 index 000000000..ba077a403 --- /dev/null +++ b/org.eclipse.mylyn.help.ui/.cvsignore @@ -0,0 +1 @@ +bin diff --git a/org.eclipse.mylyn.help.ui/.project b/org.eclipse.mylyn.help.ui/.project new file mode 100644 index 000000000..cc9ad6c69 --- /dev/null +++ b/org.eclipse.mylyn.help.ui/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.mylar.doc</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/org.eclipse.mylyn.help.ui/META-INF/MANIFEST.MF b/org.eclipse.mylyn.help.ui/META-INF/MANIFEST.MF new file mode 100644 index 000000000..31dbbbe19 --- /dev/null +++ b/org.eclipse.mylyn.help.ui/META-INF/MANIFEST.MF @@ -0,0 +1,14 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Mylar Documentation Plugin +Bundle-SymbolicName: org.eclipse.mylar.doc; singleton:=true +Bundle-Version: 0.2.3 +Bundle-Activator: org.eclipse.mylar.doc.MylarDocPlugin +Bundle-Localization: plugin +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.core.resources +Eclipse-AutoStart: true +Bundle-Vendor: University of British Columbia +Export-Package: org.eclipse.mylar.doc +Bundle-ClassPath: mylar-doc.jar diff --git a/org.eclipse.mylyn.help.ui/about.html b/org.eclipse.mylyn.help.ui/about.html new file mode 100644 index 000000000..60ca57b4b --- /dev/null +++ b/org.eclipse.mylyn.help.ui/about.html @@ -0,0 +1,22 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> +<!-- saved from url=(0043)http://www.eclipse.org/legal/epl/about.html --> +<HTML><HEAD><TITLE>About</TITLE> +<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1"> +<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD> +<BODY lang=EN-US> +<H2>About This Content</H2> +<P>February 24, 2005</P> +<H3>License</H3> +<P>The Eclipse Foundation makes available all content in this plug-in +("Content"). Unless otherwise indicated below, the Content is provided to you +under the terms and conditions of the Eclipse Public License Version 1.0 +("EPL"). A copy of the EPL is available at <A +href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</A>. +For purposes of the EPL, "Program" will mean the Content.</P> +<P>If you did not receive this Content directly from the Eclipse Foundation, the +Content is being redistributed by another party ("Redistributor") and different +terms and conditions may apply to your use of any object code in the Content. +Check the Redistributor's license that was provided with the Content. If no such +license exists, contact the Redistributor. Unless otherwise indicated below, the +terms and conditions of the EPL still apply to any source code in the +Content.</P></BODY></HTML> diff --git a/org.eclipse.mylyn.help.ui/build.properties b/org.eclipse.mylyn.help.ui/build.properties new file mode 100644 index 000000000..18b7eb838 --- /dev/null +++ b/org.eclipse.mylyn.help.ui/build.properties @@ -0,0 +1,12 @@ +source.mylar-doc.jar = src/ +output.mylar-doc.jar = bin/ +bin.includes = plugin.xml,\ + mylar-doc.jar,\ + META-INF/,\ + toc.xml,\ + about.html +src.includes = META-INF/,\ + plugin.xml,\ + src/,\ + toc.xml,\ + about.html diff --git a/org.eclipse.mylyn.help.ui/plugin.xml b/org.eclipse.mylyn.help.ui/plugin.xml new file mode 100644 index 000000000..6bc9f066d --- /dev/null +++ b/org.eclipse.mylyn.help.ui/plugin.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> +<?eclipse version="3.0"?> +<plugin> + + <extension + id="org.eclipse.mylar.helpDocs" + name="Mylar Help" + point="org.eclipse.help.toc"> + <toc + file="toc.xml" + primary="true"> + </toc> + </extension> +</plugin> diff --git a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/doc/MylarDocPlugin.java b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/doc/MylarDocPlugin.java new file mode 100644 index 000000000..20e24e9ee --- /dev/null +++ b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/doc/MylarDocPlugin.java @@ -0,0 +1,56 @@ +package org.eclipse.mylar.doc; + +import org.eclipse.ui.plugin.*; +import org.eclipse.jface.resource.ImageDescriptor; +import org.osgi.framework.BundleContext; + +/** + * The main plugin class to be used in the desktop. + */ +public class MylarDocPlugin extends AbstractUIPlugin { + //The shared instance. + private static MylarDocPlugin plugin; + + /** + * The constructor. + */ + public MylarDocPlugin() { + super(); + plugin = this; + } + + /** + * This method is called upon plug-in activation + */ + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + } + + /** + * This method is called when the plug-in is stopped + */ + @Override + public void stop(BundleContext context) throws Exception { + super.stop(context); + plugin = null; + } + + /** + * Returns the shared instance. + */ + public static MylarDocPlugin getDefault() { + return plugin; + } + + /** + * Returns an image descriptor for the image file at the given + * plug-in relative path. + * + * @param path the path + * @return the image descriptor + */ + public static ImageDescriptor getImageDescriptor(String path) { + return AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.mylar.doc", path); + } +} diff --git a/org.eclipse.mylyn.help.ui/toc.xml b/org.eclipse.mylyn.help.ui/toc.xml new file mode 100644 index 000000000..7f0d028c1 --- /dev/null +++ b/org.eclipse.mylyn.help.ui/toc.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?NLS TYPE="org.eclipse.help.toc"?> + +<toc label="Mylar" topic="docs/html/book.html"> +</toc> |