/*****************************************************************************
 * Copyright (c) 2015 CEA LIST.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  CEA LIST - Initial API and implementation
 *****************************************************************************/
package org.eclipse.papyrus.training.library.newchild;

import org.eclipse.papyrus.training.library.newchild.internal.HideNewChildEdgeUtil;
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.eclipse.papyrus.training.library.newchild"; //$NON-NLS-1$

	/*
	 * (non-Javadoc)
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
	 */
    @Override
	public void start(BundleContext context) throws Exception {
		super.start(context);
		HideNewChildEdgeUtil.clean();
	}

	/*
	 * (non-Javadoc)
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
	 */
    @Override
	public void stop(BundleContext context) throws Exception {
		// TODO restore the HideNewChildEdgeUtil
    	super.stop(context);
	}

}

@@ -787,20 +787,112 @@
 e cycle%0A
+ * (use %3Cplugin id=%22...%22 autoStart=%22true%22 startLevel=%220%22/%3E to force the loading in product)%0A
  */%0A
-
 public c
@@ -1164,32 +1164,36 @@
 leContext)%0A%09 */%0A
+    
     @Override%0A%09p
@@ -1182,32 +1182,32 @@
       @Override%0A
-
 %09public void sta
@@ -1252,17 +1252,20 @@
 tion %7B%0A%09
-%09
+    
 super.st
@@ -1279,17 +1279,20 @@
 text);%0A%09
-%09
+    
 HideNewC
@@ -1427,24 +1427,28 @@
 ntext)%0A%09 */%0A
+    
     @Overrid
@@ -1441,32 +1441,32 @@
       @Override%0A
-
 %09public void sto
@@ -1510,17 +1510,21 @@
 tion %7B%0A%09
-%09
+     
 // TODO 
@@ -1561,16 +1561,21 @@
 il%0A    %09
+     
 super.st

Add information to force plugin loading