diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/EnsuranceClient.gif b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/EnsuranceClient.gif deleted file mode 100644 index 14af8aa..0000000 Binary files a/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/EnsuranceClient.gif and /dev/null differ diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/EnsuranceDatabase.gif b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/EnsuranceDatabase.gif deleted file mode 100644 index ef56c14..0000000 Binary files a/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/EnsuranceDatabase.gif and /dev/null differ diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/plugin.properties b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/plugin.properties index 0bcc31c..0dc0ba4 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/plugin.properties +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/plugin.properties @@ -18,10 +18,11 @@ _UI_Unknown_type = Object _UI_Unknown_datatype= Value -_UI_InsuranceDatabase_insuranceclient_feature = Insuranceclient +_UI_InsuranceDatabase_insuranceclient_feature = Insurance Client _UI_InsuranceClient_name_feature = Name _UI_InsuranceClient_socialSecurityNumber_feature = Social Security Number _UI_Unknown_feature = Unspecified -_UI_Sex_MALE_literal = MALE -_UI_Sex_FEMALE_literal = FEMALE +_UI_InsuranceClient_gender_feature = Gender +_UI_Gender_MALE_literal = MALE +_UI_Gender_FEMALE_literal = FEMALE diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceClientItemProvider.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceClientItemProvider.java index 7c1926c..435c416 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceClientItemProvider.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceClientItemProvider.java @@ -55,6 +55,7 @@ public List getPropertyDescriptors(Object object) { addNamePropertyDescriptor(object); addSocialSecurityNumberPropertyDescriptor(object); + addGenderPropertyDescriptor(object); } return itemPropertyDescriptors; } @@ -91,6 +92,22 @@ protected void addSocialSecurityNumberPropertyDescriptor(Object object) { ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } + /** + * This adds a property descriptor for the Gender feature. + * + * + * @generated + */ + protected void addGenderPropertyDescriptor(Object object) { + itemPropertyDescriptors + .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), + getResourceLocator(), getString("_UI_InsuranceClient_gender_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_InsuranceClient_gender_feature", + "_UI_InsuranceClient_type"), + InsurancePackage.Literals.INSURANCE_CLIENT__GENDER, true, false, false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + /** * This returns InsuranceClient.gif. * @@ -139,6 +156,7 @@ public void notifyChanged(Notification notification) { switch (notification.getFeatureID(InsuranceClient.class)) { case InsurancePackage.INSURANCE_CLIENT__NAME: case InsurancePackage.INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: + case InsurancePackage.INSURANCE_CLIENT__GENDER: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; }