From ea48a20561464c3cbb7895d430583669a9f82fcc Mon Sep 17 00:00:00 2001 From: Camille Letavernier Date: Thu, 21 Aug 2014 13:37:18 +0200 Subject: [Code style] Apply clean-up and formatter on Extra plug-ins --- .../eclipse/papyrus/adl4eclipse/org/Activator.java | 10 ++- .../adl4eclipse/org/IADL4ECLIPSE_Stereotype.java | 72 +++++++++++----------- 2 files changed, 43 insertions(+), 39 deletions(-) (limited to 'extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.profile') diff --git a/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.profile/src/org/eclipse/papyrus/adl4eclipse/org/Activator.java b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.profile/src/org/eclipse/papyrus/adl4eclipse/org/Activator.java index 30678fe13b1..bb8aa6884fd 100644 --- a/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.profile/src/org/eclipse/papyrus/adl4eclipse/org/Activator.java +++ b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.profile/src/org/eclipse/papyrus/adl4eclipse/org/Activator.java @@ -1,7 +1,7 @@ /***************************************************************************** * Copyright (c) 2013 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 @@ -21,12 +21,12 @@ import org.osgi.framework.BundleContext; */ public class Activator extends AbstractUIPlugin { - /** The plug-in ID**/ + /** The plug-in ID **/ public static final String PLUGIN_ID = "org.eclipse.papyrus.adl4eclipse.org"; //$NON-NLS-1$ // The shared instance private static Activator plugin; - + /** * The constructor */ @@ -35,8 +35,10 @@ public class Activator extends AbstractUIPlugin { /* * (non-Javadoc) + * * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) */ + @Override public void start(BundleContext context) throws Exception { super.start(context); plugin = this; @@ -44,8 +46,10 @@ public class Activator extends AbstractUIPlugin { /* * (non-Javadoc) + * * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) */ + @Override public void stop(BundleContext context) throws Exception { plugin = null; super.stop(context); diff --git a/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.profile/src/org/eclipse/papyrus/adl4eclipse/org/IADL4ECLIPSE_Stereotype.java b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.profile/src/org/eclipse/papyrus/adl4eclipse/org/IADL4ECLIPSE_Stereotype.java index db4e40ed21a..08c4ec58170 100644 --- a/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.profile/src/org/eclipse/papyrus/adl4eclipse/org/IADL4ECLIPSE_Stereotype.java +++ b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.profile/src/org/eclipse/papyrus/adl4eclipse/org/IADL4ECLIPSE_Stereotype.java @@ -1,7 +1,7 @@ /***************************************************************************** * Copyright (c) 2013 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 @@ -13,80 +13,80 @@ *****************************************************************************/ package org.eclipse.papyrus.adl4eclipse.org; -/** set of constant to manipulate stereotype**/ +/** set of constant to manipulate stereotype **/ public interface IADL4ECLIPSE_Stereotype { /** Qualified name of the stereotype Plugin */ public static final String PLUGIN_STEREOTYPE = "ADL4Eclipse::Plugin"; - /** name of property isIncubation of the stereoype Plugin */ + /** name of property isIncubation of the stereoype Plugin */ public static final String PLUGIN_ISINCUBATION_ATT = "isIncubation"; - /** name of property lazyStart of the stereoype Plugin */ + /** name of property lazyStart of the stereoype Plugin */ public static final String PLUGIN_LAZYSTART_ATT = "lazyStart"; - /** name of property lazyStartException of the stereoype Plugin */ + /** name of property lazyStartException of the stereoype Plugin */ public static final String PLUGIN_LAZYSTARTEXCEPTION_ATT = "lazyStartException"; - /** name of property platformFilter of the stereoype Plugin */ + /** name of property platformFilter of the stereoype Plugin */ public static final String PLUGIN_PLATFORMFILTER_ATT = "platformFilter"; - /** name of property buddyPolicy of the stereoype Plugin */ + /** name of property buddyPolicy of the stereoype Plugin */ public static final String PLUGIN_BUDDYPOLICY_ATT = "buddyPolicy"; - /** name of property extensibleAPI of the stereoype Plugin */ + /** name of property extensibleAPI of the stereoype Plugin */ public static final String PLUGIN_EXTENSIBLEAPI_ATT = "extensibleAPI"; - /** name of property bundleShape of the stereoype Plugin */ + /** name of property bundleShape of the stereoype Plugin */ public static final String PLUGIN_BUNDLESHAPE_ATT = "bundleShape"; - /** name of property capability of the stereoype Plugin */ + /** name of property capability of the stereoype Plugin */ public static final String PLUGIN_CAPABILITY_ATT = "capability"; - /** name of property requireCapability of the stereoype Plugin */ + /** name of property requireCapability of the stereoype Plugin */ public static final String PLUGIN_REQUIRECAPABILITY_ATT = "requireCapability"; - /** name of property genericCapabilityAlias of the stereoype Plugin */ + /** name of property genericCapabilityAlias of the stereoype Plugin */ public static final String PLUGIN_GENERICCAPABILITYALIAS_ATT = "genericCapabilityAlias"; /** Qualified name of the stereotype EclipseExportedPackage */ public static final String ECLIPSEEXPORTEDPACKAGE_STEREOTYPE = "ADL4Eclipse::EclipseExportedPackage"; - /** name of property isInternal of the stereoype EclipseExportedPackage */ + /** name of property isInternal of the stereoype EclipseExportedPackage */ public static final String ECLIPSEEXPORTEDPACKAGE_ISINTERNAL_ATT = "isInternal"; - /** name of property friend of the stereoype EclipseExportedPackage */ + /** name of property friend of the stereoype EclipseExportedPackage */ public static final String ECLIPSEEXPORTEDPACKAGE_FRIEND_ATT = "friend"; - /** name of literal dependent of the Enumeration BuddyPolicyEnumeration */ + /** name of literal dependent of the Enumeration BuddyPolicyEnumeration */ public static final String BUDDYPOLICYENUMERATION_DEPENDENT_ENUM = "dependent"; - /** name of literal global of the Enumeration BuddyPolicyEnumeration */ + /** name of literal global of the Enumeration BuddyPolicyEnumeration */ public static final String BUDDYPOLICYENUMERATION_GLOBAL_ENUM = "global"; - /** name of literal registered of the Enumeration BuddyPolicyEnumeration */ + /** name of literal registered of the Enumeration BuddyPolicyEnumeration */ public static final String BUDDYPOLICYENUMERATION_REGISTERED_ENUM = "registered"; - /** name of literal app of the Enumeration BuddyPolicyEnumeration */ + /** name of literal app of the Enumeration BuddyPolicyEnumeration */ public static final String BUDDYPOLICYENUMERATION_APP_ENUM = "app"; - /** name of literal ext of the Enumeration BuddyPolicyEnumeration */ + /** name of literal ext of the Enumeration BuddyPolicyEnumeration */ public static final String BUDDYPOLICYENUMERATION_EXT_ENUM = "ext"; - /** name of literal boot of the Enumeration BuddyPolicyEnumeration */ + /** name of literal boot of the Enumeration BuddyPolicyEnumeration */ public static final String BUDDYPOLICYENUMERATION_BOOT_ENUM = "boot"; - /** name of literal parent of the Enumeration BuddyPolicyEnumeration */ + /** name of literal parent of the Enumeration BuddyPolicyEnumeration */ public static final String BUDDYPOLICYENUMERATION_PARENT_ENUM = "parent"; - /** name of literal jar of the Enumeration BundleShapeEnumeration */ + /** name of literal jar of the Enumeration BundleShapeEnumeration */ public static final String BUNDLESHAPEENUMERATION_JAR_ENUM = "jar"; - /** name of literal dir of the Enumeration BundleShapeEnumeration */ + /** name of literal dir of the Enumeration BundleShapeEnumeration */ public static final String BUNDLESHAPEENUMERATION_DIR_ENUM = "dir"; /** Qualified name of the stereotype Feature */ public static final String FEATURE_STEREOTYPE = "ADL4Eclipse::Feature"; - /** name of property base_Class of the stereoype Feature */ + /** name of property base_Class of the stereoype Feature */ public static final String FEATURE_BASE_CLASS_ATT = "base_Class"; - /** name of property description of the stereoype Feature */ + /** name of property description of the stereoype Feature */ public static final String FEATURE_DESCRIPTION_ATT = "description"; - /** name of property copyright of the stereoype Feature */ + /** name of property copyright of the stereoype Feature */ public static final String FEATURE_COPYRIGHT_ATT = "copyright"; - /** name of property license of the stereoype Feature */ + /** name of property license of the stereoype Feature */ public static final String FEATURE_LICENSE_ATT = "license"; - /** name of property provider of the stereoype Feature */ + /** name of property provider of the stereoype Feature */ public static final String FEATURE_PROVIDER_ATT = "provider"; - /** name of property image of the stereoype Feature */ + /** name of property image of the stereoype Feature */ public static final String FEATURE_IMAGE_ATT = "image"; - /** name of property url of the stereoype Feature */ + /** name of property url of the stereoype Feature */ public static final String FEATURE_URL_ATT = "url"; - /** name of property plugins of the stereoype Feature */ + /** name of property plugins of the stereoype Feature */ public static final String FEATURE_PLUGINS_ATT = "plugins"; - /** name of property includedFeatures of the stereoype Feature */ + /** name of property includedFeatures of the stereoype Feature */ public static final String FEATURE_INCLUDEDFEATURES_ATT = "includedFeatures"; - /** name of property importedFeatures of the stereoype Feature */ + /** name of property importedFeatures of the stereoype Feature */ public static final String FEATURE_IMPORTEDFEATURES_ATT = "importedFeatures"; - /** name of property label of the stereoype Feature */ + /** name of property label of the stereoype Feature */ public static final String FEATURE_LABEL_ATT = "label"; - /** name of property id of the stereoype Feature */ + /** name of property id of the stereoype Feature */ public static final String FEATURE_ID_ATT = "id"; - /** name of property version of the stereoype Feature */ + /** name of property version of the stereoype Feature */ public static final String FEATURE_VERSION_ATT = "version"; } -- cgit v1.2.3