From fe5dc2d385acc980ef0baad83511f952a6b2bd6b Mon Sep 17 00:00:00 2001
From: Nikolaus Huber <nikolaus.huber@uni-wuerzburg.de>
Date: Wed, 29 May 2013 13:07:28 +0000
Subject: [PATCH] fixed naming problem

git-svn-id: https://se1.informatik.uni-wuerzburg.de/usvn/svn/code/code/DMM/trunk@11808 9e42b895-fcda-4063-8a3b-11be15eb1bbd
---
 ...eateObjective_specifications_Specification.gif | Bin 0 -> 223 bytes
 .../plugin.properties                             |   1 +
 .../provider/ObjectiveItemProvider.java           |   6 +++---
 3 files changed, 4 insertions(+), 3 deletions(-)
 create mode 100644 edu.kit.ipd.descartes.mm.adaptation.edit/icons/full/ctool16/CreateObjective_specifications_Specification.gif

diff --git a/edu.kit.ipd.descartes.mm.adaptation.edit/icons/full/ctool16/CreateObjective_specifications_Specification.gif b/edu.kit.ipd.descartes.mm.adaptation.edit/icons/full/ctool16/CreateObjective_specifications_Specification.gif
new file mode 100644
index 0000000000000000000000000000000000000000..d748696ff3a4d760ebf4dd9d0c6af30c9a96e944
GIT binary patch
literal 223
zcmZ?wbhEHb6krfwIKsg2|NsB{_xIb|$1^Z6T-x(uQ_szrX=fT74*dTgKR@37|9$(0
zhKAo?f4@2U=KlQqmntvqnyv;!TPG>6>ylsEBsH&6Y-Wk@zrXK+=<nzAK=kMN;@@|h
zfu=!#;!hSv5K9L{fb3*ojZskOONq2oW0-mN@RSQ%C-pb?O)Bv;{%q27Eqjutn0mid
za;9^j#_Z)M*hTuZ=A1g|X2qbRcHi5@LLjJN_KSoMi%zyPElhBeztK{2J6G%U%k+GP
PoSLT8#-?mlMFwjCB^G5^

literal 0
HcmV?d00001

diff --git a/edu.kit.ipd.descartes.mm.adaptation.edit/plugin.properties b/edu.kit.ipd.descartes.mm.adaptation.edit/plugin.properties
index 17650d65..762e3a9c 100644
--- a/edu.kit.ipd.descartes.mm.adaptation.edit/plugin.properties
+++ b/edu.kit.ipd.descartes.mm.adaptation.edit/plugin.properties
@@ -156,3 +156,4 @@ _UI_RelationalOperator_GREATER_literal = GREATER
 _UI_RelationalOperator_GREATER_EQUAL_literal = GREATER_EQUAL
 _UI_RelationalOperator_LESS_literal = LESS
 _UI_RelationalOperator_LESS_EQUAL_literal = LESS_EQUAL
+_UI_Objective_specifications_feature = Specifications
diff --git a/edu.kit.ipd.descartes.mm.adaptation.edit/src/edu/kit/ipd/descartes/mm/adaptation/provider/ObjectiveItemProvider.java b/edu.kit.ipd.descartes.mm.adaptation.edit/src/edu/kit/ipd/descartes/mm/adaptation/provider/ObjectiveItemProvider.java
index 5329be8b..68f06b32 100644
--- a/edu.kit.ipd.descartes.mm.adaptation.edit/src/edu/kit/ipd/descartes/mm/adaptation/provider/ObjectiveItemProvider.java
+++ b/edu.kit.ipd.descartes.mm.adaptation.edit/src/edu/kit/ipd/descartes/mm/adaptation/provider/ObjectiveItemProvider.java
@@ -80,7 +80,7 @@ public class ObjectiveItemProvider
     public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
         if (childrenFeatures == null) {
             super.getChildrenFeatures(object);
-            childrenFeatures.add(AdaptationPackage.Literals.OBJECTIVE__SPECIFICATION);
+            childrenFeatures.add(AdaptationPackage.Literals.OBJECTIVE__SPECIFICATIONS);
         }
         return childrenFeatures;
     }
@@ -135,7 +135,7 @@ public class ObjectiveItemProvider
         updateChildren(notification);
 
         switch (notification.getFeatureID(Objective.class)) {
-            case AdaptationPackage.OBJECTIVE__SPECIFICATION:
+            case AdaptationPackage.OBJECTIVE__SPECIFICATIONS:
                 fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
                 return;
         }
@@ -155,7 +155,7 @@ public class ObjectiveItemProvider
 
         newChildDescriptors.add
             (createChildParameter
-                (AdaptationPackage.Literals.OBJECTIVE__SPECIFICATION,
+                (AdaptationPackage.Literals.OBJECTIVE__SPECIFICATIONS,
                  AdaptationFactory.eINSTANCE.createSpecification()));
     }
 
-- 
GitLab