diff options
Diffstat (limited to 'plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Activator.java')
-rw-r--r-- | plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Activator.java | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Activator.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Activator.java deleted file mode 100644 index fdf602e8008..00000000000 --- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src/org/eclipse/papyrus/infra/viewpoints/configuration/Activator.java +++ /dev/null @@ -1,79 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others. - * - * - * 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: - * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation - * Christian W. Damus - bug 463156 - * - *****************************************************************************/ -package org.eclipse.papyrus.infra.viewpoints.configuration; - -import org.eclipse.emf.common.EMFPlugin; -import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.papyrus.infra.core.log.LogHelper; - -public class Activator extends EMFPlugin { - /** - * Keep track of the singleton. - */ - public static final Activator INSTANCE = new Activator(); - - /** Logging helper */ - public static LogHelper log = new LogHelper(); - - /** - * Keep track of the singleton. - */ - private static Implementation plugin; - - /** - * Create the instance. - */ - public Activator() { - super(new ResourceLocator[] {}); - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * @return the singleton instance. - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * @return the singleton instance. - */ - public static Implementation getPlugin() { - return plugin; - } - - /** - * The actual implementation of the Eclipse <b>Plugin</b>. - */ - public static class Implementation extends EclipsePlugin { - /** - * Creates an instance. - */ - public Implementation() { - super(); - - // Remember the static instance. - // - plugin = this; - - // register the log helper - log.setPlugin(plugin); - } - } -} |