package com.bocnet.depmap;

import org.eclipse.jface.resource.ImageDescriptor;
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 = "com.bocnet.depmap"; //$NON-NLS-1$

	// 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;
	}

	/**
	 * 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 imageDescriptorFromPlugin(PLUGIN_ID, path);
	}
}

@@ -219,16 +219,62 @@
 fe cycle
+.%0A * %0A * @author manbaum%0A * @since Oct 1, 2014
 %0A */%0Apub
@@ -404,22 +404,8 @@
 ap%22;
- //$NON-NLS-1$
 %0A%0A%09/
@@ -474,13 +474,9 @@
 %09 * 
-The c
+C
 onst
@@ -481,16 +481,78 @@
 structor
+ of Activator.%0A%09 * %0A%09 * @author manbaum%0A%09 * @since Oct 1, 2014
 %0A%09 */%0A%09p
@@ -582,44 +582,145 @@
 %0A%09/*
+*
 %0A%09 * 
-(non-Javadoc)%0A%09 * %0A%09 * @see%0A%09 *
+Overrider method start.%0A%09 * %0A%09 * @author manbaum%0A%09 * @since Oct 1, 2014%0A%09 * %0A%09 * @param context%0A%09 * @throws Exception%0A%09 * %0A%09 * @see
  org
@@ -785,37 +785,32 @@
 rk.BundleContext
-%0A%09 * 
 )%0A%09 */%0A%09public v
@@ -913,44 +913,144 @@
 %0A%09/*
+*
 %0A%09 * 
-(non-Javadoc)%0A%09 * %0A%09 * @see%0A%09 *
+Overrider method stop.%0A%09 * %0A%09 * @author manbaum%0A%09 * @since Oct 1, 2014%0A%09 * %0A%09 * @param context%0A%09 * @throws Exception%0A%09 * %0A%09 * @see
  org
@@ -1122,21 +1122,16 @@
 eContext
-%0A%09 * 
 )%0A%09 */%0A%09
@@ -1265,24 +1265,73 @@
 red instance
+.%0A%09 * %0A%09 * @author manbaum%0A%09 * @since Oct 1, 2014
 %0A%09 * %0A%09 * @r
@@ -1355,16 +1355,17 @@
 instance
+.
 %0A%09 */%0A%09p
@@ -1513,24 +1513,250 @@
 elative path
+. The path must not have a leading %22.%22 or path separator.%0A%09 * Clients should use a path like %22icons/mysample.gif%22 rather than%0A%09 * %22./icons/mysample.gif%22 or %22/icons/mysample.gif%22.%0A%09 * %0A%09 * @author manbaum%0A%09 * @since Oct 1, 2014
 %0A%09 * %0A%09 * @p
@@ -1784,24 +1784,25 @@
     the path
+.
 %0A%09 * @return
@@ -1822,16 +1822,17 @@
 scriptor
+.
 %0A%09 */%0A%09p

Add Javadoc.