diff options
author | Kenn Hussey | 2018-03-05 15:43:53 +0000 |
---|---|---|
committer | Kenn Hussey | 2018-03-05 15:43:53 +0000 |
commit | 1d7bde378f4c3dffbedee4ea105ff6446375ef4f (patch) | |
tree | 0402593f3ca6c2f7ed225b2bd2ebbc552285b0ed /plugins | |
parent | 6e02f1a8c57204683cfed160d107659095a5fe1c (diff) | |
download | org.eclipse.uml2-1d7bde378f4c3dffbedee4ea105ff6446375ef4f.tar.gz org.eclipse.uml2-1d7bde378f4c3dffbedee4ea105ff6446375ef4f.tar.xz org.eclipse.uml2-1d7bde378f4c3dffbedee4ea105ff6446375ef4f.zip |
[531027] Regenerating based on latest EMF.
Diffstat (limited to 'plugins')
202 files changed, 1084 insertions, 1548 deletions
diff --git a/plugins/org.eclipse.uml2.uml.editor/src/org/eclipse/uml2/uml/editor/presentation/UMLActionBarContributor.java b/plugins/org.eclipse.uml2.uml.editor/src/org/eclipse/uml2/uml/editor/presentation/UMLActionBarContributor.java index febe57021..7ea055446 100644 --- a/plugins/org.eclipse.uml2.uml.editor/src/org/eclipse/uml2/uml/editor/presentation/UMLActionBarContributor.java +++ b/plugins/org.eclipse.uml2.uml.editor/src/org/eclipse/uml2/uml/editor/presentation/UMLActionBarContributor.java @@ -114,8 +114,8 @@ public class UMLActionBarContributor * @generated */ protected IAction showPropertiesViewAction = new Action( - UMLEditorPlugin.INSTANCE - .getString("_UI_ShowPropertiesView_menu_item")) { //$NON-NLS-1$ + UMLEditorPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) //$NON-NLS-1$ + { @Override public void run() { @@ -135,7 +135,8 @@ public class UMLActionBarContributor * @generated */ protected IAction refreshViewerAction = new Action( - UMLEditorPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) { //$NON-NLS-1$ + UMLEditorPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) //$NON-NLS-1$ + { @Override public boolean isEnabled() { diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/Create.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/Create.java index 96d4640ba..51e777fc0 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/Create.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/Create.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -107,7 +107,7 @@ public interface Create * @model * @generated */ - boolean validateClientAndSupplierAreClassifiers( - DiagnosticChain diagnostics, Map<Object, Object> context); + boolean validateClientAndSupplierAreClassifiers(DiagnosticChain diagnostics, + Map<Object, Object> context); } // Create diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/Instantiate.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/Instantiate.java index d712b864e..46e84b355 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/Instantiate.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/Instantiate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -80,7 +80,7 @@ public interface Instantiate * @model * @generated */ - boolean validateClientAndSupplierAreClassifiers( - DiagnosticChain diagnostics, Map<Object, Object> context); + boolean validateClientAndSupplierAreClassifiers(DiagnosticChain diagnostics, + Map<Object, Object> context); } // Instantiate diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/AuxiliaryImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/AuxiliaryImpl.java index 697e69561..24ac6cde0 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/AuxiliaryImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/AuxiliaryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -77,7 +77,8 @@ public class AuxiliaryImpl public org.eclipse.uml2.uml.Class getBase_Class() { if (base_Class != null && base_Class.eIsProxy()) { InternalEObject oldBase_Class = (InternalEObject) base_Class; - base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class); + base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy( + oldBase_Class); if (base_Class != oldBase_Class) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/CreateImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/CreateImpl.java index e47e26afc..4fbafbcb7 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/CreateImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/CreateImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -94,9 +94,11 @@ public class CreateImpl * @generated */ public BehavioralFeature getBase_BehavioralFeature() { - if (base_BehavioralFeature != null && base_BehavioralFeature.eIsProxy()) { + if (base_BehavioralFeature != null + && base_BehavioralFeature.eIsProxy()) { InternalEObject oldBase_BehavioralFeature = (InternalEObject) base_BehavioralFeature; - base_BehavioralFeature = (BehavioralFeature) eResolveProxy(oldBase_BehavioralFeature); + base_BehavioralFeature = (BehavioralFeature) eResolveProxy( + oldBase_BehavioralFeature); if (base_BehavioralFeature != oldBase_BehavioralFeature) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/DeriveImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/DeriveImpl.java index 2e536fc77..a8281309e 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/DeriveImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/DeriveImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -97,11 +97,14 @@ public class DeriveImpl InternalEObject newComputation = (InternalEObject) computation; NotificationChain msgs = oldComputation.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - - StandardPackage.DERIVE__COMPUTATION, null, null); + - StandardPackage.DERIVE__COMPUTATION, + null, null); if (newComputation.eInternalContainer() == null) { - msgs = newComputation.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - StandardPackage.DERIVE__COMPUTATION, null, msgs); + msgs = newComputation + .eInverseAdd(this, + EOPPOSITE_FEATURE_BASE + - StandardPackage.DERIVE__COMPUTATION, + null, msgs); } if (msgs != null) msgs.dispatch(); @@ -155,11 +158,13 @@ public class DeriveImpl if (computation != null) msgs = ((InternalEObject) computation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - - StandardPackage.DERIVE__COMPUTATION, null, msgs); + - StandardPackage.DERIVE__COMPUTATION, + null, msgs); if (newComputation != null) msgs = ((InternalEObject) newComputation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - - StandardPackage.DERIVE__COMPUTATION, null, msgs); + - StandardPackage.DERIVE__COMPUTATION, + null, msgs); msgs = basicSetComputation(newComputation, msgs); if (msgs != null) msgs.dispatch(); diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/DestroyImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/DestroyImpl.java index c5dcb7283..09b11f4da 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/DestroyImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/DestroyImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -77,9 +77,11 @@ public class DestroyImpl * @generated */ public BehavioralFeature getBase_BehavioralFeature() { - if (base_BehavioralFeature != null && base_BehavioralFeature.eIsProxy()) { + if (base_BehavioralFeature != null + && base_BehavioralFeature.eIsProxy()) { InternalEObject oldBase_BehavioralFeature = (InternalEObject) base_BehavioralFeature; - base_BehavioralFeature = (BehavioralFeature) eResolveProxy(oldBase_BehavioralFeature); + base_BehavioralFeature = (BehavioralFeature) eResolveProxy( + oldBase_BehavioralFeature); if (base_BehavioralFeature != oldBase_BehavioralFeature) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/FocusImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/FocusImpl.java index 756901f3e..5d41110d5 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/FocusImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/FocusImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -77,7 +77,8 @@ public class FocusImpl public org.eclipse.uml2.uml.Class getBase_Class() { if (base_Class != null && base_Class.eIsProxy()) { InternalEObject oldBase_Class = (InternalEObject) base_Class; - base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class); + base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy( + oldBase_Class); if (base_Class != oldBase_Class) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/FrameworkImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/FrameworkImpl.java index 38ee02e04..cd9ca8a61 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/FrameworkImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/FrameworkImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -77,7 +77,8 @@ public class FrameworkImpl public org.eclipse.uml2.uml.Package getBase_Package() { if (base_Package != null && base_Package.eIsProxy()) { InternalEObject oldBase_Package = (InternalEObject) base_Package; - base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy(oldBase_Package); + base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy( + oldBase_Package); if (base_Package != oldBase_Package) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ImplementationClassImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ImplementationClassImpl.java index 56aac1f77..c55726f72 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ImplementationClassImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ImplementationClassImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -82,7 +82,8 @@ public class ImplementationClassImpl public org.eclipse.uml2.uml.Class getBase_Class() { if (base_Class != null && base_Class.eIsProxy()) { InternalEObject oldBase_Class = (InternalEObject) base_Class; - base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class); + base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy( + oldBase_Class); if (base_Class != oldBase_Class) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, @@ -112,8 +113,8 @@ public class ImplementationClassImpl base_Class = newBase_Class; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, - StandardPackage.IMPLEMENTATION_CLASS__BASE_CLASS, - oldBase_Class, base_Class)); + StandardPackage.IMPLEMENTATION_CLASS__BASE_CLASS, oldBase_Class, + base_Class)); } /** diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/MetaclassImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/MetaclassImpl.java index d2d2247f7..dbc39a442 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/MetaclassImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/MetaclassImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -77,7 +77,8 @@ public class MetaclassImpl public org.eclipse.uml2.uml.Class getBase_Class() { if (base_Class != null && base_Class.eIsProxy()) { InternalEObject oldBase_Class = (InternalEObject) base_Class; - base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class); + base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy( + oldBase_Class); if (base_Class != oldBase_Class) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ModelLibraryImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ModelLibraryImpl.java index 64b8940a8..265eabd4e 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ModelLibraryImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ModelLibraryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -77,7 +77,8 @@ public class ModelLibraryImpl public org.eclipse.uml2.uml.Package getBase_Package() { if (base_Package != null && base_Package.eIsProxy()) { InternalEObject oldBase_Package = (InternalEObject) base_Package; - base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy(oldBase_Package); + base_Package = (org.eclipse.uml2.uml.Package) eResolveProxy( + oldBase_Package); if (base_Package != oldBase_Package) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ScriptImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ScriptImpl.java index d42b88a77..decc785d5 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ScriptImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/ScriptImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -73,8 +73,8 @@ public class ScriptImpl if (base_Artifact != oldBase_Artifact) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, - StandardPackage.SCRIPT__BASE_ARTIFACT, - oldBase_Artifact, base_Artifact)); + StandardPackage.SCRIPT__BASE_ARTIFACT, oldBase_Artifact, + base_Artifact)); } } return base_Artifact; diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/SourceImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/SourceImpl.java index e10502f39..33f94adf0 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/SourceImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/SourceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -73,8 +73,8 @@ public class SourceImpl if (base_Artifact != oldBase_Artifact) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, - StandardPackage.SOURCE__BASE_ARTIFACT, - oldBase_Artifact, base_Artifact)); + StandardPackage.SOURCE__BASE_ARTIFACT, oldBase_Artifact, + base_Artifact)); } } return base_Artifact; diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/StandardFactoryImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/StandardFactoryImpl.java index d740ca0c8..14abda185 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/StandardFactoryImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/StandardFactoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -165,8 +165,8 @@ public class StandardFactoryImpl case StandardPackage.SYSTEM_MODEL : return createSystemModel(); default : - throw new IllegalArgumentException( - "The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + throw new IllegalArgumentException("The class '" //$NON-NLS-1$ + + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ } } diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/StandardPackageImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/StandardPackageImpl.java index dc681fd36..3d2676e4f 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/StandardPackageImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/StandardPackageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -19,8 +19,10 @@ import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.EValidator; +import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.uml2.types.TypesPackage; import org.eclipse.uml2.uml.UMLPackage; import org.eclipse.uml2.uml.profile.standard.Auxiliary; @@ -328,7 +330,7 @@ public class StandardPackageImpl /** * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * + * * <p>This method is used to initialize {@link StandardPackage#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * <!-- begin-user-doc --> @@ -344,15 +346,18 @@ public class StandardPackageImpl .getEPackage(StandardPackage.eNS_URI); // Obtain or create and register package - StandardPackageImpl theStandardPackage = (StandardPackageImpl) (EPackage.Registry.INSTANCE - .get(eNS_URI) instanceof StandardPackageImpl - ? EPackage.Registry.INSTANCE.get(eNS_URI) - : new StandardPackageImpl()); + Object registeredStandardPackage = EPackage.Registry.INSTANCE + .get(eNS_URI); + StandardPackageImpl theStandardPackage = registeredStandardPackage instanceof StandardPackageImpl + ? (StandardPackageImpl) registeredStandardPackage + : new StandardPackageImpl(); isInited = true; // Initialize simple dependencies UMLPackage.eINSTANCE.eClass(); + EcorePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); // Create package meta-data objects theStandardPackage.createPackageContents(); @@ -1225,30 +1230,27 @@ public class StandardPackageImpl sourceEClass.getESuperTypes().add(this.getFile()); // Initialize classes, features, and operations; add parameters - initEClass( - auxiliaryEClass, - Auxiliary.class, - "Auxiliary", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getAuxiliary_Base_Class(), - theUMLPackage.getClass_(), - null, - "base_Class", null, 1, 1, Auxiliary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(callEClass, Call.class, - "Call", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getCall_Base_Usage(), - theUMLPackage.getUsage(), - null, - "base_Usage", null, 1, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(auxiliaryEClass, Auxiliary.class, "Auxiliary", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAuxiliary_Base_Class(), theUMLPackage.getClass_(), + null, "base_Class", null, 1, 1, Auxiliary.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(callEClass, Call.class, "Call", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getCall_Base_Usage(), theUMLPackage.getUsage(), null, + "base_Usage", null, 1, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); EOperation op = initEOperation( getCall__ValidateClientAndSupplierAreOperations__DiagnosticChain_Map(), ecorePackage.getEBoolean(), - "validateClientAndSupplierAreOperations", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, ecorePackage.getEDiagnosticChain(), - "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + "validateClientAndSupplierAreOperations", 0, 1, IS_UNIQUE, //$NON-NLS-1$ + IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, //$NON-NLS-1$ + 1, IS_UNIQUE, IS_ORDERED); EGenericType g1 = createEGenericType(ecorePackage.getEMap()); EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); g1.getETypeArguments().add(g2); @@ -1256,25 +1258,25 @@ public class StandardPackageImpl g1.getETypeArguments().add(g2); addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - initEClass(createEClass, Create.class, - "Create", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getCreate_Base_BehavioralFeature(), - theUMLPackage.getBehavioralFeature(), - null, - "base_BehavioralFeature", null, 0, 1, Create.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference( - getCreate_Base_Usage(), - theUMLPackage.getUsage(), - null, - "base_Usage", null, 0, 1, Create.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(createEClass, Create.class, "Create", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getCreate_Base_BehavioralFeature(), + theUMLPackage.getBehavioralFeature(), null, + "base_BehavioralFeature", null, 0, 1, Create.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getCreate_Base_Usage(), theUMLPackage.getUsage(), null, + "base_Usage", null, 0, 1, Create.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); op = initEOperation( getCreate__ValidateClientAndSupplierAreClassifiers__DiagnosticChain_Map(), ecorePackage.getEBoolean(), - "validateClientAndSupplierAreClassifiers", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, ecorePackage.getEDiagnosticChain(), - "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + "validateClientAndSupplierAreClassifiers", 0, 1, IS_UNIQUE, //$NON-NLS-1$ + IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, //$NON-NLS-1$ + 1, IS_UNIQUE, IS_ORDERED); g1 = createEGenericType(ecorePackage.getEMap()); g2 = createEGenericType(ecorePackage.getEJavaObject()); g1.getETypeArguments().add(g2); @@ -1282,87 +1284,75 @@ public class StandardPackageImpl g1.getETypeArguments().add(g2); addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - initEClass(deriveEClass, Derive.class, - "Derive", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getDerive_Computation(), - theUMLPackage.getValueSpecification(), - null, - "computation", null, 1, 1, Derive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference( - getDerive_Base_Abstraction(), - theUMLPackage.getAbstraction(), - null, - "base_Abstraction", null, 1, 1, Derive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(destroyEClass, Destroy.class, - "Destroy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getDestroy_Base_BehavioralFeature(), - theUMLPackage.getBehavioralFeature(), - null, - "base_BehavioralFeature", null, 1, 1, Destroy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass( - documentEClass, - Document.class, - "Document", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(fileEClass, File.class, - "File", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getFile_Base_Artifact(), - theUMLPackage.getArtifact(), - null, - "base_Artifact", null, 1, 1, File.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(entityEClass, Entity.class, - "Entity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getEntity_Base_Component(), - theUMLPackage.getComponent(), - null, - "base_Component", null, 1, 1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass( - executableEClass, - Executable.class, - "Executable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(focusEClass, Focus.class, - "Focus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getFocus_Base_Class(), - theUMLPackage.getClass_(), - null, - "base_Class", null, 1, 1, Focus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass( - frameworkEClass, - Framework.class, - "Framework", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getFramework_Base_Package(), - theUMLPackage.getPackage(), - null, - "base_Package", null, 1, 1, Framework.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass( - implementEClass, - Implement.class, - "Implement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getImplement_Base_Component(), - theUMLPackage.getComponent(), - null, - "base_Component", null, 1, 1, Implement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(deriveEClass, Derive.class, "Derive", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDerive_Computation(), + theUMLPackage.getValueSpecification(), null, "computation", null, 1, //$NON-NLS-1$ + 1, Derive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + initEReference(getDerive_Base_Abstraction(), + theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 1, //$NON-NLS-1$ + 1, Derive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + + initEClass(destroyEClass, Destroy.class, "Destroy", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDestroy_Base_BehavioralFeature(), + theUMLPackage.getBehavioralFeature(), null, + "base_BehavioralFeature", null, 1, 1, Destroy.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(documentEClass, Document.class, "Document", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(fileEClass, File.class, "File", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getFile_Base_Artifact(), theUMLPackage.getArtifact(), + null, "base_Artifact", null, 1, 1, File.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(entityEClass, Entity.class, "Entity", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getEntity_Base_Component(), theUMLPackage.getComponent(), + null, "base_Component", null, 1, 1, Entity.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(executableEClass, Executable.class, "Executable", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(focusEClass, Focus.class, "Focus", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFocus_Base_Class(), theUMLPackage.getClass_(), null, + "base_Class", null, 1, 1, Focus.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(frameworkEClass, Framework.class, "Framework", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFramework_Base_Package(), theUMLPackage.getPackage(), + null, "base_Package", null, 1, 1, Framework.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(implementEClass, Implement.class, "Implement", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getImplement_Base_Component(), + theUMLPackage.getComponent(), null, "base_Component", null, 1, 1, //$NON-NLS-1$ + Implement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); op = initEOperation( getImplement__ValidateImplementsSpecification__DiagnosticChain_Map(), - ecorePackage.getEBoolean(), - "validateImplementsSpecification", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, ecorePackage.getEDiagnosticChain(), - "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + ecorePackage.getEBoolean(), "validateImplementsSpecification", 0, 1, //$NON-NLS-1$ + IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, //$NON-NLS-1$ + 1, IS_UNIQUE, IS_ORDERED); g1 = createEGenericType(ecorePackage.getEMap()); g2 = createEGenericType(ecorePackage.getEJavaObject()); g1.getETypeArguments().add(g2); @@ -1370,22 +1360,21 @@ public class StandardPackageImpl g1.getETypeArguments().add(g2); addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - initEClass( - implementationClassEClass, - ImplementationClass.class, - "ImplementationClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getImplementationClass_Base_Class(), - theUMLPackage.getClass_(), - null, - "base_Class", null, 1, 1, ImplementationClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(implementationClassEClass, ImplementationClass.class, + "ImplementationClass", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getImplementationClass_Base_Class(), + theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, //$NON-NLS-1$ + ImplementationClass.class, !IS_TRANSIENT, !IS_VOLATILE, + IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); op = initEOperation( getImplementationClass__ValidateCannotBeRealization__DiagnosticChain_Map(), - ecorePackage.getEBoolean(), - "validateCannotBeRealization", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, ecorePackage.getEDiagnosticChain(), - "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + ecorePackage.getEBoolean(), "validateCannotBeRealization", 0, 1, //$NON-NLS-1$ + IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, //$NON-NLS-1$ + 1, IS_UNIQUE, IS_ORDERED); g1 = createEGenericType(ecorePackage.getEMap()); g2 = createEGenericType(ecorePackage.getEJavaObject()); g1.getETypeArguments().add(g2); @@ -1393,22 +1382,20 @@ public class StandardPackageImpl g1.getETypeArguments().add(g2); addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - initEClass( - instantiateEClass, - Instantiate.class, - "Instantiate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getInstantiate_Base_Usage(), - theUMLPackage.getUsage(), - null, - "base_Usage", null, 1, 1, Instantiate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(instantiateEClass, Instantiate.class, "Instantiate", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getInstantiate_Base_Usage(), theUMLPackage.getUsage(), + null, "base_Usage", null, 1, 1, Instantiate.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); op = initEOperation( getInstantiate__ValidateClientAndSupplierAreClassifiers__DiagnosticChain_Map(), ecorePackage.getEBoolean(), - "validateClientAndSupplierAreClassifiers", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, ecorePackage.getEDiagnosticChain(), - "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + "validateClientAndSupplierAreClassifiers", 0, 1, IS_UNIQUE, //$NON-NLS-1$ + IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, //$NON-NLS-1$ + 1, IS_UNIQUE, IS_ORDERED); g1 = createEGenericType(ecorePackage.getEMap()); g2 = createEGenericType(ecorePackage.getEJavaObject()); g1.getETypeArguments().add(g2); @@ -1416,54 +1403,47 @@ public class StandardPackageImpl g1.getETypeArguments().add(g2); addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - initEClass(libraryEClass, Library.class, - "Library", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass( - metaclassEClass, - Metaclass.class, - "Metaclass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getMetaclass_Base_Class(), - theUMLPackage.getClass_(), - null, - "base_Class", null, 1, 1, Metaclass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass( - modelLibraryEClass, - ModelLibrary.class, - "ModelLibrary", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getModelLibrary_Base_Package(), - theUMLPackage.getPackage(), - null, - "base_Package", null, 1, 1, ModelLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(libraryEClass, Library.class, "Library", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(metaclassEClass, Metaclass.class, "Metaclass", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetaclass_Base_Class(), theUMLPackage.getClass_(), + null, "base_Class", null, 1, 1, Metaclass.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(modelLibraryEClass, ModelLibrary.class, "ModelLibrary", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getModelLibrary_Base_Package(), + theUMLPackage.getPackage(), null, "base_Package", null, 1, 1, //$NON-NLS-1$ + ModelLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); initEClass(processEClass, - org.eclipse.uml2.uml.profile.standard.Process.class, - "Process", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getProcess_Base_Component(), - theUMLPackage.getComponent(), - null, - "base_Component", null, 1, 1, org.eclipse.uml2.uml.profile.standard.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass( - realizationEClass, - Realization.class, - "Realization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getRealization_Base_Classifier(), - theUMLPackage.getClassifier(), - null, - "base_Classifier", null, 1, 1, Realization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + org.eclipse.uml2.uml.profile.standard.Process.class, "Process", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getProcess_Base_Component(), + theUMLPackage.getComponent(), null, "base_Component", null, 1, 1, //$NON-NLS-1$ + org.eclipse.uml2.uml.profile.standard.Process.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(realizationEClass, Realization.class, "Realization", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRealization_Base_Classifier(), + theUMLPackage.getClassifier(), null, "base_Classifier", null, 1, 1, //$NON-NLS-1$ + Realization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); op = initEOperation( getRealization__ValidateCannotBeImplementationClass__DiagnosticChain_Map(), - ecorePackage.getEBoolean(), - "validateCannotBeImplementationClass", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, ecorePackage.getEDiagnosticChain(), - "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + ecorePackage.getEBoolean(), "validateCannotBeImplementationClass", //$NON-NLS-1$ + 0, 1, IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, //$NON-NLS-1$ + 1, IS_UNIQUE, IS_ORDERED); g1 = createEGenericType(ecorePackage.getEMap()); g2 = createEGenericType(ecorePackage.getEJavaObject()); g1.getETypeArguments().add(g2); @@ -1471,41 +1451,38 @@ public class StandardPackageImpl g1.getETypeArguments().add(g2); addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - initEClass(refineEClass, Refine.class, - "Refine", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getRefine_Base_Abstraction(), - theUMLPackage.getAbstraction(), - null, - "base_Abstraction", null, 1, 1, Refine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass( - responsibilityEClass, - Responsibility.class, - "Responsibility", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getResponsibility_Base_Usage(), - theUMLPackage.getUsage(), - null, - "base_Usage", null, 1, 1, Responsibility.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(scriptEClass, Script.class, - "Script", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(sendEClass, Send.class, - "Send", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getSend_Base_Usage(), - theUMLPackage.getUsage(), - null, - "base_Usage", null, 1, 1, Send.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(refineEClass, Refine.class, "Refine", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRefine_Base_Abstraction(), + theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 1, //$NON-NLS-1$ + 1, Refine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + + initEClass(responsibilityEClass, Responsibility.class, "Responsibility", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getResponsibility_Base_Usage(), theUMLPackage.getUsage(), + null, "base_Usage", null, 1, 1, Responsibility.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(scriptEClass, Script.class, "Script", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(sendEClass, Send.class, "Send", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getSend_Base_Usage(), theUMLPackage.getUsage(), null, + "base_Usage", null, 1, 1, Send.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); op = initEOperation( getSend__ValidateClientOperationSendsSupplierSignal__DiagnosticChain_Map(), ecorePackage.getEBoolean(), - "validateClientOperationSendsSupplierSignal", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, ecorePackage.getEDiagnosticChain(), - "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + "validateClientOperationSendsSupplierSignal", 0, 1, IS_UNIQUE, //$NON-NLS-1$ + IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, //$NON-NLS-1$ + 1, IS_UNIQUE, IS_ORDERED); g1 = createEGenericType(ecorePackage.getEMap()); g2 = createEGenericType(ecorePackage.getEJavaObject()); g1.getETypeArguments().add(g2); @@ -1513,33 +1490,31 @@ public class StandardPackageImpl g1.getETypeArguments().add(g2); addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - initEClass(serviceEClass, Service.class, - "Service", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getService_Base_Component(), - theUMLPackage.getComponent(), - null, - "base_Component", null, 1, 1, Service.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(sourceEClass, Source.class, - "Source", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass( - specificationEClass, - Specification.class, - "Specification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getSpecification_Base_Classifier(), - theUMLPackage.getClassifier(), - null, - "base_Classifier", null, 1, 1, Specification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(serviceEClass, Service.class, "Service", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getService_Base_Component(), + theUMLPackage.getComponent(), null, "base_Component", null, 1, 1, //$NON-NLS-1$ + Service.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + + initEClass(sourceEClass, Source.class, "Source", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(specificationEClass, Specification.class, "Specification", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSpecification_Base_Classifier(), + theUMLPackage.getClassifier(), null, "base_Classifier", null, 1, 1, //$NON-NLS-1$ + Specification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); op = initEOperation( getSpecification__ValidateCannotBeType__DiagnosticChain_Map(), - ecorePackage.getEBoolean(), - "validateCannotBeType", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, ecorePackage.getEDiagnosticChain(), - "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + ecorePackage.getEBoolean(), "validateCannotBeType", 0, 1, IS_UNIQUE, //$NON-NLS-1$ + IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, //$NON-NLS-1$ + 1, IS_UNIQUE, IS_ORDERED); g1 = createEGenericType(ecorePackage.getEMap()); g2 = createEGenericType(ecorePackage.getEJavaObject()); g1.getETypeArguments().add(g2); @@ -1547,38 +1522,35 @@ public class StandardPackageImpl g1.getETypeArguments().add(g2); addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - initEClass( - subsystemEClass, - Subsystem.class, - "Subsystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getSubsystem_Base_Component(), - theUMLPackage.getComponent(), - null, - "base_Component", null, 1, 1, Subsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(traceEClass, Trace.class, - "Trace", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getTrace_Base_Abstraction(), - theUMLPackage.getAbstraction(), - null, - "base_Abstraction", null, 1, 1, Trace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(typeEClass, Type.class, - "Type", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getType_Base_Class(), - theUMLPackage.getClass_(), - null, - "base_Class", null, 1, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(subsystemEClass, Subsystem.class, "Subsystem", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSubsystem_Base_Component(), + theUMLPackage.getComponent(), null, "base_Component", null, 1, 1, //$NON-NLS-1$ + Subsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + + initEClass(traceEClass, Trace.class, "Trace", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getTrace_Base_Abstraction(), + theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 1, //$NON-NLS-1$ + 1, Trace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + + initEClass(typeEClass, Type.class, "Type", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$ + IS_GENERATED_INSTANCE_CLASS); + initEReference(getType_Base_Class(), theUMLPackage.getClass_(), null, + "base_Class", null, 1, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$ + IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); op = initEOperation( getType__ValidateCannotBeSpecification__DiagnosticChain_Map(), - ecorePackage.getEBoolean(), - "validateCannotBeSpecification", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, ecorePackage.getEDiagnosticChain(), - "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + ecorePackage.getEBoolean(), "validateCannotBeSpecification", 0, 1, //$NON-NLS-1$ + IS_UNIQUE, IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, //$NON-NLS-1$ + 1, IS_UNIQUE, IS_ORDERED); g1 = createEGenericType(ecorePackage.getEMap()); g2 = createEGenericType(ecorePackage.getEJavaObject()); g1.getETypeArguments().add(g2); @@ -1586,20 +1558,19 @@ public class StandardPackageImpl g1.getETypeArguments().add(g2); addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - initEClass(utilityEClass, Utility.class, - "Utility", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getUtility_Base_Class(), - theUMLPackage.getClass_(), - null, - "base_Class", null, 1, 1, Utility.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(utilityEClass, Utility.class, "Utility", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getUtility_Base_Class(), theUMLPackage.getClass_(), null, + "base_Class", null, 1, 1, Utility.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); op = initEOperation( getUtility__ValidateIsUtility__DiagnosticChain_Map(), - ecorePackage.getEBoolean(), - "validateIsUtility", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, ecorePackage.getEDiagnosticChain(), - "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + ecorePackage.getEBoolean(), "validateIsUtility", 0, 1, IS_UNIQUE, //$NON-NLS-1$ + IS_ORDERED); + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, //$NON-NLS-1$ + 1, IS_UNIQUE, IS_ORDERED); g1 = createEGenericType(ecorePackage.getEMap()); g2 = createEGenericType(ecorePackage.getEJavaObject()); g1.getETypeArguments().add(g2); @@ -1607,35 +1578,27 @@ public class StandardPackageImpl g1.getETypeArguments().add(g2); addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ - initEClass( - buildComponentEClass, - BuildComponent.class, - "BuildComponent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getBuildComponent_Base_Component(), - theUMLPackage.getComponent(), - null, - "base_Component", null, 1, 1, BuildComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass( - metamodelEClass, - Metamodel.class, - "Metamodel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getMetamodel_Base_Model(), - theUMLPackage.getModel(), - null, - "base_Model", null, 1, 1, Metamodel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass( - systemModelEClass, - SystemModel.class, - "SystemModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference( - getSystemModel_Base_Model(), - theUMLPackage.getModel(), - null, - "base_Model", null, 1, 1, SystemModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEClass(buildComponentEClass, BuildComponent.class, "BuildComponent", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getBuildComponent_Base_Component(), + theUMLPackage.getComponent(), null, "base_Component", null, 1, 1, //$NON-NLS-1$ + BuildComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, !IS_ORDERED); + + initEClass(metamodelEClass, Metamodel.class, "Metamodel", !IS_ABSTRACT, //$NON-NLS-1$ + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetamodel_Base_Model(), theUMLPackage.getModel(), + null, "base_Model", null, 1, 1, Metamodel.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(systemModelEClass, SystemModel.class, "SystemModel", //$NON-NLS-1$ + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSystemModel_Base_Model(), theUMLPackage.getModel(), + null, "base_Model", null, 1, 1, SystemModel.class, !IS_TRANSIENT, //$NON-NLS-1$ + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); // Create resource createResource(eNS_URI); @@ -1654,7 +1617,7 @@ public class StandardPackageImpl * @generated */ protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ + String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ addAnnotation(this, source, new String[]{"originalName", "Standard" //$NON-NLS-1$ //$NON-NLS-2$ }); } @@ -1666,7 +1629,7 @@ public class StandardPackageImpl * @generated */ protected void createDuplicatesAnnotations() { - String source = "duplicates"; //$NON-NLS-1$ + String source = "duplicates"; //$NON-NLS-1$ addAnnotation(documentEClass, source, new String[]{}); addAnnotation(executableEClass, source, new String[]{}); addAnnotation(libraryEClass, source, new String[]{}); diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/SystemModelImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/SystemModelImpl.java index 61434575a..36b742bac 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/SystemModelImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/SystemModelImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -83,8 +83,8 @@ public class SystemModelImpl if (base_Model != oldBase_Model) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, - StandardPackage.SYSTEM_MODEL__BASE_MODEL, - oldBase_Model, base_Model)); + StandardPackage.SYSTEM_MODEL__BASE_MODEL, oldBase_Model, + base_Model)); } } return base_Model; diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/TypeImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/TypeImpl.java index 396ff18bf..d80ab565c 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/TypeImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/TypeImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -82,7 +82,8 @@ public class TypeImpl public org.eclipse.uml2.uml.Class getBase_Class() { if (base_Class != null && base_Class.eIsProxy()) { InternalEObject oldBase_Class = (InternalEObject) base_Class; - base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class); + base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy( + oldBase_Class); if (base_Class != oldBase_Class) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/UtilityImpl.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/UtilityImpl.java index 5a57bd0c6..ed138e00a 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/UtilityImpl.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/impl/UtilityImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -82,7 +82,8 @@ public class UtilityImpl public org.eclipse.uml2.uml.Class getBase_Class() { if (base_Class != null && base_Class.eIsProxy()) { InternalEObject oldBase_Class = (InternalEObject) base_Class; - base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy(oldBase_Class); + base_Class = (org.eclipse.uml2.uml.Class) eResolveProxy( + oldBase_Class); if (base_Class != oldBase_Class) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, @@ -112,7 +113,8 @@ public class UtilityImpl base_Class = newBase_Class; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, - StandardPackage.UTILITY__BASE_CLASS, oldBase_Class, base_Class)); + StandardPackage.UTILITY__BASE_CLASS, oldBase_Class, + base_Class)); } /** diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/CreateOperations.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/CreateOperations.java index 903547c88..f296227fe 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/CreateOperations.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/CreateOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014 CEA and others. + * Copyright (c) 2011, 2018 CEA 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 @@ -64,9 +64,8 @@ public class CreateOperations * <!-- end-model-doc --> * @generated NOT */ - public static boolean validateClientAndSupplierAreClassifiers( - Create create, DiagnosticChain diagnostics, - Map<Object, Object> context) { + public static boolean validateClientAndSupplierAreClassifiers(Create create, + DiagnosticChain diagnostics, Map<Object, Object> context) { boolean result = true; Usage base_Usage = create.getBase_Usage(); @@ -93,16 +92,13 @@ public class CreateOperations } if (!result && diagnostics != null) { - diagnostics - .add(new BasicDiagnostic( - Diagnostic.WARNING, - StandardValidator.DIAGNOSTIC_SOURCE, - StandardValidator.CREATE__CLIENT_AND_SUPPLIER_ARE_CLASSIFIERS, - StandardPlugin.INSTANCE - .getString( - "_UI_Create_ClientAndSupplierAreClassifiers_diagnostic", //$NON-NLS-1$ - getMessageSubstitutions(context, base_Usage)), - new Object[]{base_Usage})); + diagnostics.add(new BasicDiagnostic(Diagnostic.WARNING, + StandardValidator.DIAGNOSTIC_SOURCE, + StandardValidator.CREATE__CLIENT_AND_SUPPLIER_ARE_CLASSIFIERS, + StandardPlugin.INSTANCE.getString( + "_UI_Create_ClientAndSupplierAreClassifiers_diagnostic", //$NON-NLS-1$ + getMessageSubstitutions(context, base_Usage)), + new Object[]{base_Usage})); } } diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/ImplementOperations.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/ImplementOperations.java index 73aaca2de..d4cca5d1b 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/ImplementOperations.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/ImplementOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014 CEA and others. + * Copyright (c) 2011, 2018 CEA 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 @@ -79,7 +79,8 @@ public class ImplementOperations for (NamedElement supplier : dependency.getSuppliers()) { - if (getStereotypeApplication(supplier, Specification.class) != null) { + if (getStereotypeApplication(supplier, + Specification.class) != null) { result = true; break LOOP; } diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/ImplementationClassOperations.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/ImplementationClassOperations.java index 47135dbd3..24a03f238 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/ImplementationClassOperations.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/ImplementationClassOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014 CEA and others. + * Copyright (c) 2011, 2018 CEA 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 @@ -70,22 +70,19 @@ public class ImplementationClassOperations org.eclipse.uml2.uml.Class base_Class = implementationClass .getBase_Class(); - if (base_Class != null - && getStereotypeApplication(base_Class, Realization.class) != null) { + if (base_Class != null && getStereotypeApplication(base_Class, + Realization.class) != null) { result = false; if (diagnostics != null) { - diagnostics - .add(new BasicDiagnostic( - Diagnostic.WARNING, - StandardValidator.DIAGNOSTIC_SOURCE, - StandardValidator.IMPLEMENTATION_CLASS__CANNOT_BE_REALIZATION, - StandardPlugin.INSTANCE - .getString( - "_UI_ImplementationClass_CannotBeRealization_diagnostic", //$NON-NLS-1$ - getMessageSubstitutions(context, base_Class)), - new Object[]{base_Class})); + diagnostics.add(new BasicDiagnostic(Diagnostic.WARNING, + StandardValidator.DIAGNOSTIC_SOURCE, + StandardValidator.IMPLEMENTATION_CLASS__CANNOT_BE_REALIZATION, + StandardPlugin.INSTANCE.getString( + "_UI_ImplementationClass_CannotBeRealization_diagnostic", //$NON-NLS-1$ + getMessageSubstitutions(context, base_Class)), + new Object[]{base_Class})); } } diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/InstantiateOperations.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/InstantiateOperations.java index cc0502b9f..8e037494d 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/InstantiateOperations.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/InstantiateOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014 CEA and others. + * Copyright (c) 2011, 2018 CEA 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 @@ -93,16 +93,13 @@ public class InstantiateOperations } if (!result && diagnostics != null) { - diagnostics - .add(new BasicDiagnostic( - Diagnostic.WARNING, - StandardValidator.DIAGNOSTIC_SOURCE, - StandardValidator.INSTANTIATE__CLIENT_AND_SUPPLIER_ARE_CLASSIFIERS, - StandardPlugin.INSTANCE - .getString( - "_UI_Instantiate_ClientAndSupplierAreClassifiers_diagnostic", //$NON-NLS-1$ - getMessageSubstitutions(context, base_Usage)), - new Object[]{base_Usage})); + diagnostics.add(new BasicDiagnostic(Diagnostic.WARNING, + StandardValidator.DIAGNOSTIC_SOURCE, + StandardValidator.INSTANTIATE__CLIENT_AND_SUPPLIER_ARE_CLASSIFIERS, + StandardPlugin.INSTANCE.getString( + "_UI_Instantiate_ClientAndSupplierAreClassifiers_diagnostic", //$NON-NLS-1$ + getMessageSubstitutions(context, base_Usage)), + new Object[]{base_Usage})); } } diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/RealizationOperations.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/RealizationOperations.java index 144169267..d6dd06151 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/RealizationOperations.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/RealizationOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014 CEA and others. + * Copyright (c) 2011, 2018 CEA 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 @@ -70,24 +70,19 @@ public class RealizationOperations Classifier base_Classifier = realization.getBase_Classifier(); - if (base_Classifier != null - && getStereotypeApplication(base_Classifier, - ImplementationClass.class) != null) { + if (base_Classifier != null && getStereotypeApplication(base_Classifier, + ImplementationClass.class) != null) { result = false; if (diagnostics != null) { - diagnostics - .add(new BasicDiagnostic( - Diagnostic.WARNING, - StandardValidator.DIAGNOSTIC_SOURCE, - StandardValidator.REALIZATION__CANNOT_BE_IMPLEMENTATION_CLASS, - StandardPlugin.INSTANCE - .getString( - "_UI_Realization_CannotBeImplementationClass_diagnostic", //$NON-NLS-1$ - getMessageSubstitutions(context, - base_Classifier)), - new Object[]{base_Classifier})); + diagnostics.add(new BasicDiagnostic(Diagnostic.WARNING, + StandardValidator.DIAGNOSTIC_SOURCE, + StandardValidator.REALIZATION__CANNOT_BE_IMPLEMENTATION_CLASS, + StandardPlugin.INSTANCE.getString( + "_UI_Realization_CannotBeImplementationClass_diagnostic", //$NON-NLS-1$ + getMessageSubstitutions(context, base_Classifier)), + new Object[]{base_Classifier})); } } diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/SendOperations.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/SendOperations.java index 92b4d1db5..d3f59fa93 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/SendOperations.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/SendOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014 CEA and others. + * Copyright (c) 2011, 2018 CEA 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 @@ -93,16 +93,13 @@ public class SendOperations } if (!result && diagnostics != null) { - diagnostics - .add(new BasicDiagnostic( - Diagnostic.WARNING, - StandardValidator.DIAGNOSTIC_SOURCE, - StandardValidator.SEND__CLIENT_OPERATION_SENDS_SUPPLIER_SIGNAL, - StandardPlugin.INSTANCE - .getString( - "_UI_Send_ClientOperationSendsSupplierSignal_diagnostic", //$NON-NLS-1$ - getMessageSubstitutions(context, base_Usage)), - new Object[]{base_Usage})); + diagnostics.add(new BasicDiagnostic(Diagnostic.WARNING, + StandardValidator.DIAGNOSTIC_SOURCE, + StandardValidator.SEND__CLIENT_OPERATION_SENDS_SUPPLIER_SIGNAL, + StandardPlugin.INSTANCE.getString( + "_UI_Send_ClientOperationSendsSupplierSignal_diagnostic", //$NON-NLS-1$ + getMessageSubstitutions(context, base_Usage)), + new Object[]{base_Usage})); } } diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/TypeOperations.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/TypeOperations.java index 51861aef3..9b68dbc4b 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/TypeOperations.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/internal/operations/TypeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014 CEA and others. + * Copyright (c) 2011, 2018 CEA 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 @@ -68,8 +68,8 @@ public class TypeOperations org.eclipse.uml2.uml.Class base_Class = type.getBase_Class(); - if (base_Class != null - && getStereotypeApplication(base_Class, Specification.class) != null) { + if (base_Class != null && getStereotypeApplication(base_Class, + Specification.class) != null) { result = false; diff --git a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/util/StandardValidator.java b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/util/StandardValidator.java index 811cf13c5..061ef1c8c 100644 --- a/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/util/StandardValidator.java +++ b/plugins/org.eclipse.uml2.uml.profile.standard/src/org/eclipse/uml2/uml/profile/standard/util/StandardValidator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -273,8 +273,8 @@ public class StandardValidator case StandardPackage.SOURCE : return validateSource((Source) value, diagnostics, context); case StandardPackage.SPECIFICATION : - return validateSpecification((Specification) value, - diagnostics, context); + return validateSpecification((Specification) value, diagnostics, + context); case StandardPackage.SUBSYSTEM : return validateSubsystem((Subsystem) value, diagnostics, context); @@ -349,9 +349,10 @@ public class StandardValidator * @generated */ public boolean validateCall_validateClientAndSupplierAreOperations( - Call call, DiagnosticChain diagnostics, Map<Object, Object> context) { - return call - .validateClientAndSupplierAreOperations(diagnostics, context); + Call call, DiagnosticChain diagnostics, + Map<Object, Object> context) { + return call.validateClientAndSupplierAreOperations(diagnostics, + context); } /** @@ -363,8 +364,8 @@ public class StandardValidator Map<Object, Object> context) { if (!validate_NoCircularContainment(create, diagnostics, context)) return false; - boolean result = validate_EveryMultiplicityConforms(create, - diagnostics, context); + boolean result = validate_EveryMultiplicityConforms(create, diagnostics, + context); if (result || diagnostics != null) result &= validate_EveryDataValueConforms(create, diagnostics, context); @@ -381,7 +382,8 @@ public class StandardValidator if (result || diagnostics != null) result &= validate_EveryKeyUnique(create, diagnostics, context); if (result || diagnostics != null) - result &= validate_EveryMapEntryUnique(create, diagnostics, context); + result &= validate_EveryMapEntryUnique(create, diagnostics, + context); if (result || diagnostics != null) result &= validateCreate_validateClientAndSupplierAreClassifiers( create, diagnostics, context); @@ -416,8 +418,8 @@ public class StandardValidator * <!-- end-user-doc --> * @generated */ - public boolean validateDestroy(Destroy destroy, - DiagnosticChain diagnostics, Map<Object, Object> context) { + public boolean validateDestroy(Destroy destroy, DiagnosticChain diagnostics, + Map<Object, Object> context) { return validate_EveryDefaultConstraint(destroy, diagnostics, context); } @@ -458,7 +460,8 @@ public class StandardValidator */ public boolean validateExecutable(Executable executable, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint(executable, diagnostics, context); + return validate_EveryDefaultConstraint(executable, diagnostics, + context); } /** @@ -496,8 +499,8 @@ public class StandardValidator result &= validate_EveryDataValueConforms(implement, diagnostics, context); if (result || diagnostics != null) - result &= validate_EveryReferenceIsContained(implement, - diagnostics, context); + result &= validate_EveryReferenceIsContained(implement, diagnostics, + context); if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(implement, diagnostics, context); @@ -540,8 +543,8 @@ public class StandardValidator if (!validate_NoCircularContainment(implementationClass, diagnostics, context)) return false; - boolean result = validate_EveryMultiplicityConforms( - implementationClass, diagnostics, context); + boolean result = validate_EveryMultiplicityConforms(implementationClass, + diagnostics, context); if (result || diagnostics != null) result &= validate_EveryDataValueConforms(implementationClass, diagnostics, context); @@ -608,7 +611,8 @@ public class StandardValidator if (result || diagnostics != null) result &= validate_UniqueID(instantiate, diagnostics, context); if (result || diagnostics != null) - result &= validate_EveryKeyUnique(instantiate, diagnostics, context); + result &= validate_EveryKeyUnique(instantiate, diagnostics, + context); if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(instantiate, diagnostics, context); @@ -636,8 +640,8 @@ public class StandardValidator * <!-- end-user-doc --> * @generated */ - public boolean validateLibrary(Library library, - DiagnosticChain diagnostics, Map<Object, Object> context) { + public boolean validateLibrary(Library library, DiagnosticChain diagnostics, + Map<Object, Object> context) { return validate_EveryDefaultConstraint(library, diagnostics, context); } @@ -699,7 +703,8 @@ public class StandardValidator if (result || diagnostics != null) result &= validate_UniqueID(realization, diagnostics, context); if (result || diagnostics != null) - result &= validate_EveryKeyUnique(realization, diagnostics, context); + result &= validate_EveryKeyUnique(realization, diagnostics, + context); if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(realization, diagnostics, context); @@ -794,7 +799,8 @@ public class StandardValidator * @generated */ public boolean validateSend_validateClientOperationSendsSupplierSignal( - Send send, DiagnosticChain diagnostics, Map<Object, Object> context) { + Send send, DiagnosticChain diagnostics, + Map<Object, Object> context) { return send.validateClientOperationSendsSupplierSignal(diagnostics, context); } @@ -804,8 +810,8 @@ public class StandardValidator * <!-- end-user-doc --> * @generated */ - public boolean validateService(Service service, - DiagnosticChain diagnostics, Map<Object, Object> context) { + public boolean validateService(Service service, DiagnosticChain diagnostics, + Map<Object, Object> context) { return validate_EveryDefaultConstraint(service, diagnostics, context); } @@ -826,7 +832,8 @@ public class StandardValidator */ public boolean validateSpecification(Specification specification, DiagnosticChain diagnostics, Map<Object, Object> context) { - if (!validate_NoCircularContainment(specification, diagnostics, context)) + if (!validate_NoCircularContainment(specification, diagnostics, + context)) return false; boolean result = validate_EveryMultiplicityConforms(specification, diagnostics, context); @@ -938,8 +945,8 @@ public class StandardValidator * <!-- end-user-doc --> * @generated */ - public boolean validateUtility(Utility utility, - DiagnosticChain diagnostics, Map<Object, Object> context) { + public boolean validateUtility(Utility utility, DiagnosticChain diagnostics, + Map<Object, Object> context) { if (!validate_NoCircularContainment(utility, diagnostics, context)) return false; boolean result = validate_EveryMultiplicityConforms(utility, @@ -954,7 +961,8 @@ public class StandardValidator result &= validate_EveryBidirectionalReferenceIsPaired(utility, diagnostics, context); if (result || diagnostics != null) - result &= validate_EveryProxyResolves(utility, diagnostics, context); + result &= validate_EveryProxyResolves(utility, diagnostics, + context); if (result || diagnostics != null) result &= validate_UniqueID(utility, diagnostics, context); if (result || diagnostics != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AddStructuralFeatureValueActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AddStructuralFeatureValueActionImpl.java index 82c268fe2..9a0ab9e35 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AddStructuralFeatureValueActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AddStructuralFeatureValueActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -221,9 +221,8 @@ public class AddStructuralFeatureValueActionImpl - UMLPackage.ADD_STRUCTURAL_FEATURE_VALUE_ACTION__INSERT_AT, null, null); if (newInsertAt.eInternalContainer() == null) { - msgs = newInsertAt.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.ADD_STRUCTURAL_FEATURE_VALUE_ACTION__INSERT_AT, + msgs = newInsertAt.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.ADD_STRUCTURAL_FEATURE_VALUE_ACTION__INSERT_AT, null, msgs); } if (msgs != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AssociationClassImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AssociationClassImpl.java index e4b535771..72c6ce7e5 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AssociationClassImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AssociationClassImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -527,9 +527,8 @@ public class AssociationClassImpl case UMLPackage.ASSOCIATION_CLASS__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.ASSOCIATION_CLASS__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.ASSOCIATION_CLASS__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AssociationImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AssociationImpl.java index 72939c4d9..9762b793a 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AssociationImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/AssociationImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -495,9 +495,8 @@ public class AssociationImpl case UMLPackage.ASSOCIATION__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.ASSOCIATION__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.ASSOCIATION__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/BehavioredClassifierImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/BehavioredClassifierImpl.java index ca67221fa..5d4058405 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/BehavioredClassifierImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/BehavioredClassifierImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -388,9 +388,8 @@ public abstract class BehavioredClassifierImpl case UMLPackage.BEHAVIORED_CLASSIFIER__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.BEHAVIORED_CLASSIFIER__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.BEHAVIORED_CLASSIFIER__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierImpl.java index fc40d8004..44bf9952c 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -2221,9 +2221,8 @@ public abstract class ClassifierImpl case UMLPackage.CLASSIFIER__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.CLASSIFIER__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.CLASSIFIER__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierTemplateParameterImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierTemplateParameterImpl.java index fabf2b5a0..171d3b729 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierTemplateParameterImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierTemplateParameterImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -396,9 +396,8 @@ public class ClassifierTemplateParameterImpl case UMLPackage.CLASSIFIER_TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT : if (ownedParameteredElement != null) msgs = ((InternalEObject) ownedParameteredElement) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.CLASSIFIER_TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.CLASSIFIER_TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT, null, msgs); return basicSetOwnedParameteredElement( (ParameterableElement) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClearStructuralFeatureActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClearStructuralFeatureActionImpl.java index 0f58b2482..cef27a5f7 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClearStructuralFeatureActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClearStructuralFeatureActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -153,9 +153,8 @@ public class ClearStructuralFeatureActionImpl - UMLPackage.CLEAR_STRUCTURAL_FEATURE_ACTION__RESULT, null, null); if (newResult.eInternalContainer() == null) { - msgs = newResult.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.CLEAR_STRUCTURAL_FEATURE_ACTION__RESULT, + msgs = newResult.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.CLEAR_STRUCTURAL_FEATURE_ACTION__RESULT, null, msgs); } if (msgs != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/CollaborationImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/CollaborationImpl.java index a0877d78f..daa0bf5c6 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/CollaborationImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/CollaborationImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -433,9 +433,8 @@ public class CollaborationImpl case UMLPackage.COLLABORATION__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.COLLABORATION__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.COLLABORATION__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ComponentImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ComponentImpl.java index a8aa614fd..719f8a8f6 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ComponentImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ComponentImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -548,9 +548,8 @@ public class ComponentImpl case UMLPackage.COMPONENT__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.COMPONENT__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.COMPONENT__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementTemplateParameterImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementTemplateParameterImpl.java index 0d8f5e268..8c3b66d3b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementTemplateParameterImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementTemplateParameterImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -215,9 +215,8 @@ public class ConnectableElementTemplateParameterImpl case UMLPackage.CONNECTABLE_ELEMENT_TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT : if (ownedParameteredElement != null) msgs = ((InternalEObject) ownedParameteredElement) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.CONNECTABLE_ELEMENT_TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.CONNECTABLE_ELEMENT_TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT, null, msgs); return basicSetOwnedParameteredElement( (ParameterableElement) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DataTypeImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DataTypeImpl.java index 10be8732c..3e28f8a3b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DataTypeImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DataTypeImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -441,9 +441,8 @@ public class DataTypeImpl case UMLPackage.DATA_TYPE__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.DATA_TYPE__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.DATA_TYPE__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DeploymentSpecificationImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DeploymentSpecificationImpl.java index 57c5a6d4c..1d11b0107 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DeploymentSpecificationImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DeploymentSpecificationImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -424,9 +424,8 @@ public class DeploymentSpecificationImpl case UMLPackage.DEPLOYMENT_SPECIFICATION__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.DEPLOYMENT_SPECIFICATION__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.DEPLOYMENT_SPECIFICATION__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/EnumerationImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/EnumerationImpl.java index bc7e10db8..450f7cfdf 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/EnumerationImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/EnumerationImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -245,9 +245,8 @@ public class EnumerationImpl case UMLPackage.ENUMERATION__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.ENUMERATION__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.ENUMERATION__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ExtensionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ExtensionImpl.java index 2eb4cd0bc..d4f339b6f 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ExtensionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ExtensionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -308,9 +308,8 @@ public class ExtensionImpl case UMLPackage.EXTENSION__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.EXTENSION__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.EXTENSION__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/InteractionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/InteractionImpl.java index 49c65b3a5..9eb310b11 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/InteractionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/InteractionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -802,9 +802,8 @@ public class InteractionImpl case UMLPackage.INTERACTION__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.INTERACTION__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.INTERACTION__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/InterfaceImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/InterfaceImpl.java index be360786b..b01905bcd 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/InterfaceImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/InterfaceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -776,9 +776,8 @@ public class InterfaceImpl case UMLPackage.INTERFACE__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.INTERFACE__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.INTERFACE__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationImpl.java index 85e006afc..efd1726fe 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -1519,9 +1519,8 @@ public class OperationImpl case UMLPackage.OPERATION__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.OPERATION__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.OPERATION__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationTemplateParameterImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationTemplateParameterImpl.java index 39a1b90ac..71cd2a628 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationTemplateParameterImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationTemplateParameterImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -232,9 +232,8 @@ public class OperationTemplateParameterImpl case UMLPackage.OPERATION_TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT : if (ownedParameteredElement != null) msgs = ((InternalEObject) ownedParameteredElement) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.OPERATION_TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.OPERATION_TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT, null, msgs); return basicSetOwnedParameteredElement( (ParameterableElement) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ProtocolStateMachineImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ProtocolStateMachineImpl.java index ecbe2cf62..6ffb97348 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ProtocolStateMachineImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ProtocolStateMachineImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -298,9 +298,8 @@ public class ProtocolStateMachineImpl case UMLPackage.PROTOCOL_STATE_MACHINE__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.PROTOCOL_STATE_MACHINE__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.PROTOCOL_STATE_MACHINE__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadIsClassifiedObjectActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadIsClassifiedObjectActionImpl.java index e7fedb8a4..7d1a62192 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadIsClassifiedObjectActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadIsClassifiedObjectActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -290,9 +290,8 @@ public class ReadIsClassifiedObjectActionImpl - UMLPackage.READ_IS_CLASSIFIED_OBJECT_ACTION__RESULT, null, null); if (newResult.eInternalContainer() == null) { - msgs = newResult.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.READ_IS_CLASSIFIED_OBJECT_ACTION__RESULT, + msgs = newResult.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.READ_IS_CLASSIFIED_OBJECT_ACTION__RESULT, null, msgs); } if (msgs != null) @@ -396,9 +395,8 @@ public class ReadIsClassifiedObjectActionImpl - UMLPackage.READ_IS_CLASSIFIED_OBJECT_ACTION__OBJECT, null, null); if (newObject.eInternalContainer() == null) { - msgs = newObject.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.READ_IS_CLASSIFIED_OBJECT_ACTION__OBJECT, + msgs = newObject.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.READ_IS_CLASSIFIED_OBJECT_ACTION__OBJECT, null, msgs); } if (msgs != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadLinkActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadLinkActionImpl.java index c63864ce8..9cb91edf1 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadLinkActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadLinkActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -150,11 +150,8 @@ public class ReadLinkActionImpl - UMLPackage.READ_LINK_ACTION__RESULT, null, null); if (newResult.eInternalContainer() == null) { - msgs = newResult - .eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.READ_LINK_ACTION__RESULT, - null, msgs); + msgs = newResult.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.READ_LINK_ACTION__RESULT, null, msgs); } if (msgs != null) msgs.dispatch(); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadLinkObjectEndQualifierActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadLinkObjectEndQualifierActionImpl.java index b31cb00e0..e68f5e362 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadLinkObjectEndQualifierActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadLinkObjectEndQualifierActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -201,9 +201,8 @@ public class ReadLinkObjectEndQualifierActionImpl - UMLPackage.READ_LINK_OBJECT_END_QUALIFIER_ACTION__OBJECT, null, null); if (newObject.eInternalContainer() == null) { - msgs = newObject.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.READ_LINK_OBJECT_END_QUALIFIER_ACTION__OBJECT, + msgs = newObject.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.READ_LINK_OBJECT_END_QUALIFIER_ACTION__OBJECT, null, msgs); } if (msgs != null) @@ -315,9 +314,8 @@ public class ReadLinkObjectEndQualifierActionImpl - UMLPackage.READ_LINK_OBJECT_END_QUALIFIER_ACTION__RESULT, null, null); if (newResult.eInternalContainer() == null) { - msgs = newResult.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.READ_LINK_OBJECT_END_QUALIFIER_ACTION__RESULT, + msgs = newResult.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.READ_LINK_OBJECT_END_QUALIFIER_ACTION__RESULT, null, msgs); } if (msgs != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadSelfActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadSelfActionImpl.java index e9b006bc3..9256a21a4 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadSelfActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ReadSelfActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -147,11 +147,8 @@ public class ReadSelfActionImpl - UMLPackage.READ_SELF_ACTION__RESULT, null, null); if (newResult.eInternalContainer() == null) { - msgs = newResult - .eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.READ_SELF_ACTION__RESULT, - null, msgs); + msgs = newResult.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.READ_SELF_ACTION__RESULT, null, msgs); } if (msgs != null) msgs.dispatch(); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RemoveStructuralFeatureValueActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RemoveStructuralFeatureValueActionImpl.java index b74bdca2f..a4a698bad 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RemoveStructuralFeatureValueActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RemoveStructuralFeatureValueActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -200,9 +200,8 @@ public class RemoveStructuralFeatureValueActionImpl - UMLPackage.REMOVE_STRUCTURAL_FEATURE_VALUE_ACTION__REMOVE_AT, null, null); if (newRemoveAt.eInternalContainer() == null) { - msgs = newRemoveAt.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.REMOVE_STRUCTURAL_FEATURE_VALUE_ACTION__REMOVE_AT, + msgs = newRemoveAt.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.REMOVE_STRUCTURAL_FEATURE_VALUE_ACTION__REMOVE_AT, null, msgs); } if (msgs != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RemoveVariableValueActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RemoveVariableValueActionImpl.java index 939c9d6c9..cf644a51b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RemoveVariableValueActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RemoveVariableValueActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -198,9 +198,8 @@ public class RemoveVariableValueActionImpl - UMLPackage.REMOVE_VARIABLE_VALUE_ACTION__REMOVE_AT, null, null); if (newRemoveAt.eInternalContainer() == null) { - msgs = newRemoveAt.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.REMOVE_VARIABLE_VALUE_ACTION__REMOVE_AT, + msgs = newRemoveAt.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.REMOVE_VARIABLE_VALUE_ACTION__REMOVE_AT, null, msgs); } if (msgs != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StartClassifierBehaviorActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StartClassifierBehaviorActionImpl.java index 7a3f14544..9852fff37 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StartClassifierBehaviorActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StartClassifierBehaviorActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -148,9 +148,8 @@ public class StartClassifierBehaviorActionImpl - UMLPackage.START_CLASSIFIER_BEHAVIOR_ACTION__OBJECT, null, null); if (newObject.eInternalContainer() == null) { - msgs = newObject.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.START_CLASSIFIER_BEHAVIOR_ACTION__OBJECT, + msgs = newObject.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.START_CLASSIFIER_BEHAVIOR_ACTION__OBJECT, null, msgs); } if (msgs != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StateMachineImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StateMachineImpl.java index 856309e27..46f9966e4 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StateMachineImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StateMachineImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -517,9 +517,8 @@ public class StateMachineImpl case UMLPackage.STATE_MACHINE__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.STATE_MACHINE__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.STATE_MACHINE__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StringExpressionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StringExpressionImpl.java index 8444b97d9..eb511ca7c 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StringExpressionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/StringExpressionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -560,9 +560,8 @@ public class StringExpressionImpl case UMLPackage.STRING_EXPRESSION__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.STRING_EXPRESSION__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.STRING_EXPRESSION__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TemplateParameterImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TemplateParameterImpl.java index 7196067d8..be26283cc 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TemplateParameterImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TemplateParameterImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -628,9 +628,8 @@ public class TemplateParameterImpl case UMLPackage.TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT : if (ownedParameteredElement != null) msgs = ((InternalEObject) ownedParameteredElement) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.TEMPLATE_PARAMETER__OWNED_PARAMETERED_ELEMENT, null, msgs); return basicSetOwnedParameteredElement( (ParameterableElement) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TemplateableElementImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TemplateableElementImpl.java index 1e7543202..3d9dce817 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TemplateableElementImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TemplateableElementImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -355,9 +355,8 @@ public abstract class TemplateableElementImpl case UMLPackage.TEMPLATEABLE_ELEMENT__OWNED_TEMPLATE_SIGNATURE : if (ownedTemplateSignature != null) msgs = ((InternalEObject) ownedTemplateSignature) - .eInverseRemove(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.TEMPLATEABLE_ELEMENT__OWNED_TEMPLATE_SIGNATURE, + .eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.TEMPLATEABLE_ELEMENT__OWNED_TEMPLATE_SIGNATURE, null, msgs); return basicSetOwnedTemplateSignature( (TemplateSignature) otherEnd, msgs); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/UnmarshallActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/UnmarshallActionImpl.java index 30d72a840..9ed34f66b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/UnmarshallActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/UnmarshallActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -308,11 +308,8 @@ public class UnmarshallActionImpl - UMLPackage.UNMARSHALL_ACTION__OBJECT, null, null); if (newObject.eInternalContainer() == null) { - msgs = newObject - .eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.UNMARSHALL_ACTION__OBJECT, - null, msgs); + msgs = newObject.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.UNMARSHALL_ACTION__OBJECT, null, msgs); } if (msgs != null) msgs.dispatch(); diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/WriteStructuralFeatureActionImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/WriteStructuralFeatureActionImpl.java index feada96d6..d50aa605a 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/WriteStructuralFeatureActionImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/WriteStructuralFeatureActionImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -276,9 +276,8 @@ public abstract class WriteStructuralFeatureActionImpl - UMLPackage.WRITE_STRUCTURAL_FEATURE_ACTION__RESULT, null, null); if (newResult.eInternalContainer() == null) { - msgs = newResult.eInverseAdd(this, - EOPPOSITE_FEATURE_BASE - - UMLPackage.WRITE_STRUCTURAL_FEATURE_ACTION__RESULT, + msgs = newResult.eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - UMLPackage.WRITE_STRUCTURAL_FEATURE_ACTION__RESULT, null, msgs); } if (msgs != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AcceptCallActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AcceptCallActionOperations.java index 0a2b0196d..6a35681ae 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AcceptCallActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AcceptCallActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -86,8 +86,7 @@ public class AcceptCallActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateResultPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(acceptCallAction, context)}), - new Object[]{acceptCallAction})); + .getObjectLabel(acceptCallAction, context)}), new Object[]{acceptCallAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AcceptEventActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AcceptEventActionOperations.java index 3bb964f34..c3bdc12d0 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AcceptEventActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AcceptEventActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -81,8 +81,7 @@ public class AcceptEventActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneOutputPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(acceptEventAction, context)}), - new Object[]{acceptEventAction})); + .getObjectLabel(acceptEventAction, context)}), new Object[]{acceptEventAction})); } return false; } @@ -117,8 +116,7 @@ public class AcceptEventActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoInputPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(acceptEventAction, context)}), - new Object[]{acceptEventAction})); + .getObjectLabel(acceptEventAction, context)}), new Object[]{acceptEventAction})); } return false; } @@ -156,8 +154,7 @@ public class AcceptEventActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoOutputPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(acceptEventAction, context)}), - new Object[]{acceptEventAction})); + .getObjectLabel(acceptEventAction, context)}), new Object[]{acceptEventAction})); } return false; } @@ -200,8 +197,7 @@ public class AcceptEventActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateUnmarshallSignalEvents", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(acceptEventAction, context)}), - new Object[]{acceptEventAction})); + .getObjectLabel(acceptEventAction, context)}), new Object[]{acceptEventAction})); } return false; } @@ -241,8 +237,7 @@ public class AcceptEventActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateConformingType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(acceptEventAction, context)}), - new Object[]{acceptEventAction})); + .getObjectLabel(acceptEventAction, context)}), new Object[]{acceptEventAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActionExecutionSpecificationOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActionExecutionSpecificationOperations.java index cb81a2a55..6c983b895 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActionExecutionSpecificationOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActionExecutionSpecificationOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -81,8 +81,7 @@ public class ActionExecutionSpecificationOperations new Object[]{"validateActionReferenced", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(actionExecutionSpecification, - context)}), - new Object[]{actionExecutionSpecification})); + context)}), new Object[]{actionExecutionSpecification})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActionInputPinOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActionInputPinOperations.java index 8480974d8..b86cbc5cc 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActionInputPinOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActionInputPinOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class ActionInputPinOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneOutputPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(actionInputPin, context)}), - new Object[]{actionInputPin})); + .getObjectLabel(actionInputPin, context)}), new Object[]{actionInputPin})); } return false; } @@ -115,8 +114,7 @@ public class ActionInputPinOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoControlOrObjectFlow", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(actionInputPin, context)}), - new Object[]{actionInputPin})); + .getObjectLabel(actionInputPin, context)}), new Object[]{actionInputPin})); } return false; } @@ -150,8 +148,7 @@ public class ActionInputPinOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInputPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(actionInputPin, context)}), - new Object[]{actionInputPin})); + .getObjectLabel(actionInputPin, context)}), new Object[]{actionInputPin})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityEdgeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityEdgeOperations.java index f2daf55e7..c3c84480b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityEdgeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityEdgeOperations.java @@ -77,8 +77,7 @@ public class ActivityEdgeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSourceAndTarget", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(activityEdge, context)}), - new Object[]{activityEdge})); + .getObjectLabel(activityEdge, context)}), new Object[]{activityEdge})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityGroupOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityGroupOperations.java index 3e43a88a6..5c84c745f 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityGroupOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityGroupOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -100,8 +100,7 @@ public class ActivityGroupOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNodesAndEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(activityGroup, context)}), - new Object[]{activityGroup})); + .getObjectLabel(activityGroup, context)}), new Object[]{activityGroup})); } return false; } @@ -138,8 +137,7 @@ public class ActivityGroupOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNotContained", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(activityGroup, context)}), - new Object[]{activityGroup})); + .getObjectLabel(activityGroup, context)}), new Object[]{activityGroup})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityOperations.java index 13bf17f04..3f64e4a65 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class ActivityOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMaximumOneParameterNode", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(activity, context)}), - new Object[]{activity})); + .getObjectLabel(activity, context)}), new Object[]{activity})); } return false; } @@ -120,8 +119,7 @@ public class ActivityOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMaximumTwoParameterNodes", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(activity, context)}), - new Object[]{activity})); + .getObjectLabel(activity, context)}), new Object[]{activity})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityParameterNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityParameterNodeOperations.java index a65819cb9..351559e33 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityParameterNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityParameterNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -81,8 +81,7 @@ public class ActivityParameterNodeOperations new Object[]{"validateHasParameters", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(activityParameterNode, - context)}), - new Object[]{activityParameterNode})); + context)}), new Object[]{activityParameterNode})); } return false; } @@ -118,8 +117,7 @@ public class ActivityParameterNodeOperations new Object[]{"validateSameType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(activityParameterNode, - context)}), - new Object[]{activityParameterNode})); + context)}), new Object[]{activityParameterNode})); } return false; } @@ -155,8 +153,7 @@ public class ActivityParameterNodeOperations new Object[]{"validateNoEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(activityParameterNode, - context)}), - new Object[]{activityParameterNode})); + context)}), new Object[]{activityParameterNode})); } return false; } @@ -194,8 +191,7 @@ public class ActivityParameterNodeOperations new Object[]{"validateNoIncomingEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(activityParameterNode, - context)}), - new Object[]{activityParameterNode})); + context)}), new Object[]{activityParameterNode})); } return false; } @@ -234,8 +230,7 @@ public class ActivityParameterNodeOperations new Object[]{"validateNoOutgoingEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(activityParameterNode, - context)}), - new Object[]{activityParameterNode})); + context)}), new Object[]{activityParameterNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityPartitionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityPartitionOperations.java index 373795222..069421651 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityPartitionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ActivityPartitionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -79,8 +79,7 @@ public class ActivityPartitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateDimensionNotContained", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(activityPartition, context)}), - new Object[]{activityPartition})); + .getObjectLabel(activityPartition, context)}), new Object[]{activityPartition})); } return false; } @@ -127,8 +126,7 @@ public class ActivityPartitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateRepresentsClassifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(activityPartition, context)}), - new Object[]{activityPartition})); + .getObjectLabel(activityPartition, context)}), new Object[]{activityPartition})); } return false; } @@ -167,8 +165,7 @@ public class ActivityPartitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateRepresentsPropertyAndIsContained", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(activityPartition, context)}), - new Object[]{activityPartition})); + .getObjectLabel(activityPartition, context)}), new Object[]{activityPartition})); } return false; } @@ -209,8 +206,7 @@ public class ActivityPartitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateRepresentsProperty", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(activityPartition, context)}), - new Object[]{activityPartition})); + .getObjectLabel(activityPartition, context)}), new Object[]{activityPartition})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AddStructuralFeatureValueActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AddStructuralFeatureValueActionOperations.java index 5a7ba32dd..d7ed1d330 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AddStructuralFeatureValueActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AddStructuralFeatureValueActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -115,8 +115,7 @@ public class AddStructuralFeatureValueActionOperations new Object[]{"validateInsertAtPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(addStructuralFeatureValueAction, - context)}), - new Object[]{addStructuralFeatureValueAction})); + context)}), new Object[]{addStructuralFeatureValueAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AddVariableValueActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AddVariableValueActionOperations.java index 9a78b93e0..928383431 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AddVariableValueActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AddVariableValueActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -68,14 +68,12 @@ public class AddVariableValueActionOperations boolean result = addVariableValueAction.getValue() != null; if (!result && diagnostics != null) { - diagnostics - .add(new BasicDiagnostic(Diagnostic.WARNING, - UMLValidator.DIAGNOSTIC_SOURCE, - UMLValidator.ADD_VARIABLE_VALUE_ACTION__REQUIRED_VALUE, - UMLPlugin.INSTANCE.getString( - "_UI_AddVariableValueAction_RequiredValue_diagnostic", //$NON-NLS-1$ - getMessageSubstitutions(context, - addVariableValueAction)), + diagnostics.add(new BasicDiagnostic(Diagnostic.WARNING, + UMLValidator.DIAGNOSTIC_SOURCE, + UMLValidator.ADD_VARIABLE_VALUE_ACTION__REQUIRED_VALUE, + UMLPlugin.INSTANCE.getString( + "_UI_AddVariableValueAction_RequiredValue_diagnostic", //$NON-NLS-1$ + getMessageSubstitutions(context, addVariableValueAction)), new Object[]{addVariableValueAction})); } @@ -116,8 +114,7 @@ public class AddVariableValueActionOperations new Object[]{"validateInsertAtPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(addVariableValueAction, - context)}), - new Object[]{addVariableValueAction})); + context)}), new Object[]{addVariableValueAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AssociationOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AssociationOperations.java index a29bcdd71..435e75eda 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AssociationOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/AssociationOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -190,8 +190,7 @@ public class AssociationOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateBinaryAssociations", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(association, context)}), - new Object[]{association})); + .getObjectLabel(association, context)}), new Object[]{association})); } return false; } @@ -225,8 +224,7 @@ public class AssociationOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateAssociationEnds", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(association, context)}), - new Object[]{association})); + .getObjectLabel(association, context)}), new Object[]{association})); } return false; } @@ -259,8 +257,7 @@ public class AssociationOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateEndsMustBeTyped", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(association, context)}), - new Object[]{association})); + .getObjectLabel(association, context)}), new Object[]{association})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehaviorOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehaviorOperations.java index 86c92874f..0400b0992 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehaviorOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehaviorOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -94,8 +94,7 @@ public class BehaviorOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMostOneBehavior", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(behavior, context)}), - new Object[]{behavior})); + .getObjectLabel(behavior, context)}), new Object[]{behavior})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehavioralFeatureOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehavioralFeatureOperations.java index 7a6de3147..a49c366a4 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehavioralFeatureOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehavioralFeatureOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -87,8 +87,7 @@ public class BehavioralFeatureOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateAbstractNoMethod", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(behavioralFeature, context)}), - new Object[]{behavioralFeature})); + .getObjectLabel(behavioralFeature, context)}), new Object[]{behavioralFeature})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehavioredClassifierOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehavioredClassifierOperations.java index 086d208d1..7f8267cbb 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehavioredClassifierOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BehavioredClassifierOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -85,8 +85,7 @@ public class BehavioredClassifierOperations new Object[]{"validateClassBehavior", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(behavioredClassifier, - context)}), - new Object[]{behavioredClassifier})); + context)}), new Object[]{behavioredClassifier})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BroadcastSignalActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BroadcastSignalActionOperations.java index af7effb87..1663f2888 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BroadcastSignalActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/BroadcastSignalActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -79,8 +79,7 @@ public class BroadcastSignalActionOperations new Object[]{"validateNumberOfArguments", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(broadcastSignalAction, - context)}), - new Object[]{broadcastSignalAction})); + context)}), new Object[]{broadcastSignalAction})); } return false; } @@ -120,8 +119,7 @@ public class BroadcastSignalActionOperations new Object[]{"validateTypeOrderingMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(broadcastSignalAction, - context)}), - new Object[]{broadcastSignalAction})); + context)}), new Object[]{broadcastSignalAction})); } return false; } @@ -157,8 +155,7 @@ public class BroadcastSignalActionOperations new Object[]{"validateNoOnport", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(broadcastSignalAction, - context)}), - new Object[]{broadcastSignalAction})); + context)}), new Object[]{broadcastSignalAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallActionOperations.java index 6c239427d..41411093c 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -87,8 +87,7 @@ public class CallActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateArgumentPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(callAction, context)}), - new Object[]{callAction})); + .getObjectLabel(callAction, context)}), new Object[]{callAction})); } return false; } @@ -127,8 +126,7 @@ public class CallActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateResultPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(callAction, context)}), - new Object[]{callAction})); + .getObjectLabel(callAction, context)}), new Object[]{callAction})); } return false; } @@ -162,8 +160,7 @@ public class CallActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSynchronousCall", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(callAction, context)}), - new Object[]{callAction})); + .getObjectLabel(callAction, context)}), new Object[]{callAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallBehaviorActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallBehaviorActionOperations.java index 7fd23dd05..756872219 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallBehaviorActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallBehaviorActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -82,8 +82,7 @@ public class CallBehaviorActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoOnport", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(callBehaviorAction, context)}), - new Object[]{callBehaviorAction})); + .getObjectLabel(callBehaviorAction, context)}), new Object[]{callBehaviorAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallOperationActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallOperationActionOperations.java index b3073c815..d69111fbc 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallOperationActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CallOperationActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -84,8 +84,7 @@ public class CallOperationActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypeTargetPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(callOperationAction, context)}), - new Object[]{callOperationAction})); + .getObjectLabel(callOperationAction, context)}), new Object[]{callOperationAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClassifierOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClassifierOperations.java index 8992d3ee3..88bb6b963 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClassifierOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClassifierOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -195,7 +195,7 @@ public class ClassifierOperations "_UI_Classifier_SpecializeType_diagnostic", //$NON-NLS-1$ getMessageSubstitutions(context, classifier, parent)), - new Object[]{classifier, parent})); + new Object[]{classifier, parent})); } } } @@ -233,8 +233,7 @@ public class ClassifierOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMapsToGeneralizationSet", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(classifier, context)}), - new Object[]{classifier})); + .getObjectLabel(classifier, context)}), new Object[]{classifier})); } return false; } @@ -268,8 +267,7 @@ public class ClassifierOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNonFinalParents", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(classifier, context)}), - new Object[]{classifier})); + .getObjectLabel(classifier, context)}), new Object[]{classifier})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClassifierTemplateParameterOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClassifierTemplateParameterOperations.java index 387c60b59..b5b0c8cc3 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClassifierTemplateParameterOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClassifierTemplateParameterOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -82,8 +82,7 @@ public class ClassifierTemplateParameterOperations new Object[]{"validateHasConstrainingClassifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(classifierTemplateParameter, - context)}), - new Object[]{classifierTemplateParameter})); + context)}), new Object[]{classifierTemplateParameter})); } return false; } @@ -119,8 +118,7 @@ public class ClassifierTemplateParameterOperations new Object[]{"validateParameteredElementNoFeatures", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(classifierTemplateParameter, - context)}), - new Object[]{classifierTemplateParameter})); + context)}), new Object[]{classifierTemplateParameter})); } return false; } @@ -156,8 +154,7 @@ public class ClassifierTemplateParameterOperations new Object[]{"validateMatchingAbstract", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(classifierTemplateParameter, - context)}), - new Object[]{classifierTemplateParameter})); + context)}), new Object[]{classifierTemplateParameter})); } return false; } @@ -193,8 +190,7 @@ public class ClassifierTemplateParameterOperations new Object[]{"validateActualIsClassifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(classifierTemplateParameter, - context)}), - new Object[]{classifierTemplateParameter})); + context)}), new Object[]{classifierTemplateParameter})); } return false; } @@ -237,8 +233,7 @@ public class ClassifierTemplateParameterOperations "validateConstrainingClassifiersConstrainArgs", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(classifierTemplateParameter, - context)}), - new Object[]{classifierTemplateParameter})); + context)}), new Object[]{classifierTemplateParameter})); } return false; } @@ -277,8 +272,7 @@ public class ClassifierTemplateParameterOperations "validateConstrainingClassifiersConstrainParameteredElement", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(classifierTemplateParameter, - context)}), - new Object[]{classifierTemplateParameter})); + context)}), new Object[]{classifierTemplateParameter})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClauseOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClauseOperations.java index cf940f370..df95a09aa 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClauseOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClauseOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -79,8 +79,7 @@ public class ClauseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateDeciderOutput", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(clause, context)}), - new Object[]{clause})); + .getObjectLabel(clause, context)}), new Object[]{clause})); } return false; } @@ -114,8 +113,7 @@ public class ClauseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTestAndBody", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(clause, context)}), - new Object[]{clause})); + .getObjectLabel(clause, context)}), new Object[]{clause})); } return false; } @@ -149,8 +147,7 @@ public class ClauseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateBodyOutputPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(clause, context)}), - new Object[]{clause})); + .getObjectLabel(clause, context)}), new Object[]{clause})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClearAssociationActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClearAssociationActionOperations.java index a60952b2f..b45868c56 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClearAssociationActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClearAssociationActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class ClearAssociationActionOperations new Object[]{"validateSameType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(clearAssociationAction, - context)}), - new Object[]{clearAssociationAction})); + context)}), new Object[]{clearAssociationAction})); } return false; } @@ -115,8 +114,7 @@ public class ClearAssociationActionOperations new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(clearAssociationAction, - context)}), - new Object[]{clearAssociationAction})); + context)}), new Object[]{clearAssociationAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClearStructuralFeatureActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClearStructuralFeatureActionOperations.java index 211327cd4..b75edfc5b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClearStructuralFeatureActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ClearStructuralFeatureActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2008, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class ClearStructuralFeatureActionOperations new Object[]{"validateTypeOfResult", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(clearStructuralFeatureAction, - context)}), - new Object[]{clearStructuralFeatureAction})); + context)}), new Object[]{clearStructuralFeatureAction})); } return false; } @@ -115,8 +114,7 @@ public class ClearStructuralFeatureActionOperations new Object[]{"validateMultiplicityOfResult", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(clearStructuralFeatureAction, - context)}), - new Object[]{clearStructuralFeatureAction})); + context)}), new Object[]{clearStructuralFeatureAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CollaborationUseOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CollaborationUseOperations.java index 6d6af7da2..ec1bed39e 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CollaborationUseOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CollaborationUseOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -86,8 +86,7 @@ public class CollaborationUseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateClientElements", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(collaborationUse, context)}), - new Object[]{collaborationUse})); + .getObjectLabel(collaborationUse, context)}), new Object[]{collaborationUse})); } return false; } @@ -121,8 +120,7 @@ public class CollaborationUseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateEveryRole", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(collaborationUse, context)}), - new Object[]{collaborationUse})); + .getObjectLabel(collaborationUse, context)}), new Object[]{collaborationUse})); } return false; } @@ -164,8 +162,7 @@ public class CollaborationUseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateConnectors", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(collaborationUse, context)}), - new Object[]{collaborationUse})); + .getObjectLabel(collaborationUse, context)}), new Object[]{collaborationUse})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CombinedFragmentOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CombinedFragmentOperations.java index a66168725..cea21d70e 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CombinedFragmentOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CombinedFragmentOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -126,8 +126,7 @@ public class CombinedFragmentOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateBreak", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(combinedFragment, context)}), - new Object[]{combinedFragment})); + .getObjectLabel(combinedFragment, context)}), new Object[]{combinedFragment})); } return false; } @@ -162,8 +161,7 @@ public class CombinedFragmentOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateConsiderAndIgnore", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(combinedFragment, context)}), - new Object[]{combinedFragment})); + .getObjectLabel(combinedFragment, context)}), new Object[]{combinedFragment})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CommunicationPathOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CommunicationPathOperations.java index c660cd315..b7bff9fac 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CommunicationPathOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CommunicationPathOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class CommunicationPathOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateAssociationEnds", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(communicationPath, context)}), - new Object[]{communicationPath})); + .getObjectLabel(communicationPath, context)}), new Object[]{communicationPath})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ComponentOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ComponentOperations.java index 68b1fb897..6567ee3f1 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ComponentOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ComponentOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -93,8 +93,7 @@ public class ComponentOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoNestedClassifiers", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(component, context)}), - new Object[]{component})); + .getObjectLabel(component, context)}), new Object[]{component})); } return false; } @@ -128,8 +127,7 @@ public class ComponentOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoPackagedElements", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(component, context)}), - new Object[]{component})); + .getObjectLabel(component, context)}), new Object[]{component})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConditionalNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConditionalNodeOperations.java index 9d03fccff..01c523182 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConditionalNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConditionalNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -86,8 +86,7 @@ public class ConditionalNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateResultNoIncoming", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(conditionalNode, context)}), - new Object[]{conditionalNode})); + .getObjectLabel(conditionalNode, context)}), new Object[]{conditionalNode})); } return false; } @@ -121,8 +120,7 @@ public class ConditionalNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoInputPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(conditionalNode, context)}), - new Object[]{conditionalNode})); + .getObjectLabel(conditionalNode, context)}), new Object[]{conditionalNode})); } return false; } @@ -158,8 +156,7 @@ public class ConditionalNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneClauseWithExecutableNode", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(conditionalNode, context)}), - new Object[]{conditionalNode})); + .getObjectLabel(conditionalNode, context)}), new Object[]{conditionalNode})); } return false; } @@ -200,8 +197,7 @@ public class ConditionalNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMatchingOutputPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(conditionalNode, context)}), - new Object[]{conditionalNode})); + .getObjectLabel(conditionalNode, context)}), new Object[]{conditionalNode})); } return false; } @@ -236,8 +232,7 @@ public class ConditionalNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateExecutableNodes", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(conditionalNode, context)}), - new Object[]{conditionalNode})); + .getObjectLabel(conditionalNode, context)}), new Object[]{conditionalNode})); } return false; } @@ -272,8 +267,7 @@ public class ConditionalNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateClauseNoPredecessor", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(conditionalNode, context)}), - new Object[]{conditionalNode})); + .getObjectLabel(conditionalNode, context)}), new Object[]{conditionalNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectionPointReferenceOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectionPointReferenceOperations.java index 1af9d7e91..76987ae0a 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectionPointReferenceOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectionPointReferenceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class ConnectionPointReferenceOperations new Object[]{"validateEntryPseudostates", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(connectionPointReference, - context)}), - new Object[]{connectionPointReference})); + context)}), new Object[]{connectionPointReference})); } return false; } @@ -115,8 +114,7 @@ public class ConnectionPointReferenceOperations new Object[]{"validateExitPseudostates", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(connectionPointReference, - context)}), - new Object[]{connectionPointReference})); + context)}), new Object[]{connectionPointReference})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectorEndOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectorEndOperations.java index be6cf4d81..1df15f6c0 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectorEndOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectorEndOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -86,8 +86,7 @@ public class ConnectorEndOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(connectorEnd, context)}), - new Object[]{connectorEnd})); + .getObjectLabel(connectorEnd, context)}), new Object[]{connectorEnd})); } return false; } @@ -121,8 +120,7 @@ public class ConnectorEndOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validatePartWithPortEmpty", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(connectorEnd, context)}), - new Object[]{connectorEnd})); + .getObjectLabel(connectorEnd, context)}), new Object[]{connectorEnd})); } return false; } @@ -157,8 +155,7 @@ public class ConnectorEndOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateRoleAndPartWithPort", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(connectorEnd, context)}), - new Object[]{connectorEnd})); + .getObjectLabel(connectorEnd, context)}), new Object[]{connectorEnd})); } return false; } @@ -192,8 +189,7 @@ public class ConnectorEndOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSelfPartWithPort", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(connectorEnd, context)}), - new Object[]{connectorEnd})); + .getObjectLabel(connectorEnd, context)}), new Object[]{connectorEnd})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectorOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectorOperations.java index 603163852..760514064 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectorOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConnectorOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -194,7 +194,7 @@ public class ConnectorOperations "_UI_Connector_Roles_diagnostic", //$NON-NLS-1$ getMessageSubstitutions(context, connector)), - new Object[]{connector})); + new Object[]{connector})); } return false; diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConsiderIgnoreFragmentOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConsiderIgnoreFragmentOperations.java index 722b0f380..329ac320c 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConsiderIgnoreFragmentOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConsiderIgnoreFragmentOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class ConsiderIgnoreFragmentOperations new Object[]{"validateConsiderOrIgnore", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(considerIgnoreFragment, - context)}), - new Object[]{considerIgnoreFragment})); + context)}), new Object[]{considerIgnoreFragment})); } return false; } @@ -115,8 +114,7 @@ public class ConsiderIgnoreFragmentOperations new Object[]{"validateType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(considerIgnoreFragment, - context)}), - new Object[]{considerIgnoreFragment})); + context)}), new Object[]{considerIgnoreFragment})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConstraintOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConstraintOperations.java index c882eda37..1a6f4377b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConstraintOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ConstraintOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -110,8 +110,7 @@ public class ConstraintOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateBooleanValue", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(constraint, context)}), - new Object[]{constraint})); + .getObjectLabel(constraint, context)}), new Object[]{constraint})); } return false; } @@ -144,8 +143,7 @@ public class ConstraintOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoSideEffects", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(constraint, context)}), - new Object[]{constraint})); + .getObjectLabel(constraint, context)}), new Object[]{constraint})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ContinuationOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ContinuationOperations.java index 682f10765..d570a889f 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ContinuationOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ContinuationOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -100,8 +100,7 @@ public class ContinuationOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSameName", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(continuation, context)}), - new Object[]{continuation})); + .getObjectLabel(continuation, context)}), new Object[]{continuation})); } return false; } @@ -138,8 +137,7 @@ public class ContinuationOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateGlobal", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(continuation, context)}), - new Object[]{continuation})); + .getObjectLabel(continuation, context)}), new Object[]{continuation})); } return false; } @@ -177,8 +175,7 @@ public class ContinuationOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateFirstOrLastInteractionFragment", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(continuation, context)}), - new Object[]{continuation})); + .getObjectLabel(continuation, context)}), new Object[]{continuation})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ControlFlowOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ControlFlowOperations.java index 0f610d80b..7cbedf588 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ControlFlowOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ControlFlowOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class ControlFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateObjectNodes", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(controlFlow, context)}), - new Object[]{controlFlow})); + .getObjectLabel(controlFlow, context)}), new Object[]{controlFlow})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateLinkActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateLinkActionOperations.java index 0b707cd0e..3c513f80b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateLinkActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateLinkActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class CreateLinkActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateAssociationNotAbstract", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(createLinkAction, context)}), - new Object[]{createLinkAction})); + .getObjectLabel(createLinkAction, context)}), new Object[]{createLinkAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateLinkObjectActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateLinkObjectActionOperations.java index 311a683d1..edbc2cc49 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateLinkObjectActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateLinkObjectActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -79,8 +79,7 @@ public class CreateLinkObjectActionOperations new Object[]{"validateAssociationClass", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(createLinkObjectAction, - context)}), - new Object[]{createLinkObjectAction})); + context)}), new Object[]{createLinkObjectAction})); } return false; } @@ -116,8 +115,7 @@ public class CreateLinkObjectActionOperations new Object[]{"validateTypeOfResult", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(createLinkObjectAction, - context)}), - new Object[]{createLinkObjectAction})); + context)}), new Object[]{createLinkObjectAction})); } return false; } @@ -153,8 +151,7 @@ public class CreateLinkObjectActionOperations new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(createLinkObjectAction, - context)}), - new Object[]{createLinkObjectAction})); + context)}), new Object[]{createLinkObjectAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateObjectActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateObjectActionOperations.java index a7c809aff..705a719f9 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateObjectActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/CreateObjectActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -79,8 +79,7 @@ public class CreateObjectActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateClassifierNotAbstract", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(createObjectAction, context)}), - new Object[]{createObjectAction})); + .getObjectLabel(createObjectAction, context)}), new Object[]{createObjectAction})); } return false; } @@ -115,8 +114,7 @@ public class CreateObjectActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateClassifierNotAssociationClass", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(createObjectAction, context)}), - new Object[]{createObjectAction})); + .getObjectLabel(createObjectAction, context)}), new Object[]{createObjectAction})); } return false; } @@ -151,8 +149,7 @@ public class CreateObjectActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSameType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(createObjectAction, context)}), - new Object[]{createObjectAction})); + .getObjectLabel(createObjectAction, context)}), new Object[]{createObjectAction})); } return false; } @@ -187,8 +184,7 @@ public class CreateObjectActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(createObjectAction, context)}), - new Object[]{createObjectAction})); + .getObjectLabel(createObjectAction, context)}), new Object[]{createObjectAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DecisionNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DecisionNodeOperations.java index c8d29d52e..885cc21cf 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DecisionNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DecisionNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -83,8 +83,7 @@ public class DecisionNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateIncomingOutgoingEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(decisionNode, context)}), - new Object[]{decisionNode})); + .getObjectLabel(decisionNode, context)}), new Object[]{decisionNode})); } return false; } @@ -121,8 +120,7 @@ public class DecisionNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(decisionNode, context)}), - new Object[]{decisionNode})); + .getObjectLabel(decisionNode, context)}), new Object[]{decisionNode})); } return false; } @@ -157,8 +155,7 @@ public class DecisionNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateDecisionInputFlowIncoming", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(decisionNode, context)}), - new Object[]{decisionNode})); + .getObjectLabel(decisionNode, context)}), new Object[]{decisionNode})); } return false; } @@ -197,8 +194,7 @@ public class DecisionNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateParameters", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(decisionNode, context)}), - new Object[]{decisionNode})); + .getObjectLabel(decisionNode, context)}), new Object[]{decisionNode})); } return false; } @@ -233,8 +229,7 @@ public class DecisionNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateZeroInputParameters", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(decisionNode, context)}), - new Object[]{decisionNode})); + .getObjectLabel(decisionNode, context)}), new Object[]{decisionNode})); } return false; } @@ -270,8 +265,7 @@ public class DecisionNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateIncomingObjectOneInputParameter", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(decisionNode, context)}), - new Object[]{decisionNode})); + .getObjectLabel(decisionNode, context)}), new Object[]{decisionNode})); } return false; } @@ -307,8 +301,7 @@ public class DecisionNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateIncomingControlOneInputParameter", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(decisionNode, context)}), - new Object[]{decisionNode})); + .getObjectLabel(decisionNode, context)}), new Object[]{decisionNode})); } return false; } @@ -343,8 +336,7 @@ public class DecisionNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTwoInputParameters", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(decisionNode, context)}), - new Object[]{decisionNode})); + .getObjectLabel(decisionNode, context)}), new Object[]{decisionNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DeploymentSpecificationOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DeploymentSpecificationOperations.java index f4b21c9e1..4e6d094cb 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DeploymentSpecificationOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DeploymentSpecificationOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class DeploymentSpecificationOperations new Object[]{"validateDeployedElements", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(deploymentSpecification, - context)}), - new Object[]{deploymentSpecification})); + context)}), new Object[]{deploymentSpecification})); } return false; } @@ -115,8 +114,7 @@ public class DeploymentSpecificationOperations new Object[]{"validateDeploymentTarget", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(deploymentSpecification, - context)}), - new Object[]{deploymentSpecification})); + context)}), new Object[]{deploymentSpecification})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DestroyObjectActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DestroyObjectActionOperations.java index 1a0449ffa..0b4488217 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DestroyObjectActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DestroyObjectActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class DestroyObjectActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(destroyObjectAction, context)}), - new Object[]{destroyObjectAction})); + .getObjectLabel(destroyObjectAction, context)}), new Object[]{destroyObjectAction})); } return false; } @@ -113,8 +112,7 @@ public class DestroyObjectActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(destroyObjectAction, context)}), - new Object[]{destroyObjectAction})); + .getObjectLabel(destroyObjectAction, context)}), new Object[]{destroyObjectAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DestructionOccurrenceSpecificationOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DestructionOccurrenceSpecificationOperations.java index c473b97e1..02d4cb1cd 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DestructionOccurrenceSpecificationOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DestructionOccurrenceSpecificationOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2016 CEA and others. + * Copyright (c) 2011, 2018 CEA 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 @@ -80,8 +80,7 @@ public class DestructionOccurrenceSpecificationOperations org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel( destructionOccurrenceSpecification, - context)}), - new Object[]{destructionOccurrenceSpecification})); + context)}), new Object[]{destructionOccurrenceSpecification})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationConstraintOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationConstraintOperations.java index 3d360af56..18f0ca6ac 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationConstraintOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationConstraintOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -79,8 +79,7 @@ public class DurationConstraintOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateFirstEventMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(durationConstraint, context)}), - new Object[]{durationConstraint})); + .getObjectLabel(durationConstraint, context)}), new Object[]{durationConstraint})); } return false; } @@ -115,8 +114,7 @@ public class DurationConstraintOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateHasOneOrTwoConstrainedElements", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(durationConstraint, context)}), - new Object[]{durationConstraint})); + .getObjectLabel(durationConstraint, context)}), new Object[]{durationConstraint})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationObservationOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationObservationOperations.java index 3c21dc727..9d6692806 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationObservationOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationObservationOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class DurationObservationOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateFirstEventMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(durationObservation, context)}), - new Object[]{durationObservation})); + .getObjectLabel(durationObservation, context)}), new Object[]{durationObservation})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationOperations.java index d398fedbf..9c9c05f74 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/DurationOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2006, 2018 IBM Corporation, CEA, 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 @@ -74,8 +74,7 @@ public class DurationOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoExprRequiresObservation", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(duration, context)}), - new Object[]{duration})); + .getObjectLabel(duration, context)}), new Object[]{duration})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/EnumerationOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/EnumerationOperations.java index 7b2cb9a95..7b2463bc1 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/EnumerationOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/EnumerationOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2016 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -74,8 +74,7 @@ public class EnumerationOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateImmutable", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(enumeration, context)}), - new Object[]{enumeration})); + .getObjectLabel(enumeration, context)}), new Object[]{enumeration})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExceptionHandlerOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExceptionHandlerOperations.java index 3c28f9481..8a4b3496f 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExceptionHandlerOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExceptionHandlerOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -81,8 +81,7 @@ public class ExceptionHandlerOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateHandlerBodyEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(exceptionHandler, context)}), - new Object[]{exceptionHandler})); + .getObjectLabel(exceptionHandler, context)}), new Object[]{exceptionHandler})); } return false; } @@ -126,8 +125,7 @@ public class ExceptionHandlerOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOutputPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(exceptionHandler, context)}), - new Object[]{exceptionHandler})); + .getObjectLabel(exceptionHandler, context)}), new Object[]{exceptionHandler})); } return false; } @@ -163,8 +161,7 @@ public class ExceptionHandlerOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneInput", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(exceptionHandler, context)}), - new Object[]{exceptionHandler})); + .getObjectLabel(exceptionHandler, context)}), new Object[]{exceptionHandler})); } return false; } @@ -201,8 +198,7 @@ public class ExceptionHandlerOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateEdgeSourceTarget", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(exceptionHandler, context)}), - new Object[]{exceptionHandler})); + .getObjectLabel(exceptionHandler, context)}), new Object[]{exceptionHandler})); } return false; } @@ -237,8 +233,7 @@ public class ExceptionHandlerOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateHandlerBodyOwner", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(exceptionHandler, context)}), - new Object[]{exceptionHandler})); + .getObjectLabel(exceptionHandler, context)}), new Object[]{exceptionHandler})); } return false; } @@ -274,8 +269,7 @@ public class ExceptionHandlerOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateExceptionInputType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(exceptionHandler, context)}), - new Object[]{exceptionHandler})); + .getObjectLabel(exceptionHandler, context)}), new Object[]{exceptionHandler})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExpansionNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExpansionNodeOperations.java index b13e86084..3a3240d76 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExpansionNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExpansionNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2016 CEA and others. + * Copyright (c) 2011, 2018 CEA 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 @@ -76,8 +76,7 @@ public class ExpansionNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateRegionAsInputOrOutput", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(expansionNode, context)}), - new Object[]{expansionNode})); + .getObjectLabel(expansionNode, context)}), new Object[]{expansionNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtendOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtendOperations.java index 1054b46e8..3e6ad468e 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtendOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtendOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -75,8 +75,7 @@ public class ExtendOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateExtensionPoints", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(extend, context)}), - new Object[]{extend})); + .getObjectLabel(extend, context)}), new Object[]{extend})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionEndOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionEndOperations.java index 66acb6762..aa62b3df2 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionEndOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionEndOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation and others. + * Copyright (c) 2005, 2018 IBM Corporation 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 @@ -80,8 +80,7 @@ public class ExtensionEndOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(extensionEnd, context)}), - new Object[]{extensionEnd})); + .getObjectLabel(extensionEnd, context)}), new Object[]{extensionEnd})); } return false; } @@ -115,8 +114,7 @@ public class ExtensionEndOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateAggregation", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(extensionEnd, context)}), - new Object[]{extensionEnd})); + .getObjectLabel(extensionEnd, context)}), new Object[]{extensionEnd})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionOperations.java index 3fc6f2222..e5971ac80 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -87,8 +87,7 @@ public class ExtensionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNonOwnedEnd", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(extension, context)}), - new Object[]{extension})); + .getObjectLabel(extension, context)}), new Object[]{extension})); } return false; } @@ -122,8 +121,7 @@ public class ExtensionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateIsBinary", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(extension, context)}), - new Object[]{extension})); + .getObjectLabel(extension, context)}), new Object[]{extension})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionPointOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionPointOperations.java index 3806db75e..6c0212626 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionPointOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ExtensionPointOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -75,8 +75,7 @@ public class ExtensionPointOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMustHaveName", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(extensionPoint, context)}), - new Object[]{extensionPoint})); + .getObjectLabel(extensionPoint, context)}), new Object[]{extensionPoint})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FinalNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FinalNodeOperations.java index 88b12afbb..ba58ad980 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FinalNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FinalNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation and others. + * Copyright (c) 2005, 2018 IBM Corporation 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 @@ -75,8 +75,7 @@ public class FinalNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoOutgoingEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(finalNode, context)}), - new Object[]{finalNode})); + .getObjectLabel(finalNode, context)}), new Object[]{finalNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FinalStateOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FinalStateOperations.java index 881cf347e..ee640e763 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FinalStateOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FinalStateOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -80,8 +80,7 @@ public class FinalStateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoOutgoingTransitions", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(finalState, context)}), - new Object[]{finalState})); + .getObjectLabel(finalState, context)}), new Object[]{finalState})); } return false; } @@ -115,8 +114,7 @@ public class FinalStateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoRegions", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(finalState, context)}), - new Object[]{finalState})); + .getObjectLabel(finalState, context)}), new Object[]{finalState})); } return false; } @@ -151,8 +149,7 @@ public class FinalStateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateCannotReferenceSubmachine", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(finalState, context)}), - new Object[]{finalState})); + .getObjectLabel(finalState, context)}), new Object[]{finalState})); } return false; } @@ -186,8 +183,7 @@ public class FinalStateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoEntryBehavior", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(finalState, context)}), - new Object[]{finalState})); + .getObjectLabel(finalState, context)}), new Object[]{finalState})); } return false; } @@ -221,8 +217,7 @@ public class FinalStateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoExitBehavior", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(finalState, context)}), - new Object[]{finalState})); + .getObjectLabel(finalState, context)}), new Object[]{finalState})); } return false; } @@ -256,8 +251,7 @@ public class FinalStateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoStateBehavior", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(finalState, context)}), - new Object[]{finalState})); + .getObjectLabel(finalState, context)}), new Object[]{finalState})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ForkNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ForkNodeOperations.java index 8e5a4287e..a66e7a294 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ForkNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ForkNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class ForkNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneIncomingEdge", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(forkNode, context)}), - new Object[]{forkNode})); + .getObjectLabel(forkNode, context)}), new Object[]{forkNode})); } return false; } @@ -112,8 +111,7 @@ public class ForkNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(forkNode, context)}), - new Object[]{forkNode})); + .getObjectLabel(forkNode, context)}), new Object[]{forkNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FunctionBehaviorOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FunctionBehaviorOperations.java index 436a962c9..9e5e2a4ca 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FunctionBehaviorOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/FunctionBehaviorOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -82,8 +82,7 @@ public class FunctionBehaviorOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneOutputParameter", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(functionBehavior, context)}), - new Object[]{functionBehavior})); + .getObjectLabel(functionBehavior, context)}), new Object[]{functionBehavior})); } return false; } @@ -119,8 +118,7 @@ public class FunctionBehaviorOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypesOfParameters", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(functionBehavior, context)}), - new Object[]{functionBehavior})); + .getObjectLabel(functionBehavior, context)}), new Object[]{functionBehavior})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GateOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GateOperations.java index 05ce06ad2..8dd370e81 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GateOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GateOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -101,8 +101,7 @@ public class GateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateActualGateMatched", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(gate, context)}), - new Object[]{gate})); + .getObjectLabel(gate, context)}), new Object[]{gate})); } return false; } @@ -136,8 +135,7 @@ public class GateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInsideCfMatched", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(gate, context)}), - new Object[]{gate})); + .getObjectLabel(gate, context)}), new Object[]{gate})); } return false; } @@ -177,8 +175,7 @@ public class GateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOutsideCfMatched", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(gate, context)}), - new Object[]{gate})); + .getObjectLabel(gate, context)}), new Object[]{gate})); } return false; } @@ -212,8 +209,7 @@ public class GateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateFormalGateDistinguishable", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(gate, context)}), - new Object[]{gate})); + .getObjectLabel(gate, context)}), new Object[]{gate})); } return false; } @@ -247,8 +243,7 @@ public class GateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateActualGateDistinguishable", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(gate, context)}), - new Object[]{gate})); + .getObjectLabel(gate, context)}), new Object[]{gate})); } return false; } @@ -282,8 +277,7 @@ public class GateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOutsideCfGateDistinguishable", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(gate, context)}), - new Object[]{gate})); + .getObjectLabel(gate, context)}), new Object[]{gate})); } return false; } @@ -319,8 +313,7 @@ public class GateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInsideCfGateDistinguishable", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(gate, context)}), - new Object[]{gate})); + .getObjectLabel(gate, context)}), new Object[]{gate})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GeneralOrderingOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GeneralOrderingOperations.java index 508bebc97..dbfde7e1e 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GeneralOrderingOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GeneralOrderingOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2016 CEA and others. + * Copyright (c) 2011, 2018 CEA 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 @@ -76,8 +76,7 @@ public class GeneralOrderingOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateIrreflexiveTransitiveClosure", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(generalOrdering, context)}), - new Object[]{generalOrdering})); + .getObjectLabel(generalOrdering, context)}), new Object[]{generalOrdering})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GeneralizationSetOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GeneralizationSetOperations.java index 769f6976a..2e2cf6d4a 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GeneralizationSetOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/GeneralizationSetOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class GeneralizationSetOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateGeneralizationSameClassifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(generalizationSet, context)}), - new Object[]{generalizationSet})); + .getObjectLabel(generalizationSet, context)}), new Object[]{generalizationSet})); } return false; } @@ -115,8 +114,7 @@ public class GeneralizationSetOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMapsToGeneralizationSet", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(generalizationSet, context)}), - new Object[]{generalizationSet})); + .getObjectLabel(generalizationSet, context)}), new Object[]{generalizationSet})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InformationFlowOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InformationFlowOperations.java index 072da8801..81d34104d 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InformationFlowOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InformationFlowOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -91,8 +91,7 @@ public class InformationFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSourcesAndTargetsKind", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(informationFlow, context)}), - new Object[]{informationFlow})); + .getObjectLabel(informationFlow, context)}), new Object[]{informationFlow})); } return false; } @@ -125,8 +124,7 @@ public class InformationFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMustConform", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(informationFlow, context)}), - new Object[]{informationFlow})); + .getObjectLabel(informationFlow, context)}), new Object[]{informationFlow})); } return false; } @@ -162,8 +160,7 @@ public class InformationFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateConveyClassifiers", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(informationFlow, context)}), - new Object[]{informationFlow})); + .getObjectLabel(informationFlow, context)}), new Object[]{informationFlow})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InformationItemOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InformationItemOperations.java index b92578ab0..7948cc705 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InformationItemOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InformationItemOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -82,8 +82,7 @@ public class InformationItemOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSourcesAndTargets", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(informationItem, context)}), - new Object[]{informationItem})); + .getObjectLabel(informationItem, context)}), new Object[]{informationItem})); } return false; } @@ -117,8 +116,7 @@ public class InformationItemOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateHasNo", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(informationItem, context)}), - new Object[]{informationItem})); + .getObjectLabel(informationItem, context)}), new Object[]{informationItem})); } return false; } @@ -153,8 +151,7 @@ public class InformationItemOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNotInstantiable", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(informationItem, context)}), - new Object[]{informationItem})); + .getObjectLabel(informationItem, context)}), new Object[]{informationItem})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InitialNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InitialNodeOperations.java index 10b5037a9..bdec54538 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InitialNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InitialNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class InitialNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoIncomingEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(initialNode, context)}), - new Object[]{initialNode})); + .getObjectLabel(initialNode, context)}), new Object[]{initialNode})); } return false; } @@ -111,8 +110,7 @@ public class InitialNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateControlEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(initialNode, context)}), - new Object[]{initialNode})); + .getObjectLabel(initialNode, context)}), new Object[]{initialNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InputPinOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InputPinOperations.java index 914f164de..9610d3c1c 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InputPinOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InputPinOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2006, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class InputPinOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOutgoingEdgesStructuredOnly", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(inputPin, context)}), - new Object[]{inputPin})); + .getObjectLabel(inputPin, context)}), new Object[]{inputPin})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InstanceSpecificationOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InstanceSpecificationOperations.java index bab6d83e4..14109941a 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InstanceSpecificationOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InstanceSpecificationOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -80,8 +80,7 @@ public class InstanceSpecificationOperations new Object[]{"validateDefiningFeature", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(instanceSpecification, - context)}), - new Object[]{instanceSpecification})); + context)}), new Object[]{instanceSpecification})); } return false; } @@ -117,8 +116,7 @@ public class InstanceSpecificationOperations new Object[]{"validateStructuralFeature", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(instanceSpecification, - context)}), - new Object[]{instanceSpecification})); + context)}), new Object[]{instanceSpecification})); } return false; } @@ -154,8 +152,7 @@ public class InstanceSpecificationOperations new Object[]{"validateDeploymentTarget", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(instanceSpecification, - context)}), - new Object[]{instanceSpecification})); + context)}), new Object[]{instanceSpecification})); } return false; } @@ -191,8 +188,7 @@ public class InstanceSpecificationOperations new Object[]{"validateDeploymentArtifact", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(instanceSpecification, - context)}), - new Object[]{instanceSpecification})); + context)}), new Object[]{instanceSpecification})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionConstraintOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionConstraintOperations.java index 39fcc74af..9b6ddeb70 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionConstraintOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionConstraintOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -81,8 +81,7 @@ public class InteractionConstraintOperations new Object[]{"validateDynamicVariables", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(interactionConstraint, - context)}), - new Object[]{interactionConstraint})); + context)}), new Object[]{interactionConstraint})); } return false; } @@ -117,8 +116,7 @@ public class InteractionConstraintOperations new Object[]{"validateGlobalData", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(interactionConstraint, - context)}), - new Object[]{interactionConstraint})); + context)}), new Object[]{interactionConstraint})); } return false; } @@ -156,8 +154,7 @@ public class InteractionConstraintOperations new Object[]{"validateMinintMaxint", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(interactionConstraint, - context)}), - new Object[]{interactionConstraint})); + context)}), new Object[]{interactionConstraint})); } return false; } @@ -194,8 +191,7 @@ public class InteractionConstraintOperations new Object[]{"validateMinintNonNegative", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(interactionConstraint, - context)}), - new Object[]{interactionConstraint})); + context)}), new Object[]{interactionConstraint})); } return false; } @@ -232,8 +228,7 @@ public class InteractionConstraintOperations new Object[]{"validateMaxintPositive", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(interactionConstraint, - context)}), - new Object[]{interactionConstraint})); + context)}), new Object[]{interactionConstraint})); } return false; } @@ -271,8 +266,7 @@ public class InteractionConstraintOperations new Object[]{"validateMaxintGreaterEqualMinint", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(interactionConstraint, - context)}), - new Object[]{interactionConstraint})); + context)}), new Object[]{interactionConstraint})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionOperandOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionOperandOperations.java index 26cf914b6..3b042e8c1 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionOperandOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionOperandOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class InteractionOperandOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateGuardDirectlyPrior", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(interactionOperand, context)}), - new Object[]{interactionOperand})); + .getObjectLabel(interactionOperand, context)}), new Object[]{interactionOperand})); } return false; } @@ -111,8 +110,7 @@ public class InteractionOperandOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateGuardContainReferences", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(interactionOperand, context)}), - new Object[]{interactionOperand})); + .getObjectLabel(interactionOperand, context)}), new Object[]{interactionOperand})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionOperations.java index d74dfbe56..c6a40f6e5 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2016 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -75,8 +75,7 @@ public class InteractionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNotContained", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(interaction, context)}), - new Object[]{interaction})); + .getObjectLabel(interaction, context)}), new Object[]{interaction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionUseOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionUseOperations.java index 2b9797484..5590110aa 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionUseOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InteractionUseOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -82,8 +82,7 @@ public class InteractionUseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateGatesMatch", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(interactionUse, context)}), - new Object[]{interactionUse})); + .getObjectLabel(interactionUse, context)}), new Object[]{interactionUse})); } return false; } @@ -131,8 +130,7 @@ public class InteractionUseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateAllLifelines", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(interactionUse, context)}), - new Object[]{interactionUse})); + .getObjectLabel(interactionUse, context)}), new Object[]{interactionUse})); } return false; } @@ -166,8 +164,7 @@ public class InteractionUseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateArgumentsCorrespondToParameters", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(interactionUse, context)}), - new Object[]{interactionUse})); + .getObjectLabel(interactionUse, context)}), new Object[]{interactionUse})); } return false; } @@ -203,8 +200,7 @@ public class InteractionUseOperations new Object[]{ "validateReturnValueTypeRecipientCorrespondence", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(interactionUse, context)}), - new Object[]{interactionUse})); + .getObjectLabel(interactionUse, context)}), new Object[]{interactionUse})); } return false; } @@ -238,8 +234,7 @@ public class InteractionUseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateArgumentsAreConstants", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(interactionUse, context)}), - new Object[]{interactionUse})); + .getObjectLabel(interactionUse, context)}), new Object[]{interactionUse})); } return false; } @@ -278,8 +273,7 @@ public class InteractionUseOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateReturnValueRecipientCoverage", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(interactionUse, context)}), - new Object[]{interactionUse})); + .getObjectLabel(interactionUse, context)}), new Object[]{interactionUse})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InterruptibleActivityRegionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InterruptibleActivityRegionOperations.java index eeac2770c..5cf71a2a7 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InterruptibleActivityRegionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/InterruptibleActivityRegionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class InterruptibleActivityRegionOperations new Object[]{"validateInterruptingEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(interruptibleActivityRegion, - context)}), - new Object[]{interruptibleActivityRegion})); + context)}), new Object[]{interruptibleActivityRegion})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/JoinNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/JoinNodeOperations.java index e5e72cf56..7dca9f62c 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/JoinNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/JoinNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class JoinNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneOutgoingEdge", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(joinNode, context)}), - new Object[]{joinNode})); + .getObjectLabel(joinNode, context)}), new Object[]{joinNode})); } return false; } @@ -113,8 +112,7 @@ public class JoinNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateIncomingObjectFlow", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(joinNode, context)}), - new Object[]{joinNode})); + .getObjectLabel(joinNode, context)}), new Object[]{joinNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LifelineOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LifelineOperations.java index 785b0a539..275b273b9 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LifelineOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LifelineOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -116,8 +116,7 @@ public class LifelineOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInteractionUsesShareLifeline", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(lifeline, context)}), - new Object[]{lifeline})); + .getObjectLabel(lifeline, context)}), new Object[]{lifeline})); } return false; } @@ -151,8 +150,7 @@ public class LifelineOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSelectorSpecified", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(lifeline, context)}), - new Object[]{lifeline})); + .getObjectLabel(lifeline, context)}), new Object[]{lifeline})); } return false; } @@ -186,8 +184,7 @@ public class LifelineOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSameClassifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(lifeline, context)}), - new Object[]{lifeline})); + .getObjectLabel(lifeline, context)}), new Object[]{lifeline})); } return false; } @@ -223,8 +220,7 @@ public class LifelineOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSelectorIntOrString", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(lifeline, context)}), - new Object[]{lifeline})); + .getObjectLabel(lifeline, context)}), new Object[]{lifeline})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkActionOperations.java index ccc07fa8f..38e28e8f0 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -82,8 +82,7 @@ public class LinkActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSameAssociation", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(linkAction, context)}), - new Object[]{linkAction})); + .getObjectLabel(linkAction, context)}), new Object[]{linkAction})); } return false; } @@ -117,8 +116,7 @@ public class LinkActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNotStatic", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(linkAction, context)}), - new Object[]{linkAction})); + .getObjectLabel(linkAction, context)}), new Object[]{linkAction})); } return false; } @@ -152,8 +150,7 @@ public class LinkActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSamePins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(linkAction, context)}), - new Object[]{linkAction})); + .getObjectLabel(linkAction, context)}), new Object[]{linkAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndCreationDataOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndCreationDataOperations.java index 11b3bc958..057f211da 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndCreationDataOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndCreationDataOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -86,8 +86,7 @@ public class LinkEndCreationDataOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInsertAtPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(linkEndCreationData, context)}), - new Object[]{linkEndCreationData})); + .getObjectLabel(linkEndCreationData, context)}), new Object[]{linkEndCreationData})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndDataOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndDataOperations.java index 09dc07fca..138569447 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndDataOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndDataOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -86,8 +86,7 @@ public class LinkEndDataOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validatePropertyIsAssociationEnd", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(linkEndData, context)}), - new Object[]{linkEndData})); + .getObjectLabel(linkEndData, context)}), new Object[]{linkEndData})); } return false; } @@ -121,8 +120,7 @@ public class LinkEndDataOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSameType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(linkEndData, context)}), - new Object[]{linkEndData})); + .getObjectLabel(linkEndData, context)}), new Object[]{linkEndData})); } return false; } @@ -156,8 +154,7 @@ public class LinkEndDataOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(linkEndData, context)}), - new Object[]{linkEndData})); + .getObjectLabel(linkEndData, context)}), new Object[]{linkEndData})); } return false; } @@ -191,8 +188,7 @@ public class LinkEndDataOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateQualifiers", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(linkEndData, context)}), - new Object[]{linkEndData})); + .getObjectLabel(linkEndData, context)}), new Object[]{linkEndData})); } return false; } @@ -257,8 +253,7 @@ public class LinkEndDataOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateEndObjectInputPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(linkEndData, context)}), - new Object[]{linkEndData})); + .getObjectLabel(linkEndData, context)}), new Object[]{linkEndData})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndDestructionDataOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndDestructionDataOperations.java index f36d437a4..05ee0f5ac 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndDestructionDataOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LinkEndDestructionDataOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -87,8 +87,7 @@ public class LinkEndDestructionDataOperations new Object[]{"validateDestroyAtPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(linkEndDestructionData, - context)}), - new Object[]{linkEndDestructionData})); + context)}), new Object[]{linkEndDestructionData})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LoopNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LoopNodeOperations.java index 01b823dd1..e3d513915 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LoopNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/LoopNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -90,8 +90,7 @@ public class LoopNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInputEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(loopNode, context)}), - new Object[]{loopNode})); + .getObjectLabel(loopNode, context)}), new Object[]{loopNode})); } return false; } @@ -125,8 +124,7 @@ public class LoopNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateExecutableNodes", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(loopNode, context)}), - new Object[]{loopNode})); + .getObjectLabel(loopNode, context)}), new Object[]{loopNode})); } return false; } @@ -160,8 +158,7 @@ public class LoopNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateBodyOutputPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(loopNode, context)}), - new Object[]{loopNode})); + .getObjectLabel(loopNode, context)}), new Object[]{loopNode})); } return false; } @@ -197,8 +194,7 @@ public class LoopNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSetupTestAndBody", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(loopNode, context)}), - new Object[]{loopNode})); + .getObjectLabel(loopNode, context)}), new Object[]{loopNode})); } return false; } @@ -237,8 +233,7 @@ public class LoopNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMatchingOutputPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(loopNode, context)}), - new Object[]{loopNode})); + .getObjectLabel(loopNode, context)}), new Object[]{loopNode})); } return false; } @@ -276,8 +271,7 @@ public class LoopNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMatchingLoopVariables", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(loopNode, context)}), - new Object[]{loopNode})); + .getObjectLabel(loopNode, context)}), new Object[]{loopNode})); } return false; } @@ -315,8 +309,7 @@ public class LoopNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMatchingResultPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(loopNode, context)}), - new Object[]{loopNode})); + .getObjectLabel(loopNode, context)}), new Object[]{loopNode})); } return false; } @@ -350,8 +343,7 @@ public class LoopNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateLoopVariableOutgoing", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(loopNode, context)}), - new Object[]{loopNode})); + .getObjectLabel(loopNode, context)}), new Object[]{loopNode})); } return false; } @@ -424,8 +416,7 @@ public class LoopNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateResultNoIncoming", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(loopNode, context)}), - new Object[]{loopNode})); + .getObjectLabel(loopNode, context)}), new Object[]{loopNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MergeNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MergeNodeOperations.java index 043841382..eaadcaa38 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MergeNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MergeNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class MergeNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneOutgoingEdge", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(mergeNode, context)}), - new Object[]{mergeNode})); + .getObjectLabel(mergeNode, context)}), new Object[]{mergeNode})); } return false; } @@ -112,8 +111,7 @@ public class MergeNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(mergeNode, context)}), - new Object[]{mergeNode})); + .getObjectLabel(mergeNode, context)}), new Object[]{mergeNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MessageOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MessageOperations.java index 8e09d6501..457c4350c 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MessageOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MessageOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -102,8 +102,7 @@ public class MessageOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSendingReceivingMessageEvent", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(message, context)}), - new Object[]{message})); + .getObjectLabel(message, context)}), new Object[]{message})); } return false; } @@ -141,8 +140,7 @@ public class MessageOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSignatureReferTo", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(message, context)}), - new Object[]{message})); + .getObjectLabel(message, context)}), new Object[]{message})); } return false; } @@ -184,8 +182,7 @@ public class MessageOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSignatureIsOperationRequest", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(message, context)}), - new Object[]{message})); + .getObjectLabel(message, context)}), new Object[]{message})); } return false; } @@ -227,8 +224,7 @@ public class MessageOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSignatureIsOperationReply", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(message, context)}), - new Object[]{message})); + .getObjectLabel(message, context)}), new Object[]{message})); } return false; } @@ -343,8 +339,7 @@ public class MessageOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateArguments", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(message, context)}), - new Object[]{message})); + .getObjectLabel(message, context)}), new Object[]{message})); } return false; } @@ -384,8 +379,7 @@ public class MessageOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateCannotCrossBoundaries", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(message, context)}), - new Object[]{message})); + .getObjectLabel(message, context)}), new Object[]{message})); } return false; } @@ -418,8 +412,7 @@ public class MessageOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOccurrenceSpecifications", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(message, context)}), - new Object[]{message})); + .getObjectLabel(message, context)}), new Object[]{message})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MultiplicityElementOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MultiplicityElementOperations.java index 5a0030e4a..7a6060b64 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MultiplicityElementOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/MultiplicityElementOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -91,14 +91,12 @@ public class MultiplicityElementOperations result = false; if (diagnostics != null) { - diagnostics - .add(new BasicDiagnostic(Diagnostic.WARNING, - UMLValidator.DIAGNOSTIC_SOURCE, - UMLValidator.MULTIPLICITY_ELEMENT__LOWER_GE0, - UMLPlugin.INSTANCE.getString( - "_UI_MultiplicityElement_LowerGE0_diagnostic", //$NON-NLS-1$ - getMessageSubstitutions(context, - multiplicityElement)), + diagnostics.add(new BasicDiagnostic(Diagnostic.WARNING, + UMLValidator.DIAGNOSTIC_SOURCE, + UMLValidator.MULTIPLICITY_ELEMENT__LOWER_GE0, + UMLPlugin.INSTANCE.getString( + "_UI_MultiplicityElement_LowerGE0_diagnostic", //$NON-NLS-1$ + getMessageSubstitutions(context, multiplicityElement)), new Object[]{multiplicityElement, new Integer(lowerBound)})); } @@ -196,8 +194,7 @@ public class MultiplicityElementOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateValueSpecificationNoSideEffects", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(multiplicityElement, context)}), - new Object[]{multiplicityElement})); + .getObjectLabel(multiplicityElement, context)}), new Object[]{multiplicityElement})); } return false; } @@ -231,8 +228,7 @@ public class MultiplicityElementOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateValueSpecificationConstant", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(multiplicityElement, context)}), - new Object[]{multiplicityElement})); + .getObjectLabel(multiplicityElement, context)}), new Object[]{multiplicityElement})); } return false; } @@ -267,8 +263,7 @@ public class MultiplicityElementOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateLowerIsInteger", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(multiplicityElement, context)}), - new Object[]{multiplicityElement})); + .getObjectLabel(multiplicityElement, context)}), new Object[]{multiplicityElement})); } return false; } @@ -303,8 +298,7 @@ public class MultiplicityElementOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateUpperIsUnlimitedNatural", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(multiplicityElement, context)}), - new Object[]{multiplicityElement})); + .getObjectLabel(multiplicityElement, context)}), new Object[]{multiplicityElement})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NamedElementOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NamedElementOperations.java index eb9bdc7ee..1da96c862 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NamedElementOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NamedElementOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -106,8 +106,7 @@ public class NamedElementOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateHasNoQualifiedName", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(namedElement, context)}), - new Object[]{namedElement})); + .getObjectLabel(namedElement, context)}), new Object[]{namedElement})); } return false; } @@ -142,8 +141,7 @@ public class NamedElementOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateHasQualifiedName", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(namedElement, context)}), - new Object[]{namedElement})); + .getObjectLabel(namedElement, context)}), new Object[]{namedElement})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NamespaceOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NamespaceOperations.java index 050de36b9..ba9dbbd37 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NamespaceOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NamespaceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -191,8 +191,7 @@ public class NamespaceOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateCannotImportSelf", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(namespace, context)}), - new Object[]{namespace})); + .getObjectLabel(namespace, context)}), new Object[]{namespace})); } return false; } @@ -226,8 +225,7 @@ public class NamespaceOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateCannotImportOwnedMembers", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(namespace, context)}), - new Object[]{namespace})); + .getObjectLabel(namespace, context)}), new Object[]{namespace})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NodeOperations.java index fe4ca1275..2919656d9 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/NodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, Embarcadero Technologies, CEA, 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 @@ -88,8 +88,7 @@ public class NodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInternalStructure", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(node, context)}), - new Object[]{node})); + .getObjectLabel(node, context)}), new Object[]{node})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ObjectFlowOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ObjectFlowOperations.java index 6abddc361..1a72822e8 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ObjectFlowOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ObjectFlowOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -81,8 +81,7 @@ public class ObjectFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateCompatibleTypes", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectFlow, context)}), - new Object[]{objectFlow})); + .getObjectLabel(objectFlow, context)}), new Object[]{objectFlow})); } return false; } @@ -115,8 +114,7 @@ public class ObjectFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSameUpperBounds", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectFlow, context)}), - new Object[]{objectFlow})); + .getObjectLabel(objectFlow, context)}), new Object[]{objectFlow})); } return false; } @@ -149,8 +147,7 @@ public class ObjectFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTarget", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectFlow, context)}), - new Object[]{objectFlow})); + .getObjectLabel(objectFlow, context)}), new Object[]{objectFlow})); } return false; } @@ -187,8 +184,7 @@ public class ObjectFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInputAndOutputParameter", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectFlow, context)}), - new Object[]{objectFlow})); + .getObjectLabel(objectFlow, context)}), new Object[]{objectFlow})); } return false; } @@ -222,8 +218,7 @@ public class ObjectFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoExecutableNodes", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectFlow, context)}), - new Object[]{objectFlow})); + .getObjectLabel(objectFlow, context)}), new Object[]{objectFlow})); } return false; } @@ -259,8 +254,7 @@ public class ObjectFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTransformationBehavior", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectFlow, context)}), - new Object[]{objectFlow})); + .getObjectLabel(objectFlow, context)}), new Object[]{objectFlow})); } return false; } @@ -294,8 +288,7 @@ public class ObjectFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSelectionBehavior", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectFlow, context)}), - new Object[]{objectFlow})); + .getObjectLabel(objectFlow, context)}), new Object[]{objectFlow})); } return false; } @@ -330,8 +323,7 @@ public class ObjectFlowOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateIsMulticastOrIsMultireceive", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectFlow, context)}), - new Object[]{objectFlow})); + .getObjectLabel(objectFlow, context)}), new Object[]{objectFlow})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ObjectNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ObjectNodeOperations.java index 4dcd10856..9e3144048 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ObjectNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ObjectNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class ObjectNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateObjectFlowEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectNode, context)}), - new Object[]{objectNode})); + .getObjectLabel(objectNode, context)}), new Object[]{objectNode})); } return false; } @@ -112,8 +111,7 @@ public class ObjectNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSelectionBehavior", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectNode, context)}), - new Object[]{objectNode})); + .getObjectLabel(objectNode, context)}), new Object[]{objectNode})); } return false; } @@ -151,8 +149,7 @@ public class ObjectNodeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInputOutputParameter", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(objectNode, context)}), - new Object[]{objectNode})); + .getObjectLabel(objectNode, context)}), new Object[]{objectNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OpaqueActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OpaqueActionOperations.java index e9c25c5bd..9d7f5e5c2 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OpaqueActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OpaqueActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2016 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -75,8 +75,7 @@ public class OpaqueActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateLanguageBodySize", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(opaqueAction, context)}), - new Object[]{opaqueAction})); + .getObjectLabel(opaqueAction, context)}), new Object[]{opaqueAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OpaqueExpressionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OpaqueExpressionOperations.java index 30b5b750f..d9d9752d8 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OpaqueExpressionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OpaqueExpressionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -89,8 +89,7 @@ public class OpaqueExpressionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateLanguageBodySize", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(opaqueExpression, context)}), - new Object[]{opaqueExpression})); + .getObjectLabel(opaqueExpression, context)}), new Object[]{opaqueExpression})); } return false; } @@ -125,8 +124,7 @@ public class OpaqueExpressionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOnlyReturnResultParameters", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(opaqueExpression, context)}), - new Object[]{opaqueExpression})); + .getObjectLabel(opaqueExpression, context)}), new Object[]{opaqueExpression})); } return false; } @@ -162,8 +160,7 @@ public class OpaqueExpressionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneReturnResultParameter", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(opaqueExpression, context)}), - new Object[]{opaqueExpression})); + .getObjectLabel(opaqueExpression, context)}), new Object[]{opaqueExpression})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OperationTemplateParameterOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OperationTemplateParameterOperations.java index 9ec8207a1..b36a51315 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OperationTemplateParameterOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OperationTemplateParameterOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2016 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -80,8 +80,7 @@ public class OperationTemplateParameterOperations new Object[]{"validateMatchDefaultSignature", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(operationTemplateParameter, - context)}), - new Object[]{operationTemplateParameter})); + context)}), new Object[]{operationTemplateParameter})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OutputPinOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OutputPinOperations.java index 9e80c4cfb..d216da0d2 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OutputPinOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/OutputPinOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2006, 2018 IBM Corporation, CEA, 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 @@ -79,8 +79,7 @@ public class OutputPinOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateIncomingEdgesStructuredOnly", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(outputPin, context)}), - new Object[]{outputPin})); + .getObjectLabel(outputPin, context)}), new Object[]{outputPin})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PackageableElementOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PackageableElementOperations.java index 2585cc82a..1d10be113 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PackageableElementOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PackageableElementOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2016 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -76,8 +76,7 @@ public class PackageableElementOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNamespaceNeedsVisibility", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(packageableElement, context)}), - new Object[]{packageableElement})); + .getObjectLabel(packageableElement, context)}), new Object[]{packageableElement})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ParameterOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ParameterOperations.java index 827ca3bc3..24d49ae5b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ParameterOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ParameterOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -99,8 +99,7 @@ public class ParameterOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateConnectorEnd", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(parameter, context)}), - new Object[]{parameter})); + .getObjectLabel(parameter, context)}), new Object[]{parameter})); } return false; } @@ -134,8 +133,7 @@ public class ParameterOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateStreamAndException", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(parameter, context)}), - new Object[]{parameter})); + .getObjectLabel(parameter, context)}), new Object[]{parameter})); } return false; } @@ -169,8 +167,7 @@ public class ParameterOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateObjectEffect", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(parameter, context)}), - new Object[]{parameter})); + .getObjectLabel(parameter, context)}), new Object[]{parameter})); } return false; } @@ -204,8 +201,7 @@ public class ParameterOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNotException", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(parameter, context)}), - new Object[]{parameter})); + .getObjectLabel(parameter, context)}), new Object[]{parameter})); } return false; } @@ -239,8 +235,7 @@ public class ParameterOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateReentrantBehaviors", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(parameter, context)}), - new Object[]{parameter})); + .getObjectLabel(parameter, context)}), new Object[]{parameter})); } return false; } @@ -276,8 +271,7 @@ public class ParameterOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInAndOut", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(parameter, context)}), - new Object[]{parameter})); + .getObjectLabel(parameter, context)}), new Object[]{parameter})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ParameterSetOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ParameterSetOperations.java index ff4a8d6cb..f6fa29e81 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ParameterSetOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ParameterSetOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class ParameterSetOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSameParameterizedEntity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(parameterSet, context)}), - new Object[]{parameterSet})); + .getObjectLabel(parameterSet, context)}), new Object[]{parameterSet})); } return false; } @@ -117,8 +116,7 @@ public class ParameterSetOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInput", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(parameterSet, context)}), - new Object[]{parameterSet})); + .getObjectLabel(parameterSet, context)}), new Object[]{parameterSet})); } return false; } @@ -152,8 +150,7 @@ public class ParameterSetOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTwoParameterSets", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(parameterSet, context)}), - new Object[]{parameterSet})); + .getObjectLabel(parameterSet, context)}), new Object[]{parameterSet})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PartDecompositionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PartDecompositionOperations.java index 243d0fee4..e769e9f2f 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PartDecompositionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PartDecompositionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class PartDecompositionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validatePartsOfInternalStructures", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(partDecomposition, context)}), - new Object[]{partDecomposition})); + .getObjectLabel(partDecomposition, context)}), new Object[]{partDecomposition})); } return false; } @@ -111,8 +110,7 @@ public class PartDecompositionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateAssume", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(partDecomposition, context)}), - new Object[]{partDecomposition})); + .getObjectLabel(partDecomposition, context)}), new Object[]{partDecomposition})); } return false; } @@ -146,8 +144,7 @@ public class PartDecompositionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateCommutativityOfDecomposition", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(partDecomposition, context)}), - new Object[]{partDecomposition})); + .getObjectLabel(partDecomposition, context)}), new Object[]{partDecomposition})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PinOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PinOperations.java index 86b7aae6c..ae4bfb399 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PinOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PinOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class PinOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateControlPins", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pin, context)}), - new Object[]{pin})); + .getObjectLabel(pin, context)}), new Object[]{pin})); } return false; } @@ -111,8 +110,7 @@ public class PinOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNotUnique", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pin, context)}), - new Object[]{pin})); + .getObjectLabel(pin, context)}), new Object[]{pin})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PortOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PortOperations.java index 9fd1cdb1f..809a04a00 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PortOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PortOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -162,8 +162,7 @@ public class PortOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateEncapsulatedOwner", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(port, context)}), - new Object[]{port})); + .getObjectLabel(port, context)}), new Object[]{port})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PropertyOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PropertyOperations.java index faaa8a986..3a518fa40 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PropertyOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PropertyOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -227,8 +227,7 @@ public class PropertyOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateRedefinedPropertyInherited", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(property, context)}), - new Object[]{property})); + .getObjectLabel(property, context)}), new Object[]{property})); } return false; } @@ -422,8 +421,7 @@ public class PropertyOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypeOfOppositeEnd", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(property, context)}), - new Object[]{property})); + .getObjectLabel(property, context)}), new Object[]{property})); } return false; } @@ -457,8 +455,7 @@ public class PropertyOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateQualifiedIsAssociationEnd", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(property, context)}), - new Object[]{property})); + .getObjectLabel(property, context)}), new Object[]{property})); } return false; } @@ -534,8 +531,7 @@ public class PropertyOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateBindingToAttribute", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(property, context)}), - new Object[]{property})); + .getObjectLabel(property, context)}), new Object[]{property})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ProtocolStateMachineOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ProtocolStateMachineOperations.java index e85577f36..b313d8013 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ProtocolStateMachineOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ProtocolStateMachineOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -80,8 +80,7 @@ public class ProtocolStateMachineOperations new Object[]{"validateProtocolTransitions", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(protocolStateMachine, - context)}), - new Object[]{protocolStateMachine})); + context)}), new Object[]{protocolStateMachine})); } return false; } @@ -118,8 +117,7 @@ public class ProtocolStateMachineOperations new Object[]{"validateEntryExitDo", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(protocolStateMachine, - context)}), - new Object[]{protocolStateMachine})); + context)}), new Object[]{protocolStateMachine})); } return false; } @@ -156,8 +154,7 @@ public class ProtocolStateMachineOperations new Object[]{"validateDeepOrShallowHistory", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(protocolStateMachine, - context)}), - new Object[]{protocolStateMachine})); + context)}), new Object[]{protocolStateMachine})); } return false; } @@ -193,8 +190,7 @@ public class ProtocolStateMachineOperations new Object[]{"validateClassifierContext", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(protocolStateMachine, - context)}), - new Object[]{protocolStateMachine})); + context)}), new Object[]{protocolStateMachine})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ProtocolTransitionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ProtocolTransitionOperations.java index 250bc633a..b8141d2c8 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ProtocolTransitionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ProtocolTransitionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -81,8 +81,7 @@ public class ProtocolTransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateBelongsToPsm", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(protocolTransition, context)}), - new Object[]{protocolTransition})); + .getObjectLabel(protocolTransition, context)}), new Object[]{protocolTransition})); } return false; } @@ -133,8 +132,7 @@ public class ProtocolTransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateAssociatedActions", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(protocolTransition, context)}), - new Object[]{protocolTransition})); + .getObjectLabel(protocolTransition, context)}), new Object[]{protocolTransition})); } return false; } @@ -171,8 +169,7 @@ public class ProtocolTransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateRefersToOperation", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(protocolTransition, context)}), - new Object[]{protocolTransition})); + .getObjectLabel(protocolTransition, context)}), new Object[]{protocolTransition})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PseudostateOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PseudostateOperations.java index bbbd38939..7e2644bd4 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PseudostateOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/PseudostateOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -83,8 +83,7 @@ public class PseudostateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInitialVertex", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pseudostate, context)}), - new Object[]{pseudostate})); + .getObjectLabel(pseudostate, context)}), new Object[]{pseudostate})); } return false; } @@ -118,8 +117,7 @@ public class PseudostateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateHistoryVertices", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pseudostate, context)}), - new Object[]{pseudostate})); + .getObjectLabel(pseudostate, context)}), new Object[]{pseudostate})); } return false; } @@ -153,8 +151,7 @@ public class PseudostateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateJoinVertex", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pseudostate, context)}), - new Object[]{pseudostate})); + .getObjectLabel(pseudostate, context)}), new Object[]{pseudostate})); } return false; } @@ -195,8 +192,7 @@ public class PseudostateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTransitionsIncoming", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pseudostate, context)}), - new Object[]{pseudostate})); + .getObjectLabel(pseudostate, context)}), new Object[]{pseudostate})); } return false; } @@ -230,8 +226,7 @@ public class PseudostateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateForkVertex", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pseudostate, context)}), - new Object[]{pseudostate})); + .getObjectLabel(pseudostate, context)}), new Object[]{pseudostate})); } return false; } @@ -272,8 +267,7 @@ public class PseudostateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTransitionsOutgoing", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pseudostate, context)}), - new Object[]{pseudostate})); + .getObjectLabel(pseudostate, context)}), new Object[]{pseudostate})); } return false; } @@ -307,8 +301,7 @@ public class PseudostateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateJunctionVertex", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pseudostate, context)}), - new Object[]{pseudostate})); + .getObjectLabel(pseudostate, context)}), new Object[]{pseudostate})); } return false; } @@ -342,8 +335,7 @@ public class PseudostateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateChoiceVertex", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pseudostate, context)}), - new Object[]{pseudostate})); + .getObjectLabel(pseudostate, context)}), new Object[]{pseudostate})); } return false; } @@ -377,8 +369,7 @@ public class PseudostateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOutgoingFromInitial", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(pseudostate, context)}), - new Object[]{pseudostate})); + .getObjectLabel(pseudostate, context)}), new Object[]{pseudostate})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/QualifierValueOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/QualifierValueOperations.java index d66e8cf90..ae28d463a 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/QualifierValueOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/QualifierValueOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation and others. + * Copyright (c) 2005, 2018 IBM Corporation 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 @@ -78,8 +78,7 @@ public class QualifierValueOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateQualifierAttribute", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(qualifierValue, context)}), - new Object[]{qualifierValue})); + .getObjectLabel(qualifierValue, context)}), new Object[]{qualifierValue})); } return false; } @@ -113,8 +112,7 @@ public class QualifierValueOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypeOfQualifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(qualifierValue, context)}), - new Object[]{qualifierValue})); + .getObjectLabel(qualifierValue, context)}), new Object[]{qualifierValue})); } return false; } @@ -149,8 +147,7 @@ public class QualifierValueOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicityOfQualifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(qualifierValue, context)}), - new Object[]{qualifierValue})); + .getObjectLabel(qualifierValue, context)}), new Object[]{qualifierValue})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadExtentActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadExtentActionOperations.java index 23e6963f2..aeddaa9f6 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadExtentActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadExtentActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class ReadExtentActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypeIsClassifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readExtentAction, context)}), - new Object[]{readExtentAction})); + .getObjectLabel(readExtentAction, context)}), new Object[]{readExtentAction})); } return false; } @@ -113,8 +112,7 @@ public class ReadExtentActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicityOfResult", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readExtentAction, context)}), - new Object[]{readExtentAction})); + .getObjectLabel(readExtentAction, context)}), new Object[]{readExtentAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadIsClassifiedObjectActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadIsClassifiedObjectActionOperations.java index 22a35bff1..6e8a1d7ad 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadIsClassifiedObjectActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadIsClassifiedObjectActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -80,8 +80,7 @@ public class ReadIsClassifiedObjectActionOperations new Object[]{"validateMultiplicityOfInput", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readIsClassifiedObjectAction, - context)}), - new Object[]{readIsClassifiedObjectAction})); + context)}), new Object[]{readIsClassifiedObjectAction})); } return false; } @@ -117,8 +116,7 @@ public class ReadIsClassifiedObjectActionOperations new Object[]{"validateNoType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readIsClassifiedObjectAction, - context)}), - new Object[]{readIsClassifiedObjectAction})); + context)}), new Object[]{readIsClassifiedObjectAction})); } return false; } @@ -154,8 +152,7 @@ public class ReadIsClassifiedObjectActionOperations new Object[]{"validateMultiplicityOfOutput", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readIsClassifiedObjectAction, - context)}), - new Object[]{readIsClassifiedObjectAction})); + context)}), new Object[]{readIsClassifiedObjectAction})); } return false; } @@ -191,8 +188,7 @@ public class ReadIsClassifiedObjectActionOperations new Object[]{"validateBooleanResult", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readIsClassifiedObjectAction, - context)}), - new Object[]{readIsClassifiedObjectAction})); + context)}), new Object[]{readIsClassifiedObjectAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkActionOperations.java index a2f99e9d0..2d8b59513 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -85,8 +85,7 @@ public class ReadLinkActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneOpenEnd", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readLinkAction, context)}), - new Object[]{readLinkAction})); + .getObjectLabel(readLinkAction, context)}), new Object[]{readLinkAction})); } return false; } @@ -120,8 +119,7 @@ public class ReadLinkActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypeAndOrdering", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readLinkAction, context)}), - new Object[]{readLinkAction})); + .getObjectLabel(readLinkAction, context)}), new Object[]{readLinkAction})); } return false; } @@ -156,8 +154,7 @@ public class ReadLinkActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateCompatibleMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readLinkAction, context)}), - new Object[]{readLinkAction})); + .getObjectLabel(readLinkAction, context)}), new Object[]{readLinkAction})); } return false; } @@ -192,8 +189,7 @@ public class ReadLinkActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNavigableOpenEnd", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readLinkAction, context)}), - new Object[]{readLinkAction})); + .getObjectLabel(readLinkAction, context)}), new Object[]{readLinkAction})); } return false; } @@ -261,8 +257,7 @@ public class ReadLinkActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateVisibility", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readLinkAction, context)}), - new Object[]{readLinkAction})); + .getObjectLabel(readLinkAction, context)}), new Object[]{readLinkAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkObjectEndActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkObjectEndActionOperations.java index 560a66ee4..8bfd9f46c 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkObjectEndActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkObjectEndActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -83,8 +83,7 @@ public class ReadLinkObjectEndActionOperations new Object[]{"validateProperty", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readLinkObjectEndAction, - context)}), - new Object[]{readLinkObjectEndAction})); + context)}), new Object[]{readLinkObjectEndAction})); } return false; } @@ -120,8 +119,7 @@ public class ReadLinkObjectEndActionOperations new Object[]{"validateAssociationOfAssociation", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readLinkObjectEndAction, - context)}), - new Object[]{readLinkObjectEndAction})); + context)}), new Object[]{readLinkObjectEndAction})); } return false; } @@ -157,8 +155,7 @@ public class ReadLinkObjectEndActionOperations new Object[]{"validateEndsOfAssociation", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readLinkObjectEndAction, - context)}), - new Object[]{readLinkObjectEndAction})); + context)}), new Object[]{readLinkObjectEndAction})); } return false; } @@ -194,8 +191,7 @@ public class ReadLinkObjectEndActionOperations new Object[]{"validateTypeOfObject", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readLinkObjectEndAction, - context)}), - new Object[]{readLinkObjectEndAction})); + context)}), new Object[]{readLinkObjectEndAction})); } return false; } @@ -231,8 +227,7 @@ public class ReadLinkObjectEndActionOperations new Object[]{"validateMultiplicityOfObject", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readLinkObjectEndAction, - context)}), - new Object[]{readLinkObjectEndAction})); + context)}), new Object[]{readLinkObjectEndAction})); } return false; } @@ -268,8 +263,7 @@ public class ReadLinkObjectEndActionOperations new Object[]{"validateTypeOfResult", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readLinkObjectEndAction, - context)}), - new Object[]{readLinkObjectEndAction})); + context)}), new Object[]{readLinkObjectEndAction})); } return false; } @@ -305,8 +299,7 @@ public class ReadLinkObjectEndActionOperations new Object[]{"validateMultiplicityOfResult", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readLinkObjectEndAction, - context)}), - new Object[]{readLinkObjectEndAction})); + context)}), new Object[]{readLinkObjectEndAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkObjectEndQualifierActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkObjectEndQualifierActionOperations.java index 7fb36b7c6..1a11f686a 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkObjectEndQualifierActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadLinkObjectEndQualifierActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -85,8 +85,7 @@ public class ReadLinkObjectEndQualifierActionOperations org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel( readLinkObjectEndQualifierAction, - context)}), - new Object[]{readLinkObjectEndQualifierAction})); + context)}), new Object[]{readLinkObjectEndQualifierAction})); } return false; } @@ -123,8 +122,7 @@ public class ReadLinkObjectEndQualifierActionOperations org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel( readLinkObjectEndQualifierAction, - context)}), - new Object[]{readLinkObjectEndQualifierAction})); + context)}), new Object[]{readLinkObjectEndQualifierAction})); } return false; } @@ -161,8 +159,7 @@ public class ReadLinkObjectEndQualifierActionOperations org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel( readLinkObjectEndQualifierAction, - context)}), - new Object[]{readLinkObjectEndQualifierAction})); + context)}), new Object[]{readLinkObjectEndQualifierAction})); } return false; } @@ -199,8 +196,7 @@ public class ReadLinkObjectEndQualifierActionOperations org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel( readLinkObjectEndQualifierAction, - context)}), - new Object[]{readLinkObjectEndQualifierAction})); + context)}), new Object[]{readLinkObjectEndQualifierAction})); } return false; } @@ -237,8 +233,7 @@ public class ReadLinkObjectEndQualifierActionOperations org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel( readLinkObjectEndQualifierAction, - context)}), - new Object[]{readLinkObjectEndQualifierAction})); + context)}), new Object[]{readLinkObjectEndQualifierAction})); } return false; } @@ -275,8 +270,7 @@ public class ReadLinkObjectEndQualifierActionOperations org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel( readLinkObjectEndQualifierAction, - context)}), - new Object[]{readLinkObjectEndQualifierAction})); + context)}), new Object[]{readLinkObjectEndQualifierAction})); } return false; } @@ -313,8 +307,7 @@ public class ReadLinkObjectEndQualifierActionOperations org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel( readLinkObjectEndQualifierAction, - context)}), - new Object[]{readLinkObjectEndQualifierAction})); + context)}), new Object[]{readLinkObjectEndQualifierAction})); } return false; } @@ -351,8 +344,7 @@ public class ReadLinkObjectEndQualifierActionOperations org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel( readLinkObjectEndQualifierAction, - context)}), - new Object[]{readLinkObjectEndQualifierAction})); + context)}), new Object[]{readLinkObjectEndQualifierAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadSelfActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadSelfActionOperations.java index 549c7687c..40660bb6d 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadSelfActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadSelfActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class ReadSelfActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateContained", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readSelfAction, context)}), - new Object[]{readSelfAction})); + .getObjectLabel(readSelfAction, context)}), new Object[]{readSelfAction})); } return false; } @@ -114,8 +113,7 @@ public class ReadSelfActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNotStatic", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readSelfAction, context)}), - new Object[]{readSelfAction})); + .getObjectLabel(readSelfAction, context)}), new Object[]{readSelfAction})); } return false; } @@ -149,8 +147,7 @@ public class ReadSelfActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readSelfAction, context)}), - new Object[]{readSelfAction})); + .getObjectLabel(readSelfAction, context)}), new Object[]{readSelfAction})); } return false; } @@ -184,8 +181,7 @@ public class ReadSelfActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readSelfAction, context)}), - new Object[]{readSelfAction})); + .getObjectLabel(readSelfAction, context)}), new Object[]{readSelfAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadStructuralFeatureActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadStructuralFeatureActionOperations.java index 1b347ae46..8b92baa67 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadStructuralFeatureActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadStructuralFeatureActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -79,8 +79,7 @@ public class ReadStructuralFeatureActionOperations new Object[]{"validateTypeAndOrdering", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readStructuralFeatureAction, - context)}), - new Object[]{readStructuralFeatureAction})); + context)}), new Object[]{readStructuralFeatureAction})); } return false; } @@ -116,8 +115,7 @@ public class ReadStructuralFeatureActionOperations new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(readStructuralFeatureAction, - context)}), - new Object[]{readStructuralFeatureAction})); + context)}), new Object[]{readStructuralFeatureAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadVariableActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadVariableActionOperations.java index 2437b3c6d..90b82d48b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadVariableActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReadVariableActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class ReadVariableActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypeAndOrdering", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readVariableAction, context)}), - new Object[]{readVariableAction})); + .getObjectLabel(readVariableAction, context)}), new Object[]{readVariableAction})); } return false; } @@ -114,8 +113,7 @@ public class ReadVariableActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateCompatibleMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(readVariableAction, context)}), - new Object[]{readVariableAction})); + .getObjectLabel(readVariableAction, context)}), new Object[]{readVariableAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReceptionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReceptionOperations.java index 11e87b7ae..6dad1d9af 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReceptionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReceptionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class ReceptionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSameNameAsSignal", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(reception, context)}), - new Object[]{reception})); + .getObjectLabel(reception, context)}), new Object[]{reception})); } return false; } @@ -118,8 +117,7 @@ public class ReceptionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSameStructureAsSignal", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(reception, context)}), - new Object[]{reception})); + .getObjectLabel(reception, context)}), new Object[]{reception})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReclassifyObjectActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReclassifyObjectActionOperations.java index d82ece87e..614f6c7ef 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReclassifyObjectActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReclassifyObjectActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -79,8 +79,7 @@ public class ReclassifyObjectActionOperations new Object[]{"validateClassifierNotAbstract", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(reclassifyObjectAction, - context)}), - new Object[]{reclassifyObjectAction})); + context)}), new Object[]{reclassifyObjectAction})); } return false; } @@ -116,8 +115,7 @@ public class ReclassifyObjectActionOperations new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(reclassifyObjectAction, - context)}), - new Object[]{reclassifyObjectAction})); + context)}), new Object[]{reclassifyObjectAction})); } return false; } @@ -153,8 +151,7 @@ public class ReclassifyObjectActionOperations new Object[]{"validateInputPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(reclassifyObjectAction, - context)}), - new Object[]{reclassifyObjectAction})); + context)}), new Object[]{reclassifyObjectAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RedefinableElementOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RedefinableElementOperations.java index e3e93a13c..695eafd81 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RedefinableElementOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RedefinableElementOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -170,8 +170,7 @@ public class RedefinableElementOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNonLeafRedefinition", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(redefinableElement, context)}), - new Object[]{redefinableElement})); + .getObjectLabel(redefinableElement, context)}), new Object[]{redefinableElement})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RedefinableTemplateSignatureOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RedefinableTemplateSignatureOperations.java index 993722963..764a4fe87 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RedefinableTemplateSignatureOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RedefinableTemplateSignatureOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -89,8 +89,7 @@ public class RedefinableTemplateSignatureOperations new Object[]{"validateRedefinesParents", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(redefinableTemplateSignature, - context)}), - new Object[]{redefinableTemplateSignature})); + context)}), new Object[]{redefinableTemplateSignature})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReduceActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReduceActionOperations.java index 2bb04f163..659c680ce 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReduceActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReduceActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class ReduceActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInputTypeIsCollection", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(reduceAction, context)}), - new Object[]{reduceAction})); + .getObjectLabel(reduceAction, context)}), new Object[]{reduceAction})); } return false; } @@ -113,8 +112,7 @@ public class ReduceActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOutputTypesAreCompatible", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(reduceAction, context)}), - new Object[]{reduceAction})); + .getObjectLabel(reduceAction, context)}), new Object[]{reduceAction})); } return false; } @@ -154,8 +152,7 @@ public class ReduceActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateReducerInputsOutput", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(reduceAction, context)}), - new Object[]{reduceAction})); + .getObjectLabel(reduceAction, context)}), new Object[]{reduceAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RemoveStructuralFeatureValueActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RemoveStructuralFeatureValueActionOperations.java index c4e1c3249..843e5dbb1 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RemoveStructuralFeatureValueActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RemoveStructuralFeatureValueActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -85,8 +85,7 @@ public class RemoveStructuralFeatureValueActionOperations org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel( removeStructuralFeatureValueAction, - context)}), - new Object[]{removeStructuralFeatureValueAction})); + context)}), new Object[]{removeStructuralFeatureValueAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RemoveVariableValueActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RemoveVariableValueActionOperations.java index c142ec355..d6ddd5890 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RemoveVariableValueActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/RemoveVariableValueActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -84,8 +84,7 @@ public class RemoveVariableValueActionOperations new Object[]{"validateRemoveAtAndValue", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(removeVariableValueAction, - context)}), - new Object[]{removeVariableValueAction})); + context)}), new Object[]{removeVariableValueAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReplyActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReplyActionOperations.java index ee1f1fd55..97fc87814 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReplyActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ReplyActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -81,8 +81,7 @@ public class ReplyActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validatePinsMatchParameter", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(replyAction, context)}), - new Object[]{replyAction})); + .getObjectLabel(replyAction, context)}), new Object[]{replyAction})); } return false; } @@ -117,8 +116,7 @@ public class ReplyActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateEventOnReplyToCallTrigger", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(replyAction, context)}), - new Object[]{replyAction})); + .getObjectLabel(replyAction, context)}), new Object[]{replyAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/SendObjectActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/SendObjectActionOperations.java index bf896421d..9593a7783 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/SendObjectActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/SendObjectActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2016 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -76,8 +76,7 @@ public class SendObjectActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypeTargetPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(sendObjectAction, context)}), - new Object[]{sendObjectAction})); + .getObjectLabel(sendObjectAction, context)}), new Object[]{sendObjectAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/SendSignalActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/SendSignalActionOperations.java index a15f54d1e..2688aab9e 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/SendSignalActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/SendSignalActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class SendSignalActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNumberOrder", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(sendSignalAction, context)}), - new Object[]{sendSignalAction})); + .getObjectLabel(sendSignalAction, context)}), new Object[]{sendSignalAction})); } return false; } @@ -113,8 +112,7 @@ public class SendSignalActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypeTargetPin", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(sendSignalAction, context)}), - new Object[]{sendSignalAction})); + .getObjectLabel(sendSignalAction, context)}), new Object[]{sendSignalAction})); } return false; } @@ -153,8 +151,7 @@ public class SendSignalActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypeOrderingMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(sendSignalAction, context)}), - new Object[]{sendSignalAction})); + .getObjectLabel(sendSignalAction, context)}), new Object[]{sendSignalAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StartClassifierBehaviorActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StartClassifierBehaviorActionOperations.java index f7a531743..ca233ff5a 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StartClassifierBehaviorActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StartClassifierBehaviorActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class StartClassifierBehaviorActionOperations new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(startClassifierBehaviorAction, - context)}), - new Object[]{startClassifierBehaviorAction})); + context)}), new Object[]{startClassifierBehaviorAction})); } return false; } @@ -116,8 +115,7 @@ public class StartClassifierBehaviorActionOperations new Object[]{"validateTypeHasClassifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(startClassifierBehaviorAction, - context)}), - new Object[]{startClassifierBehaviorAction})); + context)}), new Object[]{startClassifierBehaviorAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StartObjectBehaviorActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StartObjectBehaviorActionOperations.java index f6c900155..09c6d4e76 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StartObjectBehaviorActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StartObjectBehaviorActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2008, 2018 IBM Corporation, CEA, 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 @@ -89,8 +89,7 @@ public class StartObjectBehaviorActionOperations new Object[]{"validateTypeOfObject", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(startObjectBehaviorAction, - context)}), - new Object[]{startObjectBehaviorAction})); + context)}), new Object[]{startObjectBehaviorAction})); } return false; } @@ -126,8 +125,7 @@ public class StartObjectBehaviorActionOperations new Object[]{"validateNoOnport", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(startObjectBehaviorAction, - context)}), - new Object[]{startObjectBehaviorAction})); + context)}), new Object[]{startObjectBehaviorAction})); } return false; } @@ -241,8 +239,7 @@ public class StartObjectBehaviorActionOperations new Object[]{"validateMultiplicityOfObject", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(startObjectBehaviorAction, - context)}), - new Object[]{startObjectBehaviorAction})); + context)}), new Object[]{startObjectBehaviorAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StateMachineOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StateMachineOperations.java index 96387b9cb..e2a666b75 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StateMachineOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StateMachineOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2017 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -90,8 +90,7 @@ public class StateMachineOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateClassifierContext", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stateMachine, context)}), - new Object[]{stateMachine})); + .getObjectLabel(stateMachine, context)}), new Object[]{stateMachine})); } return false; } @@ -125,8 +124,7 @@ public class StateMachineOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateContextClassifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stateMachine, context)}), - new Object[]{stateMachine})); + .getObjectLabel(stateMachine, context)}), new Object[]{stateMachine})); } return false; } @@ -298,8 +296,7 @@ public class StateMachineOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateConnectionPoints", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stateMachine, context)}), - new Object[]{stateMachine})); + .getObjectLabel(stateMachine, context)}), new Object[]{stateMachine})); } return false; } @@ -333,8 +330,7 @@ public class StateMachineOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMethod", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stateMachine, context)}), - new Object[]{stateMachine})); + .getObjectLabel(stateMachine, context)}), new Object[]{stateMachine})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StateOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StateOperations.java index b30869ad4..47299fcf1 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StateOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StateOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -95,8 +95,7 @@ public class StateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSubmachineStates", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(state, context)}), - new Object[]{state})); + .getObjectLabel(state, context)}), new Object[]{state})); } return false; } @@ -134,8 +133,7 @@ public class StateOperations new Object[]{ "validateDestinationsOrSourcesOfTransitions", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(state, context)}), - new Object[]{state})); + .getObjectLabel(state, context)}), new Object[]{state})); } return false; } @@ -169,8 +167,7 @@ public class StateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSubmachineOrRegions", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(state, context)}), - new Object[]{state})); + .getObjectLabel(state, context)}), new Object[]{state})); } return false; } @@ -204,8 +201,7 @@ public class StateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateCompositeStates", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(state, context)}), - new Object[]{state})); + .getObjectLabel(state, context)}), new Object[]{state})); } return false; } @@ -239,8 +235,7 @@ public class StateOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateEntryOrExit", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(state, context)}), - new Object[]{state})); + .getObjectLabel(state, context)}), new Object[]{state})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StereotypeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StereotypeOperations.java index d7c5b0669..ed692a4e4 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StereotypeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StereotypeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -106,8 +106,7 @@ public class StereotypeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateBinaryAssociationsOnly", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stereotype, context)}), - new Object[]{stereotype})); + .getObjectLabel(stereotype, context)}), new Object[]{stereotype})); } return false; } @@ -140,8 +139,7 @@ public class StereotypeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNameNotClash", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stereotype, context)}), - new Object[]{stereotype})); + .getObjectLabel(stereotype, context)}), new Object[]{stereotype})); } return false; } @@ -177,8 +175,7 @@ public class StereotypeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateAssociationEndOwnership", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stereotype, context)}), - new Object[]{stereotype})); + .getObjectLabel(stereotype, context)}), new Object[]{stereotype})); } return false; } @@ -211,8 +208,7 @@ public class StereotypeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateBasePropertyUpperBound", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stereotype, context)}), - new Object[]{stereotype})); + .getObjectLabel(stereotype, context)}), new Object[]{stereotype})); } return false; } @@ -247,8 +243,7 @@ public class StereotypeOperations new Object[]{ "validateBasePropertyMultiplicitySingleExtension", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stereotype, context)}), - new Object[]{stereotype})); + .getObjectLabel(stereotype, context)}), new Object[]{stereotype})); } return false; } @@ -283,8 +278,7 @@ public class StereotypeOperations new Object[]{ "validateBasePropertyMultiplicityMultipleExtension", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stereotype, context)}), - new Object[]{stereotype})); + .getObjectLabel(stereotype, context)}), new Object[]{stereotype})); } return false; } @@ -319,8 +313,7 @@ public class StereotypeOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateGeneralize", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stereotype, context)}), - new Object[]{stereotype})); + .getObjectLabel(stereotype, context)}), new Object[]{stereotype})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StringExpressionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StringExpressionOperations.java index 35a8d4f82..dfb0cc626 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StringExpressionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StringExpressionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -79,8 +79,7 @@ public class StringExpressionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOperands", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stringExpression, context)}), - new Object[]{stringExpression})); + .getObjectLabel(stringExpression, context)}), new Object[]{stringExpression})); } return false; } @@ -115,8 +114,7 @@ public class StringExpressionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateSubexpressions", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(stringExpression, context)}), - new Object[]{stringExpression})); + .getObjectLabel(stringExpression, context)}), new Object[]{stringExpression})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StructuralFeatureActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StructuralFeatureActionOperations.java index d67aa711f..b3435fe34 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StructuralFeatureActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StructuralFeatureActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -81,8 +81,7 @@ public class StructuralFeatureActionOperations new Object[]{"validateNotStatic", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(structuralFeatureAction, - context)}), - new Object[]{structuralFeatureAction})); + context)}), new Object[]{structuralFeatureAction})); } return false; } @@ -118,8 +117,7 @@ public class StructuralFeatureActionOperations new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(structuralFeatureAction, - context)}), - new Object[]{structuralFeatureAction})); + context)}), new Object[]{structuralFeatureAction})); } return false; } @@ -156,8 +154,7 @@ public class StructuralFeatureActionOperations new Object[]{"validateObjectType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(structuralFeatureAction, - context)}), - new Object[]{structuralFeatureAction})); + context)}), new Object[]{structuralFeatureAction})); } return false; } @@ -196,8 +193,7 @@ public class StructuralFeatureActionOperations new Object[]{"validateVisibility", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(structuralFeatureAction, - context)}), - new Object[]{structuralFeatureAction})); + context)}), new Object[]{structuralFeatureAction})); } return false; } @@ -233,8 +229,7 @@ public class StructuralFeatureActionOperations new Object[]{"validateOneFeaturingClassifier", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(structuralFeatureAction, - context)}), - new Object[]{structuralFeatureAction})); + context)}), new Object[]{structuralFeatureAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StructuredActivityNodeOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StructuredActivityNodeOperations.java index 975d45ff2..367de7075 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StructuredActivityNodeOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StructuredActivityNodeOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -106,8 +106,7 @@ public class StructuredActivityNodeOperations new Object[]{"validateOutputPinEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(structuredActivityNode, - context)}), - new Object[]{structuredActivityNode})); + context)}), new Object[]{structuredActivityNode})); } return false; } @@ -144,8 +143,7 @@ public class StructuredActivityNodeOperations new Object[]{"validateEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(structuredActivityNode, - context)}), - new Object[]{structuredActivityNode})); + context)}), new Object[]{structuredActivityNode})); } return false; } @@ -181,8 +179,7 @@ public class StructuredActivityNodeOperations new Object[]{"validateInputPinEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(structuredActivityNode, - context)}), - new Object[]{structuredActivityNode})); + context)}), new Object[]{structuredActivityNode})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateBindingOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateBindingOperations.java index e20e7f76d..2b0ae52a4 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateBindingOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateBindingOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class TemplateBindingOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateParameterSubstitutionFormal", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(templateBinding, context)}), - new Object[]{templateBinding})); + .getObjectLabel(templateBinding, context)}), new Object[]{templateBinding})); } return false; } @@ -113,8 +112,7 @@ public class TemplateBindingOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOneParameterSubstitution", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(templateBinding, context)}), - new Object[]{templateBinding})); + .getObjectLabel(templateBinding, context)}), new Object[]{templateBinding})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateParameterOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateParameterOperations.java index 396d0257d..cf3c21745 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateParameterOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateParameterOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class TemplateParameterOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMustBeCompatible", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(templateParameter, context)}), - new Object[]{templateParameter})); + .getObjectLabel(templateParameter, context)}), new Object[]{templateParameter})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateParameterSubstitutionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateParameterSubstitutionOperations.java index b8aacd090..146ed2268 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateParameterSubstitutionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateParameterSubstitutionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class TemplateParameterSubstitutionOperations new Object[]{"validateMustBeCompatible", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(templateParameterSubstitution, - context)}), - new Object[]{templateParameterSubstitution})); + context)}), new Object[]{templateParameterSubstitution})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateSignatureOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateSignatureOperations.java index 1af9f813e..ffb28a82e 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateSignatureOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TemplateSignatureOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class TemplateSignatureOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOwnElements", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(templateSignature, context)}), - new Object[]{templateSignature})); + .getObjectLabel(templateSignature, context)}), new Object[]{templateSignature})); } return false; } @@ -114,8 +113,7 @@ public class TemplateSignatureOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateUniqueParameters", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(templateSignature, context)}), - new Object[]{templateSignature})); + .getObjectLabel(templateSignature, context)}), new Object[]{templateSignature})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TestIdentityActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TestIdentityActionOperations.java index 302b0ad63..c99a51a33 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TestIdentityActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TestIdentityActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class TestIdentityActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(testIdentityAction, context)}), - new Object[]{testIdentityAction})); + .getObjectLabel(testIdentityAction, context)}), new Object[]{testIdentityAction})); } return false; } @@ -113,8 +112,7 @@ public class TestIdentityActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(testIdentityAction, context)}), - new Object[]{testIdentityAction})); + .getObjectLabel(testIdentityAction, context)}), new Object[]{testIdentityAction})); } return false; } @@ -149,8 +147,7 @@ public class TestIdentityActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateResultIsBoolean", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(testIdentityAction, context)}), - new Object[]{testIdentityAction})); + .getObjectLabel(testIdentityAction, context)}), new Object[]{testIdentityAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeConstraintOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeConstraintOperations.java index c482894a5..0724c49c2 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeConstraintOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeConstraintOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2016 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -76,8 +76,7 @@ public class TimeConstraintOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateHasOneConstrainedElement", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(timeConstraint, context)}), - new Object[]{timeConstraint})); + .getObjectLabel(timeConstraint, context)}), new Object[]{timeConstraint})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeEventOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeEventOperations.java index fd3818383..58f5fa33b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeEventOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeEventOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -75,8 +75,7 @@ public class TimeEventOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateWhenNonNegative", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(timeEvent, context)}), - new Object[]{timeEvent})); + .getObjectLabel(timeEvent, context)}), new Object[]{timeEvent})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeExpressionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeExpressionOperations.java index 5c8025d10..747eb3aea 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeExpressionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TimeExpressionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2006, 2018 IBM Corporation, CEA, 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 @@ -75,8 +75,7 @@ public class TimeExpressionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoExprRequiresObservation", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(timeExpression, context)}), - new Object[]{timeExpression})); + .getObjectLabel(timeExpression, context)}), new Object[]{timeExpression})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TransitionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TransitionOperations.java index f4391940b..daba88c1d 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TransitionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TransitionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -94,8 +94,7 @@ public class TransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateForkSegmentGuards", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(transition, context)}), - new Object[]{transition})); + .getObjectLabel(transition, context)}), new Object[]{transition})); } return false; } @@ -129,8 +128,7 @@ public class TransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateJoinSegmentGuards", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(transition, context)}), - new Object[]{transition})); + .getObjectLabel(transition, context)}), new Object[]{transition})); } return false; } @@ -165,8 +163,7 @@ public class TransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateStateIsInternal", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(transition, context)}), - new Object[]{transition})); + .getObjectLabel(transition, context)}), new Object[]{transition})); } return false; } @@ -200,8 +197,7 @@ public class TransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateForkSegmentState", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(transition, context)}), - new Object[]{transition})); + .getObjectLabel(transition, context)}), new Object[]{transition})); } return false; } @@ -235,8 +231,7 @@ public class TransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateJoinSegmentState", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(transition, context)}), - new Object[]{transition})); + .getObjectLabel(transition, context)}), new Object[]{transition})); } return false; } @@ -270,8 +265,7 @@ public class TransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateOutgoingPseudostates", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(transition, context)}), - new Object[]{transition})); + .getObjectLabel(transition, context)}), new Object[]{transition})); } return false; } @@ -306,8 +300,7 @@ public class TransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateInitialTransition", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(transition, context)}), - new Object[]{transition})); + .getObjectLabel(transition, context)}), new Object[]{transition})); } return false; } @@ -343,8 +336,7 @@ public class TransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateStateIsLocal", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(transition, context)}), - new Object[]{transition})); + .getObjectLabel(transition, context)}), new Object[]{transition})); } return false; } @@ -470,8 +462,7 @@ public class TransitionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateStateIsExternal", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(transition, context)}), - new Object[]{transition})); + .getObjectLabel(transition, context)}), new Object[]{transition})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TriggerOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TriggerOperations.java index a5f772752..047627db7 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TriggerOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/TriggerOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2016 CEA and others. + * Copyright (c) 2014, 2018 CEA 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 @@ -75,8 +75,7 @@ public class TriggerOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTriggerWithPorts", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(trigger, context)}), - new Object[]{trigger})); + .getObjectLabel(trigger, context)}), new Object[]{trigger})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/UnmarshallActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/UnmarshallActionOperations.java index 180889f6c..06d1aebec 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/UnmarshallActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/UnmarshallActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -80,8 +80,7 @@ public class UnmarshallActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicityOfObject", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(unmarshallAction, context)}), - new Object[]{unmarshallAction})); + .getObjectLabel(unmarshallAction, context)}), new Object[]{unmarshallAction})); } return false; } @@ -115,8 +114,7 @@ public class UnmarshallActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateObjectType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(unmarshallAction, context)}), - new Object[]{unmarshallAction})); + .getObjectLabel(unmarshallAction, context)}), new Object[]{unmarshallAction})); } return false; } @@ -151,8 +149,7 @@ public class UnmarshallActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNumberOfResult", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(unmarshallAction, context)}), - new Object[]{unmarshallAction})); + .getObjectLabel(unmarshallAction, context)}), new Object[]{unmarshallAction})); } return false; } @@ -191,8 +188,7 @@ public class UnmarshallActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateTypeOrderingAndMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(unmarshallAction, context)}), - new Object[]{unmarshallAction})); + .getObjectLabel(unmarshallAction, context)}), new Object[]{unmarshallAction})); } return false; } @@ -227,8 +223,7 @@ public class UnmarshallActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateStructuralFeature", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(unmarshallAction, context)}), - new Object[]{unmarshallAction})); + .getObjectLabel(unmarshallAction, context)}), new Object[]{unmarshallAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ValuePinOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ValuePinOperations.java index fe62ba35f..099894e0d 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ValuePinOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ValuePinOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -76,8 +76,7 @@ public class ValuePinOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateCompatibleType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(valuePin, context)}), - new Object[]{valuePin})); + .getObjectLabel(valuePin, context)}), new Object[]{valuePin})); } return false; } @@ -111,8 +110,7 @@ public class ValuePinOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateNoIncomingEdges", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(valuePin, context)}), - new Object[]{valuePin})); + .getObjectLabel(valuePin, context)}), new Object[]{valuePin})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ValueSpecificationActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ValueSpecificationActionOperations.java index 0b4024b82..f17cf538f 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ValueSpecificationActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/ValueSpecificationActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -78,8 +78,7 @@ public class ValueSpecificationActionOperations new Object[]{"validateCompatibleType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(valueSpecificationAction, - context)}), - new Object[]{valueSpecificationAction})); + context)}), new Object[]{valueSpecificationAction})); } return false; } @@ -115,8 +114,7 @@ public class ValueSpecificationActionOperations new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(valueSpecificationAction, - context)}), - new Object[]{valueSpecificationAction})); + context)}), new Object[]{valueSpecificationAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/VariableActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/VariableActionOperations.java index 35511b25a..9e80aad80 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/VariableActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/VariableActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -75,8 +75,7 @@ public class VariableActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateScopeOfVariable", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(variableAction, context)}), - new Object[]{variableAction})); + .getObjectLabel(variableAction, context)}), new Object[]{variableAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteLinkActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteLinkActionOperations.java index 1741b048c..e6c570b7a 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteLinkActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteLinkActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -80,8 +80,7 @@ public class WriteLinkActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateAllowAccess", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(writeLinkAction, context)}), - new Object[]{writeLinkAction})); + .getObjectLabel(writeLinkAction, context)}), new Object[]{writeLinkAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteStructuralFeatureActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteStructuralFeatureActionOperations.java index a2cb1921d..d6b8f01bc 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteStructuralFeatureActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteStructuralFeatureActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -80,8 +80,7 @@ public class WriteStructuralFeatureActionOperations new Object[]{"validateTypeOfResult", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(writeStructuralFeatureAction, - context)}), - new Object[]{writeStructuralFeatureAction})); + context)}), new Object[]{writeStructuralFeatureAction})); } return false; } @@ -117,8 +116,7 @@ public class WriteStructuralFeatureActionOperations new Object[]{"validateMultiplicityOfResult", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(writeStructuralFeatureAction, - context)}), - new Object[]{writeStructuralFeatureAction})); + context)}), new Object[]{writeStructuralFeatureAction})); } return false; } @@ -154,8 +152,7 @@ public class WriteStructuralFeatureActionOperations new Object[]{"validateTypeOfValue", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(writeStructuralFeatureAction, - context)}), - new Object[]{writeStructuralFeatureAction})); + context)}), new Object[]{writeStructuralFeatureAction})); } return false; } @@ -191,8 +188,7 @@ public class WriteStructuralFeatureActionOperations new Object[]{"validateMultiplicityOfValue", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator .getObjectLabel(writeStructuralFeatureAction, - context)}), - new Object[]{writeStructuralFeatureAction})); + context)}), new Object[]{writeStructuralFeatureAction})); } return false; } diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteVariableActionOperations.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteVariableActionOperations.java index d908ba285..e0263e4b9 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteVariableActionOperations.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/WriteVariableActionOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2018 IBM Corporation, CEA, 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 @@ -77,8 +77,7 @@ public class WriteVariableActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateValueType", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(writeVariableAction, context)}), - new Object[]{writeVariableAction})); + .getObjectLabel(writeVariableAction, context)}), new Object[]{writeVariableAction})); } return false; } @@ -113,8 +112,7 @@ public class WriteVariableActionOperations "_UI_GenericInvariant_diagnostic", //$NON-NLS-1$ new Object[]{"validateMultiplicity", //$NON-NLS-1$ org.eclipse.emf.ecore.util.EObjectValidator - .getObjectLabel(writeVariableAction, context)}), - new Object[]{writeVariableAction})); + .getObjectLabel(writeVariableAction, context)}), new Object[]{writeVariableAction})); } return false; } |