Skip to content
Snippets Groups Projects
Commit 9dc69519 authored by Nikolaus Huber's avatar Nikolaus Huber
Browse files

refacctorings to the Parameter and the loop count

git-svn-id: https://se1.informatik.uni-wuerzburg.de/usvn/svn/code/code/DMM/trunk@12109 9e42b895-fcda-4063-8a3b-11be15eb1bbd
parent 07f40d8b
No related branches found
No related tags found
No related merge requests found
......@@ -160,3 +160,4 @@ _UI_Objective_specifications_feature = Specifications
_UI_WeightingFunction_WeightingFunction_feature = Weighting Function
_UI_WeightingFunction_WeightingFunctionImplementation_feature = Weighting Function Implementation
_UI_WeightingFunction_weightingFunctionImplementation_feature = Weighting Function Implementation
_UI_Parameter_value_feature = Value
......@@ -83,7 +83,7 @@ public class LoopActionItemProvider
true,
false,
false,
ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
null,
null,
null));
}
......
......@@ -63,6 +63,7 @@ public class ParameterItemProvider
addNamePropertyDescriptor(object);
addTypePropertyDescriptor(object);
addValuePropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
......@@ -111,6 +112,28 @@ public class ParameterItemProvider
null));
}
/**
* This adds a property descriptor for the Value feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addValuePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_Parameter_value_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_Parameter_value_feature", "_UI_Parameter_type"),
AdaptationPackage.Literals.PARAMETER__VALUE,
true,
false,
false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
null,
null));
}
/**
* This returns Parameter.gif.
* <!-- begin-user-doc -->
......@@ -150,6 +173,7 @@ public class ParameterItemProvider
switch (notification.getFeatureID(Parameter.class)) {
case AdaptationPackage.PARAMETER__NAME:
case AdaptationPackage.PARAMETER__TYPE:
case AdaptationPackage.PARAMETER__VALUE:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment