diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/plugin.xml b/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/plugin.xml deleted file mode 100644 index 542a839..0000000 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/plugin.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - %_UI_EnsuranceModelWizard_description - - - - - - - - - - - diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/model/ensurance.genmodel b/bundles/edu.kit.ipd.sdq.metamodels.ensurance/model/ensurance.genmodel deleted file mode 100644 index b6b50b3..0000000 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/model/ensurance.genmodel +++ /dev/null @@ -1,26 +0,0 @@ - - - ensurance.ecore - - - - - - - - - - - - - - - diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/plugin.properties b/bundles/edu.kit.ipd.sdq.metamodels.ensurance/plugin.properties deleted file mode 100644 index a69aa08..0000000 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/plugin.properties +++ /dev/null @@ -1,4 +0,0 @@ -# - -pluginName = Ensurance Metamodel -providerName = KIT SDQ diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/plugin.xml b/bundles/edu.kit.ipd.sdq.metamodels.ensurance/plugin.xml deleted file mode 100644 index 9574a9d..0000000 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/plugin.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsuranceDatabase.java b/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsuranceDatabase.java deleted file mode 100644 index 4c04ebd..0000000 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsuranceDatabase.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - */ -package edu.kit.ipd.sdq.metamodels.ensurance; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Database'. - * - * - *

- * The following features are supported: - *

- * - * - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage#getEnsuranceDatabase() - * @model - * @generated - */ -public interface EnsuranceDatabase extends EObject { - /** - * Returns the value of the 'Ensuranceclient' containment reference list. - * The list contents are of type {@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient}. - * - * - * @return the value of the 'Ensuranceclient' containment reference list. - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage#getEnsuranceDatabase_Ensuranceclient() - * @model containment="true" - * @generated - */ - EList getEnsuranceclient(); - -} // EnsuranceDatabase diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/.classpath b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/.classpath similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/.classpath rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/.classpath diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/.project b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/.project similarity index 91% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/.project rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/.project index 234ab10..3359c26 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/.project +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/.project @@ -1,6 +1,6 @@ - edu.kit.ipd.sdq.metamodels.ensurance.edit + edu.kit.ipd.sdq.metamodels.insurance.edit diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/.settings/org.eclipse.jdt.core.prefs b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/.settings/org.eclipse.jdt.core.prefs rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/.settings/org.eclipse.jdt.core.prefs diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/META-INF/MANIFEST.MF b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/META-INF/MANIFEST.MF similarity index 50% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/META-INF/MANIFEST.MF rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/META-INF/MANIFEST.MF index c775918..4452130 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/META-INF/MANIFEST.MF +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/META-INF/MANIFEST.MF @@ -1,16 +1,16 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName -Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.ensurance.edit;singleton:=true -Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.ensurance.edit +Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.insurance.edit;singleton:=true +Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.insurance.edit Bundle-Version: 1.3.0.qualifier Bundle-ClassPath: . -Bundle-Activator: edu.kit.ipd.sdq.metamodels.ensurance.provider.EnsuranceEditPlugin$Implementation +Bundle-Activator: edu.kit.ipd.sdq.metamodels.insurance.provider.InsuranceEditPlugin$Implementation Bundle-Vendor: %providerName Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: edu.kit.ipd.sdq.metamodels.ensurance.provider +Export-Package: edu.kit.ipd.sdq.metamodels.insurance.provider Require-Bundle: org.eclipse.core.runtime, - edu.kit.ipd.sdq.metamodels.ensurance;visibility:=reexport, + edu.kit.ipd.sdq.metamodels.insurance;visibility:=reexport, org.eclipse.emf.edit;visibility:=reexport Bundle-ActivationPolicy: lazy diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/build.properties b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/build.properties similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/build.properties rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/build.properties diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/icons/full/obj16/EnsuranceClient.gif b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/EnsuranceClient.gif similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/icons/full/obj16/EnsuranceClient.gif rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/EnsuranceClient.gif diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/icons/full/obj16/EnsuranceDatabase.gif b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/EnsuranceDatabase.gif similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/icons/full/obj16/EnsuranceDatabase.gif rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/EnsuranceDatabase.gif diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/InsuranceClient.gif b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/InsuranceClient.gif new file mode 100644 index 0000000..89ad5da Binary files /dev/null and b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/InsuranceClient.gif differ diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/InsuranceDatabase.gif b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/InsuranceDatabase.gif new file mode 100644 index 0000000..14af8aa Binary files /dev/null and b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/icons/full/obj16/InsuranceDatabase.gif differ diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/plugin.properties b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/plugin.properties similarity index 69% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/plugin.properties rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/plugin.properties index 07f212e..0bcc31c 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/plugin.properties +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/plugin.properties @@ -1,6 +1,6 @@ # -pluginName = Ensurance Edit Support +pluginName = Insurance Edit Support providerName = KIT SDQ _UI_CreateChild_text = {0} @@ -12,15 +12,15 @@ _UI_CreateSibling_description = Create a new sibling of type {0} for the selecte _UI_PropertyDescriptor_description = The {0} of the {1} -_UI_EnsuranceDatabase_type = Database -_UI_EnsuranceClient_type = Client +_UI_InsuranceDatabase_type = Database +_UI_InsuranceClient_type = Client _UI_Unknown_type = Object _UI_Unknown_datatype= Value -_UI_EnsuranceDatabase_ensuranceclient_feature = Ensuranceclient -_UI_EnsuranceClient_name_feature = Name -_UI_EnsuranceClient_socialSecurityNumber_feature = Social Security Number +_UI_InsuranceDatabase_insuranceclient_feature = Insuranceclient +_UI_InsuranceClient_name_feature = Name +_UI_InsuranceClient_socialSecurityNumber_feature = Social Security Number _UI_Unknown_feature = Unspecified _UI_Sex_MALE_literal = MALE diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/plugin.xml b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/plugin.xml similarity index 75% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/plugin.xml rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/plugin.xml index 69df969..9c9bedd 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/plugin.xml +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/plugin.xml @@ -7,10 +7,10 @@ - + * * @generated */ @Override public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EnsuranceClient")); + return overlayImage(object, getResourceLocator().getImage("full/obj16/InsuranceClient")); } /** @@ -120,9 +120,9 @@ protected boolean shouldComposeCreationImage() { */ @Override public String getText(Object object) { - String label = ((EnsuranceClient) object).getName(); - return label == null || label.length() == 0 ? getString("_UI_EnsuranceClient_type") - : getString("_UI_EnsuranceClient_type") + " " + label; + String label = ((InsuranceClient) object).getName(); + return label == null || label.length() == 0 ? getString("_UI_InsuranceClient_type") + : getString("_UI_InsuranceClient_type") + " " + label; } /** @@ -136,9 +136,9 @@ public String getText(Object object) { public void notifyChanged(Notification notification) { updateChildren(notification); - switch (notification.getFeatureID(EnsuranceClient.class)) { - case EnsurancePackage.ENSURANCE_CLIENT__NAME: - case EnsurancePackage.ENSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: + switch (notification.getFeatureID(InsuranceClient.class)) { + case InsurancePackage.INSURANCE_CLIENT__NAME: + case InsurancePackage.INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } @@ -165,7 +165,7 @@ protected void collectNewChildDescriptors(Collection newChildDescriptors */ @Override public ResourceLocator getResourceLocator() { - return EnsuranceEditPlugin.INSTANCE; + return InsuranceEditPlugin.INSTANCE; } } diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/provider/EnsuranceDatabaseItemProvider.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceDatabaseItemProvider.java similarity index 81% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/provider/EnsuranceDatabaseItemProvider.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceDatabaseItemProvider.java index 9d36665..be389d4 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/provider/EnsuranceDatabaseItemProvider.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceDatabaseItemProvider.java @@ -1,10 +1,10 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.provider; +package edu.kit.ipd.sdq.metamodels.insurance.provider; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceFactory; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage; +import edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase; +import edu.kit.ipd.sdq.metamodels.insurance.InsuranceFactory; +import edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage; import java.util.Collection; import java.util.List; @@ -26,12 +26,12 @@ import org.eclipse.emf.edit.provider.ViewerNotification; /** - * This is the item provider adapter for a {@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase} object. + * This is the item provider adapter for a {@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase} object. * * * @generated */ -public class EnsuranceDatabaseItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, +public class InsuranceDatabaseItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** * This constructs an instance from a factory and a notifier. @@ -39,7 +39,7 @@ public class EnsuranceDatabaseItemProvider extends ItemProviderAdapter implement * * @generated */ - public EnsuranceDatabaseItemProvider(AdapterFactory adapterFactory) { + public InsuranceDatabaseItemProvider(AdapterFactory adapterFactory) { super(adapterFactory); } @@ -70,7 +70,7 @@ public List getPropertyDescriptors(Object object) { public Collection getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); - childrenFeatures.add(EnsurancePackage.Literals.ENSURANCE_DATABASE__ENSURANCECLIENT); + childrenFeatures.add(InsurancePackage.Literals.INSURANCE_DATABASE__INSURANCECLIENT); } return childrenFeatures; } @@ -89,14 +89,14 @@ protected EStructuralFeature getChildFeature(Object object, Object child) { } /** - * This returns EnsuranceDatabase.gif. + * This returns InsuranceDatabase.gif. * * * @generated */ @Override public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EnsuranceDatabase")); + return overlayImage(object, getResourceLocator().getImage("full/obj16/InsuranceDatabase")); } /** @@ -117,7 +117,7 @@ protected boolean shouldComposeCreationImage() { */ @Override public String getText(Object object) { - return getString("_UI_EnsuranceDatabase_type"); + return getString("_UI_InsuranceDatabase_type"); } /** @@ -131,8 +131,8 @@ public String getText(Object object) { public void notifyChanged(Notification notification) { updateChildren(notification); - switch (notification.getFeatureID(EnsuranceDatabase.class)) { - case EnsurancePackage.ENSURANCE_DATABASE__ENSURANCECLIENT: + switch (notification.getFeatureID(InsuranceDatabase.class)) { + case InsurancePackage.INSURANCE_DATABASE__INSURANCECLIENT: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } @@ -150,8 +150,8 @@ public void notifyChanged(Notification notification) { protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); - newChildDescriptors.add(createChildParameter(EnsurancePackage.Literals.ENSURANCE_DATABASE__ENSURANCECLIENT, - EnsuranceFactory.eINSTANCE.createEnsuranceClient())); + newChildDescriptors.add(createChildParameter(InsurancePackage.Literals.INSURANCE_DATABASE__INSURANCECLIENT, + InsuranceFactory.eINSTANCE.createInsuranceClient())); } /** @@ -162,7 +162,7 @@ protected void collectNewChildDescriptors(Collection newChildDescriptors */ @Override public ResourceLocator getResourceLocator() { - return EnsuranceEditPlugin.INSTANCE; + return InsuranceEditPlugin.INSTANCE; } } diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/provider/EnsuranceEditPlugin.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceEditPlugin.java similarity index 84% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/provider/EnsuranceEditPlugin.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceEditPlugin.java index a397837..b8b9a92 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/provider/EnsuranceEditPlugin.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceEditPlugin.java @@ -1,25 +1,25 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.provider; +package edu.kit.ipd.sdq.metamodels.insurance.provider; import org.eclipse.emf.common.EMFPlugin; import org.eclipse.emf.common.util.ResourceLocator; /** - * This is the central singleton for the Ensurance edit plugin. + * This is the central singleton for the Insurance edit plugin. * * * @generated */ -public final class EnsuranceEditPlugin extends EMFPlugin { +public final class InsuranceEditPlugin extends EMFPlugin { /** * Keep track of the singleton. * * * @generated */ - public static final EnsuranceEditPlugin INSTANCE = new EnsuranceEditPlugin(); + public static final InsuranceEditPlugin INSTANCE = new InsuranceEditPlugin(); /** * Keep track of the singleton. @@ -35,7 +35,7 @@ public final class EnsuranceEditPlugin extends EMFPlugin { * * @generated */ - public EnsuranceEditPlugin() { + public InsuranceEditPlugin() { super(new ResourceLocator[] {}); } diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/provider/EnsuranceItemProviderAdapterFactory.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceItemProviderAdapterFactory.java similarity index 83% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/provider/EnsuranceItemProviderAdapterFactory.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceItemProviderAdapterFactory.java index fecae07..05d5624 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/provider/EnsuranceItemProviderAdapterFactory.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.edit/src-gen/edu/kit/ipd/sdq/metamodels/insurance/provider/InsuranceItemProviderAdapterFactory.java @@ -1,8 +1,8 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.provider; +package edu.kit.ipd.sdq.metamodels.insurance.provider; -import edu.kit.ipd.sdq.metamodels.ensurance.util.EnsuranceAdapterFactory; +import edu.kit.ipd.sdq.metamodels.insurance.util.InsuranceAdapterFactory; import java.util.ArrayList; import java.util.Collection; @@ -32,7 +32,7 @@ * * @generated */ -public class EnsuranceItemProviderAdapterFactory extends EnsuranceAdapterFactory +public class InsuranceItemProviderAdapterFactory extends InsuranceAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { /** * This keeps track of the root adapter factory that delegates to this adapter factory. @@ -64,7 +64,7 @@ public class EnsuranceItemProviderAdapterFactory extends EnsuranceAdapterFactory * * @generated */ - public EnsuranceItemProviderAdapterFactory() { + public InsuranceItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); @@ -73,49 +73,49 @@ public EnsuranceItemProviderAdapterFactory() { } /** - * This keeps track of the one adapter used for all {@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase} instances. + * This keeps track of the one adapter used for all {@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase} instances. * * * @generated */ - protected EnsuranceDatabaseItemProvider ensuranceDatabaseItemProvider; + protected InsuranceDatabaseItemProvider insuranceDatabaseItemProvider; /** - * This creates an adapter for a {@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase}. + * This creates an adapter for a {@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase}. * * * @generated */ @Override - public Adapter createEnsuranceDatabaseAdapter() { - if (ensuranceDatabaseItemProvider == null) { - ensuranceDatabaseItemProvider = new EnsuranceDatabaseItemProvider(this); + public Adapter createInsuranceDatabaseAdapter() { + if (insuranceDatabaseItemProvider == null) { + insuranceDatabaseItemProvider = new InsuranceDatabaseItemProvider(this); } - return ensuranceDatabaseItemProvider; + return insuranceDatabaseItemProvider; } /** - * This keeps track of the one adapter used for all {@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient} instances. + * This keeps track of the one adapter used for all {@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient} instances. * * * @generated */ - protected EnsuranceClientItemProvider ensuranceClientItemProvider; + protected InsuranceClientItemProvider insuranceClientItemProvider; /** - * This creates an adapter for a {@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient}. + * This creates an adapter for a {@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient}. * * * @generated */ @Override - public Adapter createEnsuranceClientAdapter() { - if (ensuranceClientItemProvider == null) { - ensuranceClientItemProvider = new EnsuranceClientItemProvider(this); + public Adapter createInsuranceClientAdapter() { + if (insuranceClientItemProvider == null) { + insuranceClientItemProvider = new InsuranceClientItemProvider(this); } - return ensuranceClientItemProvider; + return insuranceClientItemProvider; } /** @@ -217,10 +217,10 @@ public void fireNotifyChanged(Notification notification) { * @generated */ public void dispose() { - if (ensuranceDatabaseItemProvider != null) - ensuranceDatabaseItemProvider.dispose(); - if (ensuranceClientItemProvider != null) - ensuranceClientItemProvider.dispose(); + if (insuranceDatabaseItemProvider != null) + insuranceDatabaseItemProvider.dispose(); + if (insuranceClientItemProvider != null) + insuranceClientItemProvider.dispose(); } } diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/.classpath b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/.classpath similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/.classpath rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/.classpath diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/.project b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/.project similarity index 91% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/.project rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/.project index 2454f0e..0e35bc2 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/.project +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/.project @@ -1,6 +1,6 @@ - edu.kit.ipd.sdq.metamodels.ensurance.editor + edu.kit.ipd.sdq.metamodels.insurance.editor diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/.settings/org.eclipse.jdt.core.prefs b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/.settings/org.eclipse.jdt.core.prefs rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/.settings/org.eclipse.jdt.core.prefs diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/META-INF/MANIFEST.MF b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/META-INF/MANIFEST.MF similarity index 58% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/META-INF/MANIFEST.MF rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/META-INF/MANIFEST.MF index bc3a034..b43e1a3 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/META-INF/MANIFEST.MF +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/META-INF/MANIFEST.MF @@ -1,18 +1,18 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName -Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.ensurance.editor;singleton:=true -Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.ensurance.editor +Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.insurance.editor;singleton:=true +Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.insurance.editor Bundle-Version: 1.3.0.qualifier Bundle-ClassPath: . -Bundle-Activator: edu.kit.ipd.sdq.metamodels.ensurance.presentation.EnsuranceEditorPlugin$Implementation +Bundle-Activator: edu.kit.ipd.sdq.metamodels.insurance.presentation.InsuranceEditorPlugin$Implementation Bundle-Vendor: %providerName Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: edu.kit.ipd.sdq.metamodels.ensurance.presentation +Export-Package: edu.kit.ipd.sdq.metamodels.insurance.presentation Require-Bundle: org.eclipse.core.runtime, org.eclipse.core.resources;visibility:=reexport, - edu.kit.ipd.sdq.metamodels.ensurance.edit;visibility:=reexport, + edu.kit.ipd.sdq.metamodels.insurance.edit;visibility:=reexport, org.eclipse.emf.ecore.xmi;visibility:=reexport, org.eclipse.emf.edit.ui;visibility:=reexport, org.eclipse.ui.ide;visibility:=reexport diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/build.properties b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/build.properties similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/build.properties rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/build.properties diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/icons/full/obj16/EnsuranceModelFile.gif b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/icons/full/obj16/EnsuranceModelFile.gif similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/icons/full/obj16/EnsuranceModelFile.gif rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/icons/full/obj16/EnsuranceModelFile.gif diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/icons/full/obj16/InsuranceModelFile.gif b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/icons/full/obj16/InsuranceModelFile.gif new file mode 100644 index 0000000..689b728 Binary files /dev/null and b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/icons/full/obj16/InsuranceModelFile.gif differ diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/icons/full/wizban/NewEnsurance.gif b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/icons/full/wizban/NewEnsurance.gif similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/icons/full/wizban/NewEnsurance.gif rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/icons/full/wizban/NewEnsurance.gif diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/icons/full/wizban/NewInsurance.gif b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/icons/full/wizban/NewInsurance.gif new file mode 100644 index 0000000..e976e07 Binary files /dev/null and b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/icons/full/wizban/NewInsurance.gif differ diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/plugin.properties b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/plugin.properties similarity index 80% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/plugin.properties rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/plugin.properties index 5d2a171..dfbede5 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/plugin.properties +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/plugin.properties @@ -1,9 +1,9 @@ # -pluginName = Ensurance Editor +pluginName = Insurance Editor providerName = KIT SDQ -_UI_EnsuranceEditor_menu = &Ensurance Editor +_UI_InsuranceEditor_menu = &Insurance Editor _UI_CreateChild_menu_item = &New Child _UI_CreateSibling_menu_item = N&ew Sibling @@ -30,13 +30,13 @@ _UI_Wizard_category = Example EMF Model Creation Wizards _UI_CreateModelError_message = Problems encountered in file "{0}" -_UI_EnsuranceModelWizard_label = Ensurance Model -_UI_EnsuranceModelWizard_description = Create a new Ensurance model +_UI_InsuranceModelWizard_label = Insurance Model +_UI_InsuranceModelWizard_description = Create a new Insurance model -_UI_EnsuranceEditor_label = Ensurance Model Editor +_UI_InsuranceEditor_label = Insurance Model Editor -_UI_EnsuranceEditorFilenameDefaultBase = My -_UI_EnsuranceEditorFilenameExtensions = ensurance +_UI_InsuranceEditorFilenameDefaultBase = My +_UI_InsuranceEditorFilenameExtensions = insurance _UI_Wizard_label = New diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/plugin.xml b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/plugin.xml new file mode 100644 index 0000000..ef13a4c --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/plugin.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + %_UI_InsuranceModelWizard_description + + + + + + + + + + + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceActionBarContributor.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceActionBarContributor.java similarity index 93% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceActionBarContributor.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceActionBarContributor.java index 580931f..e856d49 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceActionBarContributor.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceActionBarContributor.java @@ -1,6 +1,6 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.presentation; +package edu.kit.ipd.sdq.metamodels.insurance.presentation; import java.util.ArrayList; import java.util.Collection; @@ -40,12 +40,12 @@ import org.eclipse.ui.PartInitException; /** - * This is the action bar contributor for the Ensurance model editor. + * This is the action bar contributor for the Insurance model editor. * * * @generated */ -public class EnsuranceActionBarContributor extends EditingDomainActionBarContributor +public class InsuranceActionBarContributor extends EditingDomainActionBarContributor implements ISelectionChangedListener { /** * This keeps track of the active editor. @@ -70,13 +70,13 @@ public class EnsuranceActionBarContributor extends EditingDomainActionBarContrib * @generated */ protected IAction showPropertiesViewAction = new Action( - EnsuranceEditorPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) { + InsuranceEditorPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) { @Override public void run() { try { getPage().showView("org.eclipse.ui.views.PropertySheet"); } catch (PartInitException exception) { - EnsuranceEditorPlugin.INSTANCE.log(exception); + InsuranceEditorPlugin.INSTANCE.log(exception); } } }; @@ -89,7 +89,7 @@ public void run() { * @generated */ protected IAction refreshViewerAction = new Action( - EnsuranceEditorPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) { + InsuranceEditorPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) { @Override public boolean isEnabled() { return activeEditorPart instanceof IViewerProvider; @@ -146,7 +146,7 @@ public void run() { * * @generated */ - public EnsuranceActionBarContributor() { + public InsuranceActionBarContributor() { super(ADDITIONS_LAST_STYLE); loadResourceAction = new LoadResourceAction(); validateAction = new ValidateAction(); @@ -162,8 +162,8 @@ public EnsuranceActionBarContributor() { @Override public void contributeToToolBar(IToolBarManager toolBarManager) { super.contributeToToolBar(toolBarManager); - toolBarManager.add(new Separator("ensurance-settings")); - toolBarManager.add(new Separator("ensurance-additions")); + toolBarManager.add(new Separator("insurance-settings")); + toolBarManager.add(new Separator("insurance-additions")); } /** @@ -178,8 +178,8 @@ public void contributeToMenu(IMenuManager menuManager) { super.contributeToMenu(menuManager); IMenuManager submenuManager = new MenuManager( - EnsuranceEditorPlugin.INSTANCE.getString("_UI_EnsuranceEditor_menu"), - "edu.kit.ipd.sdq.metamodels.ensuranceMenuID"); + InsuranceEditorPlugin.INSTANCE.getString("_UI_InsuranceEditor_menu"), + "edu.kit.ipd.sdq.metamodels.insuranceMenuID"); menuManager.insertAfter("additions", submenuManager); submenuManager.add(new Separator("settings")); submenuManager.add(new Separator("actions")); @@ -188,13 +188,13 @@ public void contributeToMenu(IMenuManager menuManager) { // Prepare for CreateChild item addition or removal. // - createChildMenuManager = new MenuManager(EnsuranceEditorPlugin.INSTANCE.getString("_UI_CreateChild_menu_item")); + createChildMenuManager = new MenuManager(InsuranceEditorPlugin.INSTANCE.getString("_UI_CreateChild_menu_item")); submenuManager.insertBefore("additions", createChildMenuManager); // Prepare for CreateSibling item addition or removal. // createSiblingMenuManager = new MenuManager( - EnsuranceEditorPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item")); + InsuranceEditorPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item")); submenuManager.insertBefore("additions", createSiblingMenuManager); // Force an update because Eclipse hides empty menus now. @@ -383,11 +383,11 @@ public void menuAboutToShow(IMenuManager menuManager) { super.menuAboutToShow(menuManager); MenuManager submenuManager = null; - submenuManager = new MenuManager(EnsuranceEditorPlugin.INSTANCE.getString("_UI_CreateChild_menu_item")); + submenuManager = new MenuManager(InsuranceEditorPlugin.INSTANCE.getString("_UI_CreateChild_menu_item")); populateManager(submenuManager, createChildActions, null); menuManager.insertBefore("edit", submenuManager); - submenuManager = new MenuManager(EnsuranceEditorPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item")); + submenuManager = new MenuManager(InsuranceEditorPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item")); populateManager(submenuManager, createSiblingActions, null); menuManager.insertBefore("edit", submenuManager); } diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceEditor.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceEditor.java similarity index 97% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceEditor.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceEditor.java index 64cbf17..0b3c98f 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceEditor.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceEditor.java @@ -1,6 +1,6 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.presentation; +package edu.kit.ipd.sdq.metamodels.insurance.presentation; import java.io.IOException; import java.io.InputStream; @@ -153,17 +153,17 @@ import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage; -import edu.kit.ipd.sdq.metamodels.ensurance.provider.EnsuranceItemProviderAdapterFactory; +import edu.kit.ipd.sdq.metamodels.insurance.provider.InsuranceItemProviderAdapterFactory; import org.eclipse.ui.actions.WorkspaceModifyOperation; /** - * This is an example of a Ensurance model editor. + * This is an example of a Insurance model editor. * * * @generated */ -public class EnsuranceEditor extends MultiPageEditorPart +public class InsuranceEditor extends MultiPageEditorPart implements IEditingDomainProvider, ISelectionProvider, IMenuListener, IViewerProvider, IGotoMarker { /** * This keeps track of the editing domain that is used to track all changes to the model. @@ -323,16 +323,16 @@ public class EnsuranceEditor extends MultiPageEditorPart public void partActivated(IWorkbenchPart p) { if (p instanceof ContentOutline) { if (((ContentOutline) p).getCurrentPage() == contentOutlinePage) { - getActionBarContributor().setActiveEditor(EnsuranceEditor.this); + getActionBarContributor().setActiveEditor(InsuranceEditor.this); setCurrentViewer(contentOutlineViewer); } } else if (p instanceof PropertySheet) { if (propertySheetPages.contains(((PropertySheet) p).getCurrentPage())) { - getActionBarContributor().setActiveEditor(EnsuranceEditor.this); + getActionBarContributor().setActiveEditor(InsuranceEditor.this); handleActivate(); } - } else if (p == EnsuranceEditor.this) { + } else if (p == InsuranceEditor.this) { handleActivate(); } } @@ -503,7 +503,7 @@ public Collection getRemovedResources() { public void run() { removedResources.addAll(visitor.getRemovedResources()); if (!isDirty()) { - getSite().getPage().closeEditor(EnsuranceEditor.this, false); + getSite().getPage().closeEditor(InsuranceEditor.this, false); } } }); @@ -513,14 +513,14 @@ public void run() { getSite().getShell().getDisplay().asyncExec(new Runnable() { public void run() { changedResources.addAll(visitor.getChangedResources()); - if (getSite().getPage().getActiveEditor() == EnsuranceEditor.this) { + if (getSite().getPage().getActiveEditor() == InsuranceEditor.this) { handleActivate(); } } }); } } catch (CoreException exception) { - EnsuranceEditorPlugin.INSTANCE.log(exception); + InsuranceEditorPlugin.INSTANCE.log(exception); } } }; @@ -544,7 +544,7 @@ protected void handleActivate() { if (!removedResources.isEmpty()) { if (handleDirtyConflict()) { - getSite().getPage().closeEditor(EnsuranceEditor.this, false); + getSite().getPage().closeEditor(InsuranceEditor.this, false); } else { removedResources.clear(); changedResources.clear(); @@ -604,7 +604,7 @@ protected void handleChangedResources() { protected void updateProblemIndication() { if (updateProblemIndication) { BasicDiagnostic diagnostic = new BasicDiagnostic(Diagnostic.OK, - "edu.kit.ipd.sdq.metamodels.ensurance.editor", 0, null, + "edu.kit.ipd.sdq.metamodels.insurance.editor", 0, null, new Object[] { editingDomain.getResourceSet() }); for (Diagnostic childDiagnostic : resourceToDiagnosticMap.values()) { if (childDiagnostic.getSeverity() != Diagnostic.OK) { @@ -628,7 +628,7 @@ protected void updateProblemIndication() { setActivePage(lastEditorPage); showTabs(); } catch (PartInitException exception) { - EnsuranceEditorPlugin.INSTANCE.log(exception); + InsuranceEditorPlugin.INSTANCE.log(exception); } } @@ -636,7 +636,7 @@ protected void updateProblemIndication() { try { markerHelper.updateMarkers(diagnostic); } catch (CoreException exception) { - EnsuranceEditorPlugin.INSTANCE.log(exception); + InsuranceEditorPlugin.INSTANCE.log(exception); } } } @@ -659,7 +659,7 @@ protected boolean handleDirtyConflict() { * * @generated */ - public EnsuranceEditor() { + public InsuranceEditor() { super(); initializeEditingDomain(); } @@ -676,7 +676,7 @@ protected void initializeEditingDomain() { adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE); adapterFactory.addAdapterFactory(new ResourceItemProviderAdapterFactory()); - adapterFactory.addAdapterFactory(new EnsuranceItemProviderAdapterFactory()); + adapterFactory.addAdapterFactory(new InsuranceItemProviderAdapterFactory()); adapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory()); // Create the command stack that will notify this editor as commands are executed. @@ -950,13 +950,13 @@ public Diagnostic analyzeResourceProblems(Resource resource, Exception exception boolean hasErrors = !resource.getErrors().isEmpty(); if (hasErrors || !resource.getWarnings().isEmpty()) { BasicDiagnostic basicDiagnostic = new BasicDiagnostic(hasErrors ? Diagnostic.ERROR : Diagnostic.WARNING, - "edu.kit.ipd.sdq.metamodels.ensurance.editor", 0, + "edu.kit.ipd.sdq.metamodels.insurance.editor", 0, getString("_UI_CreateModelError_message", resource.getURI()), new Object[] { exception == null ? (Object) resource : exception }); basicDiagnostic.merge(EcoreUtil.computeDiagnostic(resource, true)); return basicDiagnostic; } else if (exception != null) { - return new BasicDiagnostic(Diagnostic.ERROR, "edu.kit.ipd.sdq.metamodels.ensurance.editor", 0, + return new BasicDiagnostic(Diagnostic.ERROR, "edu.kit.ipd.sdq.metamodels.insurance.editor", 0, getString("_UI_CreateModelError_message", resource.getURI()), new Object[] { exception }); } else { return Diagnostic.OK_INSTANCE; @@ -981,7 +981,7 @@ public void createPages() { // Create a page for the selection tree view. // { - ViewerPane viewerPane = new ViewerPane(getSite().getPage(), EnsuranceEditor.this) { + ViewerPane viewerPane = new ViewerPane(getSite().getPage(), InsuranceEditor.this) { @Override public Viewer createViewer(Composite composite) { Tree tree = new Tree(composite, SWT.MULTI); @@ -1017,7 +1017,7 @@ public void requestActivation() { // Create a page for the parent tree view. // { - ViewerPane viewerPane = new ViewerPane(getSite().getPage(), EnsuranceEditor.this) { + ViewerPane viewerPane = new ViewerPane(getSite().getPage(), InsuranceEditor.this) { @Override public Viewer createViewer(Composite composite) { Tree tree = new Tree(composite, SWT.MULTI); @@ -1046,7 +1046,7 @@ public void requestActivation() { // This is the page for the list viewer // { - ViewerPane viewerPane = new ViewerPane(getSite().getPage(), EnsuranceEditor.this) { + ViewerPane viewerPane = new ViewerPane(getSite().getPage(), InsuranceEditor.this) { @Override public Viewer createViewer(Composite composite) { return new ListViewer(composite); @@ -1071,7 +1071,7 @@ public void requestActivation() { // This is the page for the tree viewer // { - ViewerPane viewerPane = new ViewerPane(getSite().getPage(), EnsuranceEditor.this) { + ViewerPane viewerPane = new ViewerPane(getSite().getPage(), InsuranceEditor.this) { @Override public Viewer createViewer(Composite composite) { return new TreeViewer(composite); @@ -1098,7 +1098,7 @@ public void requestActivation() { // This is the page for the table viewer. // { - ViewerPane viewerPane = new ViewerPane(getSite().getPage(), EnsuranceEditor.this) { + ViewerPane viewerPane = new ViewerPane(getSite().getPage(), InsuranceEditor.this) { @Override public Viewer createViewer(Composite composite) { return new TableViewer(composite); @@ -1141,7 +1141,7 @@ public void requestActivation() { // This is the page for the table tree viewer. // { - ViewerPane viewerPane = new ViewerPane(getSite().getPage(), EnsuranceEditor.this) { + ViewerPane viewerPane = new ViewerPane(getSite().getPage(), InsuranceEditor.this) { @Override public Viewer createViewer(Composite composite) { return new TreeViewer(composite); @@ -1360,8 +1360,8 @@ public IPropertySheetPage getPropertySheetPage() { ExtendedPropertySheetPage.Decoration.NONE, null, 0, false) { @Override public void setSelectionToViewer(List selection) { - EnsuranceEditor.this.setSelectionToViewer(selection); - EnsuranceEditor.this.setFocus(); + InsuranceEditor.this.setSelectionToViewer(selection); + InsuranceEditor.this.setFocus(); } @Override @@ -1482,7 +1482,7 @@ public void execute(IProgressMonitor monitor) { } catch (Exception exception) { // Something went wrong that shouldn't. // - EnsuranceEditorPlugin.INSTANCE.log(exception); + InsuranceEditorPlugin.INSTANCE.log(exception); } updateProblemIndication = true; updateProblemIndication(); @@ -1685,7 +1685,7 @@ public void setStatusLineManager(ISelection selection) { * @generated */ private static String getString(String key) { - return EnsuranceEditorPlugin.INSTANCE.getString(key); + return InsuranceEditorPlugin.INSTANCE.getString(key); } /** @@ -1695,7 +1695,7 @@ private static String getString(String key) { * @generated */ private static String getString(String key, Object s1) { - return EnsuranceEditorPlugin.INSTANCE.getString(key, new Object[] { s1 }); + return InsuranceEditorPlugin.INSTANCE.getString(key, new Object[] { s1 }); } /** diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceEditorPlugin.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceEditorPlugin.java similarity index 84% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceEditorPlugin.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceEditorPlugin.java index 834c4c7..edd559d 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceEditorPlugin.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceEditorPlugin.java @@ -1,6 +1,6 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.presentation; +package edu.kit.ipd.sdq.metamodels.insurance.presentation; import org.eclipse.emf.common.EMFPlugin; @@ -9,19 +9,19 @@ import org.eclipse.emf.common.util.ResourceLocator; /** - * This is the central singleton for the Ensurance editor plugin. + * This is the central singleton for the Insurance editor plugin. * * * @generated */ -public final class EnsuranceEditorPlugin extends EMFPlugin { +public final class InsuranceEditorPlugin extends EMFPlugin { /** * Keep track of the singleton. * * * @generated */ - public static final EnsuranceEditorPlugin INSTANCE = new EnsuranceEditorPlugin(); + public static final InsuranceEditorPlugin INSTANCE = new InsuranceEditorPlugin(); /** * Keep track of the singleton. @@ -37,7 +37,7 @@ public final class EnsuranceEditorPlugin extends EMFPlugin { * * @generated */ - public EnsuranceEditorPlugin() { + public InsuranceEditorPlugin() { super(new ResourceLocator[] {}); } diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceModelWizard.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceModelWizard.java similarity index 85% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceModelWizard.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceModelWizard.java index 6857e73..363d84b 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/presentation/EnsuranceModelWizard.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance.editor/src-gen/edu/kit/ipd/sdq/metamodels/insurance/presentation/InsuranceModelWizard.java @@ -1,6 +1,6 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.presentation; +package edu.kit.ipd.sdq.metamodels.insurance.presentation; import java.util.ArrayList; import java.util.Arrays; @@ -68,9 +68,9 @@ import org.eclipse.ui.part.FileEditorInput; import org.eclipse.ui.part.ISetSelectionTarget; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceFactory; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage; -import edu.kit.ipd.sdq.metamodels.ensurance.provider.EnsuranceEditPlugin; +import edu.kit.ipd.sdq.metamodels.insurance.InsuranceFactory; +import edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage; +import edu.kit.ipd.sdq.metamodels.insurance.provider.InsuranceEditPlugin; import org.eclipse.core.runtime.Path; @@ -88,7 +88,7 @@ * * @generated */ -public class EnsuranceModelWizard extends Wizard implements INewWizard { +public class InsuranceModelWizard extends Wizard implements INewWizard { /** * The supported extensions for created files. * @@ -96,7 +96,7 @@ public class EnsuranceModelWizard extends Wizard implements INewWizard { * @generated */ public static final List FILE_EXTENSIONS = Collections.unmodifiableList(Arrays.asList( - EnsuranceEditorPlugin.INSTANCE.getString("_UI_EnsuranceEditorFilenameExtensions").split("\\s*,\\s*"))); + InsuranceEditorPlugin.INSTANCE.getString("_UI_InsuranceEditorFilenameExtensions").split("\\s*,\\s*"))); /** * A formatted list of supported file extensions, suitable for display. @@ -104,8 +104,8 @@ public class EnsuranceModelWizard extends Wizard implements INewWizard { * * @generated */ - public static final String FORMATTED_FILE_EXTENSIONS = EnsuranceEditorPlugin.INSTANCE - .getString("_UI_EnsuranceEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", "); + public static final String FORMATTED_FILE_EXTENSIONS = InsuranceEditorPlugin.INSTANCE + .getString("_UI_InsuranceEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", "); /** * This caches an instance of the model package. @@ -113,7 +113,7 @@ public class EnsuranceModelWizard extends Wizard implements INewWizard { * * @generated */ - protected EnsurancePackage ensurancePackage = EnsurancePackage.eINSTANCE; + protected InsurancePackage insurancePackage = InsurancePackage.eINSTANCE; /** * This caches an instance of the model factory. @@ -121,7 +121,7 @@ public class EnsuranceModelWizard extends Wizard implements INewWizard { * * @generated */ - protected EnsuranceFactory ensuranceFactory = ensurancePackage.getEnsuranceFactory(); + protected InsuranceFactory insuranceFactory = insurancePackage.getInsuranceFactory(); /** * This is the file creation page. @@ -129,7 +129,7 @@ public class EnsuranceModelWizard extends Wizard implements INewWizard { * * @generated */ - protected EnsuranceModelWizardNewFileCreationPage newFileCreationPage; + protected InsuranceModelWizardNewFileCreationPage newFileCreationPage; /** * This is the initial object creation page. @@ -137,7 +137,7 @@ public class EnsuranceModelWizard extends Wizard implements INewWizard { * * @generated */ - protected EnsuranceModelWizardInitialObjectCreationPage initialObjectCreationPage; + protected InsuranceModelWizardInitialObjectCreationPage initialObjectCreationPage; /** * Remember the selection during initialization for populating the default container. @@ -172,9 +172,9 @@ public class EnsuranceModelWizard extends Wizard implements INewWizard { public void init(IWorkbench workbench, IStructuredSelection selection) { this.workbench = workbench; this.selection = selection; - setWindowTitle(EnsuranceEditorPlugin.INSTANCE.getString("_UI_Wizard_label")); + setWindowTitle(InsuranceEditorPlugin.INSTANCE.getString("_UI_Wizard_label")); setDefaultPageImageDescriptor(ExtendedImageRegistry.INSTANCE - .getImageDescriptor(EnsuranceEditorPlugin.INSTANCE.getImage("full/wizban/NewEnsurance"))); + .getImageDescriptor(InsuranceEditorPlugin.INSTANCE.getImage("full/wizban/NewInsurance"))); } /** @@ -186,7 +186,7 @@ public void init(IWorkbench workbench, IStructuredSelection selection) { protected Collection getInitialObjectNames() { if (initialObjectNames == null) { initialObjectNames = new ArrayList(); - for (EClassifier eClassifier : ensurancePackage.getEClassifiers()) { + for (EClassifier eClassifier : insurancePackage.getEClassifiers()) { if (eClassifier instanceof EClass) { EClass eClass = (EClass) eClassifier; if (!eClass.isAbstract()) { @@ -206,8 +206,8 @@ protected Collection getInitialObjectNames() { * @generated */ protected EObject createInitialModel() { - EClass eClass = (EClass) ensurancePackage.getEClassifier(initialObjectCreationPage.getInitialObjectName()); - EObject rootObject = ensuranceFactory.create(eClass); + EClass eClass = (EClass) insurancePackage.getEClassifier(initialObjectCreationPage.getInitialObjectName()); + EObject rootObject = insuranceFactory.create(eClass); return rootObject; } @@ -255,7 +255,7 @@ protected void execute(IProgressMonitor progressMonitor) { options.put(XMLResource.OPTION_ENCODING, initialObjectCreationPage.getEncoding()); resource.save(options); } catch (Exception exception) { - EnsuranceEditorPlugin.INSTANCE.log(exception); + InsuranceEditorPlugin.INSTANCE.log(exception); } finally { progressMonitor.done(); } @@ -285,13 +285,13 @@ public void run() { workbench.getEditorRegistry().getDefaultEditor(modelFile.getFullPath().toString()).getId()); } catch (PartInitException exception) { MessageDialog.openError(workbenchWindow.getShell(), - EnsuranceEditorPlugin.INSTANCE.getString("_UI_OpenEditorError_label"), exception.getMessage()); + InsuranceEditorPlugin.INSTANCE.getString("_UI_OpenEditorError_label"), exception.getMessage()); return false; } return true; } catch (Exception exception) { - EnsuranceEditorPlugin.INSTANCE.log(exception); + InsuranceEditorPlugin.INSTANCE.log(exception); return false; } } @@ -302,14 +302,14 @@ public void run() { * * @generated */ - public class EnsuranceModelWizardNewFileCreationPage extends WizardNewFileCreationPage { + public class InsuranceModelWizardNewFileCreationPage extends WizardNewFileCreationPage { /** * Pass in the selection. * * * @generated */ - public EnsuranceModelWizardNewFileCreationPage(String pageId, IStructuredSelection selection) { + public InsuranceModelWizardNewFileCreationPage(String pageId, IStructuredSelection selection) { super(pageId, selection); } @@ -326,7 +326,7 @@ protected boolean validatePage() { if (extension == null || !FILE_EXTENSIONS.contains(extension)) { String key = FILE_EXTENSIONS.size() > 1 ? "_WARN_FilenameExtensions" : "_WARN_FilenameExtension"; setErrorMessage( - EnsuranceEditorPlugin.INSTANCE.getString(key, new Object[] { FORMATTED_FILE_EXTENSIONS })); + InsuranceEditorPlugin.INSTANCE.getString(key, new Object[] { FORMATTED_FILE_EXTENSIONS })); return false; } return true; @@ -350,7 +350,7 @@ public IFile getModelFile() { * * @generated */ - public class EnsuranceModelWizardInitialObjectCreationPage extends WizardPage { + public class InsuranceModelWizardInitialObjectCreationPage extends WizardPage { /** * * @@ -378,7 +378,7 @@ public class EnsuranceModelWizardInitialObjectCreationPage extends WizardPage { * * @generated */ - public EnsuranceModelWizardInitialObjectCreationPage(String pageId) { + public InsuranceModelWizardInitialObjectCreationPage(String pageId) { super(pageId); } @@ -404,7 +404,7 @@ public void createControl(Composite parent) { Label containerLabel = new Label(composite, SWT.LEFT); { - containerLabel.setText(EnsuranceEditorPlugin.INSTANCE.getString("_UI_ModelObject")); + containerLabel.setText(InsuranceEditorPlugin.INSTANCE.getString("_UI_ModelObject")); GridData data = new GridData(); data.horizontalAlignment = GridData.FILL; @@ -430,7 +430,7 @@ public void createControl(Composite parent) { Label encodingLabel = new Label(composite, SWT.LEFT); { - encodingLabel.setText(EnsuranceEditorPlugin.INSTANCE.getString("_UI_XMLEncoding")); + encodingLabel.setText(InsuranceEditorPlugin.INSTANCE.getString("_UI_XMLEncoding")); GridData data = new GridData(); data.horizontalAlignment = GridData.FILL; @@ -527,9 +527,9 @@ public String getEncoding() { */ protected String getLabel(String typeName) { try { - return EnsuranceEditPlugin.INSTANCE.getString("_UI_" + typeName + "_type"); + return InsuranceEditPlugin.INSTANCE.getString("_UI_" + typeName + "_type"); } catch (MissingResourceException mre) { - EnsuranceEditorPlugin.INSTANCE.log(mre); + InsuranceEditorPlugin.INSTANCE.log(mre); } return typeName; } @@ -543,7 +543,7 @@ protected Collection getEncodings() { if (encodings == null) { encodings = new ArrayList(); for (StringTokenizer stringTokenizer = new StringTokenizer( - EnsuranceEditorPlugin.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer + InsuranceEditorPlugin.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer .hasMoreTokens();) { encodings.add(stringTokenizer.nextToken()); } @@ -562,12 +562,12 @@ protected Collection getEncodings() { public void addPages() { // Create a page, set the title, and the initial model file name. // - newFileCreationPage = new EnsuranceModelWizardNewFileCreationPage("Whatever", selection); - newFileCreationPage.setTitle(EnsuranceEditorPlugin.INSTANCE.getString("_UI_EnsuranceModelWizard_label")); + newFileCreationPage = new InsuranceModelWizardNewFileCreationPage("Whatever", selection); + newFileCreationPage.setTitle(InsuranceEditorPlugin.INSTANCE.getString("_UI_InsuranceModelWizard_label")); newFileCreationPage - .setDescription(EnsuranceEditorPlugin.INSTANCE.getString("_UI_EnsuranceModelWizard_description")); + .setDescription(InsuranceEditorPlugin.INSTANCE.getString("_UI_InsuranceModelWizard_description")); newFileCreationPage - .setFileName(EnsuranceEditorPlugin.INSTANCE.getString("_UI_EnsuranceEditorFilenameDefaultBase") + "." + .setFileName(InsuranceEditorPlugin.INSTANCE.getString("_UI_InsuranceEditorFilenameDefaultBase") + "." + FILE_EXTENSIONS.get(0)); addPage(newFileCreationPage); @@ -594,8 +594,8 @@ public void addPages() { // Make up a unique new name here. // - String defaultModelBaseFilename = EnsuranceEditorPlugin.INSTANCE - .getString("_UI_EnsuranceEditorFilenameDefaultBase"); + String defaultModelBaseFilename = InsuranceEditorPlugin.INSTANCE + .getString("_UI_InsuranceEditorFilenameDefaultBase"); String defaultModelFilenameExtension = FILE_EXTENSIONS.get(0); String modelFilename = defaultModelBaseFilename + "." + defaultModelFilenameExtension; for (int i = 1; ((IContainer) selectedResource).findMember(modelFilename) != null; ++i) { @@ -605,10 +605,10 @@ public void addPages() { } } } - initialObjectCreationPage = new EnsuranceModelWizardInitialObjectCreationPage("Whatever2"); - initialObjectCreationPage.setTitle(EnsuranceEditorPlugin.INSTANCE.getString("_UI_EnsuranceModelWizard_label")); + initialObjectCreationPage = new InsuranceModelWizardInitialObjectCreationPage("Whatever2"); + initialObjectCreationPage.setTitle(InsuranceEditorPlugin.INSTANCE.getString("_UI_InsuranceModelWizard_label")); initialObjectCreationPage - .setDescription(EnsuranceEditorPlugin.INSTANCE.getString("_UI_Wizard_initial_object_description")); + .setDescription(InsuranceEditorPlugin.INSTANCE.getString("_UI_Wizard_initial_object_description")); addPage(initialObjectCreationPage); } diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/.classpath b/bundles/edu.kit.ipd.sdq.metamodels.insurance/.classpath similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/.classpath rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/.classpath diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/.project b/bundles/edu.kit.ipd.sdq.metamodels.insurance/.project similarity index 93% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/.project rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/.project index 9fbc05c..9919170 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/.project +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/.project @@ -1,6 +1,6 @@ - edu.kit.ipd.sdq.metamodels.ensurance + edu.kit.ipd.sdq.metamodels.insurance diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/.settings/org.eclipse.jdt.core.prefs b/bundles/edu.kit.ipd.sdq.metamodels.insurance/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/.settings/org.eclipse.jdt.core.prefs rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/.settings/org.eclipse.jdt.core.prefs diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/META-INF/MANIFEST.MF b/bundles/edu.kit.ipd.sdq.metamodels.insurance/META-INF/MANIFEST.MF similarity index 57% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/META-INF/MANIFEST.MF rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/META-INF/MANIFEST.MF index ce20d8b..cc22e8f 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/META-INF/MANIFEST.MF +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/META-INF/MANIFEST.MF @@ -1,16 +1,16 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName -Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.ensurance;singleton:=true -Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.ensurance +Bundle-SymbolicName: edu.kit.ipd.sdq.metamodels.insurance;singleton:=true +Automatic-Module-Name: edu.kit.ipd.sdq.metamodels.insurance Bundle-Version: 1.3.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: edu.kit.ipd.sdq.metamodels.ensurance, - edu.kit.ipd.sdq.metamodels.ensurance.impl, - edu.kit.ipd.sdq.metamodels.ensurance.util +Export-Package: edu.kit.ipd.sdq.metamodels.insurance, + edu.kit.ipd.sdq.metamodels.insurance.impl, + edu.kit.ipd.sdq.metamodels.insurance.util Require-Bundle: org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.core.runtime Bundle-ActivationPolicy: lazy diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/build.properties b/bundles/edu.kit.ipd.sdq.metamodels.insurance/build.properties similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/build.properties rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/build.properties diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/model/ensurance.aird b/bundles/edu.kit.ipd.sdq.metamodels.insurance/model/insurance.aird similarity index 90% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/model/ensurance.aird rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/model/insurance.aird index f424175..58b29dc 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/model/ensurance.aird +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/model/insurance.aird @@ -1,14 +1,14 @@ - ensurance.ecore - ensurance.genmodel + insurance.ecore + insurance.genmodel ../.polyglot.build.properties - + - + @@ -90,32 +90,32 @@ - - - + + + - - - + + + - - + + - - + + @@ -123,32 +123,32 @@ - - + + - - + + - - + + - - - + + + labelSize @@ -164,6 +164,6 @@ - + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/model/ensurance.ecore b/bundles/edu.kit.ipd.sdq.metamodels.insurance/model/insurance.ecore similarity index 63% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/model/ensurance.ecore rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/model/insurance.ecore index c432c4f..df430eb 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/model/ensurance.ecore +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/model/insurance.ecore @@ -1,11 +1,11 @@ - - + xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="insurance" nsURI="edu.kit.ipd.sdq.metamodels.insurance" nsPrefix="insurance"> + + - + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance/model/insurance.genmodel b/bundles/edu.kit.ipd.sdq.metamodels.insurance/model/insurance.genmodel new file mode 100644 index 0000000..84839b5 --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/model/insurance.genmodel @@ -0,0 +1,26 @@ + + + insurance.ecore + + + + + + + + + + + + + + + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance/plugin.properties b/bundles/edu.kit.ipd.sdq.metamodels.insurance/plugin.properties new file mode 100644 index 0000000..d6c6e17 --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/plugin.properties @@ -0,0 +1,4 @@ +# + +pluginName = Insurance Metamodel +providerName = KIT SDQ diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance/plugin.xml b/bundles/edu.kit.ipd.sdq.metamodels.insurance/plugin.xml new file mode 100644 index 0000000..caf3a22 --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/plugin.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsuranceClient.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsuranceClient.java similarity index 64% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsuranceClient.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsuranceClient.java index 2692f0b..87f5274 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsuranceClient.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsuranceClient.java @@ -1,6 +1,6 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance; +package edu.kit.ipd.sdq.metamodels.insurance; import org.eclipse.emf.ecore.EObject; @@ -13,29 +13,29 @@ * The following features are supported: *

*
    - *
  • {@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient#getName Name}
  • - *
  • {@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient#getSocialSecurityNumber Social Security Number}
  • + *
  • {@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient#getName Name}
  • + *
  • {@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient#getSocialSecurityNumber Social Security Number}
  • *
* - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage#getEnsuranceClient() + * @see edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage#getInsuranceClient() * @model * @generated */ -public interface EnsuranceClient extends EObject { +public interface InsuranceClient extends EObject { /** * Returns the value of the 'Name' attribute. * * * @return the value of the 'Name' attribute. * @see #setName(String) - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage#getEnsuranceClient_Name() + * @see edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage#getInsuranceClient_Name() * @model * @generated */ String getName(); /** - * Sets the value of the '{@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient#getName Name}' attribute. + * Sets the value of the '{@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. @@ -50,14 +50,14 @@ public interface EnsuranceClient extends EObject { * * @return the value of the 'Social Security Number' attribute. * @see #setSocialSecurityNumber(String) - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage#getEnsuranceClient_SocialSecurityNumber() + * @see edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage#getInsuranceClient_SocialSecurityNumber() * @model * @generated */ String getSocialSecurityNumber(); /** - * Sets the value of the '{@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient#getSocialSecurityNumber Social Security Number}' attribute. + * Sets the value of the '{@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient#getSocialSecurityNumber Social Security Number}' attribute. * * * @param value the new value of the 'Social Security Number' attribute. @@ -66,4 +66,4 @@ public interface EnsuranceClient extends EObject { */ void setSocialSecurityNumber(String value); -} // EnsuranceClient +} // InsuranceClient diff --git a/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsuranceDatabase.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsuranceDatabase.java new file mode 100644 index 0000000..bdacde9 --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsuranceDatabase.java @@ -0,0 +1,38 @@ +/** + */ +package edu.kit.ipd.sdq.metamodels.insurance; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Database'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase#getInsuranceclient Insuranceclient}
  • + *
+ * + * @see edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage#getInsuranceDatabase() + * @model + * @generated + */ +public interface InsuranceDatabase extends EObject { + /** + * Returns the value of the 'Insuranceclient' containment reference list. + * The list contents are of type {@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient}. + * + * + * @return the value of the 'Insuranceclient' containment reference list. + * @see edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage#getInsuranceDatabase_Insuranceclient() + * @model containment="true" + * @generated + */ + EList getInsuranceclient(); + +} // InsuranceDatabase diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsuranceFactory.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsuranceFactory.java similarity index 68% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsuranceFactory.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsuranceFactory.java index 1ff381a..63869a0 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsuranceFactory.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsuranceFactory.java @@ -1,6 +1,6 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance; +package edu.kit.ipd.sdq.metamodels.insurance; import org.eclipse.emf.ecore.EFactory; @@ -9,17 +9,17 @@ * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage + * @see edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage * @generated */ -public interface EnsuranceFactory extends EFactory { +public interface InsuranceFactory extends EFactory { /** * The singleton instance of the factory. * * * @generated */ - EnsuranceFactory eINSTANCE = edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceFactoryImpl.init(); + InsuranceFactory eINSTANCE = edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceFactoryImpl.init(); /** * Returns a new object of class 'Database'. @@ -28,7 +28,7 @@ public interface EnsuranceFactory extends EFactory { * @return a new object of class 'Database'. * @generated */ - EnsuranceDatabase createEnsuranceDatabase(); + InsuranceDatabase createInsuranceDatabase(); /** * Returns a new object of class 'Client'. @@ -37,7 +37,7 @@ public interface EnsuranceFactory extends EFactory { * @return a new object of class 'Client'. * @generated */ - EnsuranceClient createEnsuranceClient(); + InsuranceClient createInsuranceClient(); /** * Returns the package supported by this factory. @@ -46,6 +46,6 @@ public interface EnsuranceFactory extends EFactory { * @return the package supported by this factory. * @generated */ - EnsurancePackage getEnsurancePackage(); + InsurancePackage getInsurancePackage(); -} //EnsuranceFactory +} //InsuranceFactory diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsurancePackage.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsurancePackage.java similarity index 60% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsurancePackage.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsurancePackage.java index 47733eb..3225ca8 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/EnsurancePackage.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/InsurancePackage.java @@ -1,6 +1,6 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance; +package edu.kit.ipd.sdq.metamodels.insurance; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; @@ -20,18 +20,18 @@ *
  • and each data type
  • * * - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceFactory + * @see edu.kit.ipd.sdq.metamodels.insurance.InsuranceFactory * @model kind="package" * @generated */ -public interface EnsurancePackage extends EPackage { +public interface InsurancePackage extends EPackage { /** * The package name. * * * @generated */ - String eNAME = "ensurance"; + String eNAME = "insurance"; /** * The package namespace URI. @@ -39,7 +39,7 @@ public interface EnsurancePackage extends EPackage { * * @generated */ - String eNS_URI = "edu.kit.ipd.sdq.metamodels.ensurance"; + String eNS_URI = "edu.kit.ipd.sdq.metamodels.insurance"; /** * The package namespace name. @@ -47,7 +47,7 @@ public interface EnsurancePackage extends EPackage { * * @generated */ - String eNS_PREFIX = "ensurance"; + String eNS_PREFIX = "insurance"; /** * The singleton instance of the package. @@ -55,26 +55,26 @@ public interface EnsurancePackage extends EPackage { * * @generated */ - EnsurancePackage eINSTANCE = edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsurancePackageImpl.init(); + InsurancePackage eINSTANCE = edu.kit.ipd.sdq.metamodels.insurance.impl.InsurancePackageImpl.init(); /** - * The meta object id for the '{@link edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceDatabaseImpl Database}' class. + * The meta object id for the '{@link edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceDatabaseImpl Database}' class. * * - * @see edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceDatabaseImpl - * @see edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsurancePackageImpl#getEnsuranceDatabase() + * @see edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceDatabaseImpl + * @see edu.kit.ipd.sdq.metamodels.insurance.impl.InsurancePackageImpl#getInsuranceDatabase() * @generated */ - int ENSURANCE_DATABASE = 0; + int INSURANCE_DATABASE = 0; /** - * The feature id for the 'Ensuranceclient' containment reference list. + * The feature id for the 'Insuranceclient' containment reference list. * * * @generated * @ordered */ - int ENSURANCE_DATABASE__ENSURANCECLIENT = 0; + int INSURANCE_DATABASE__INSURANCECLIENT = 0; /** * The number of structural features of the 'Database' class. @@ -83,7 +83,7 @@ public interface EnsurancePackage extends EPackage { * @generated * @ordered */ - int ENSURANCE_DATABASE_FEATURE_COUNT = 1; + int INSURANCE_DATABASE_FEATURE_COUNT = 1; /** * The number of operations of the 'Database' class. @@ -92,17 +92,17 @@ public interface EnsurancePackage extends EPackage { * @generated * @ordered */ - int ENSURANCE_DATABASE_OPERATION_COUNT = 0; + int INSURANCE_DATABASE_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceClientImpl Client}' class. + * The meta object id for the '{@link edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceClientImpl Client}' class. * * - * @see edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceClientImpl - * @see edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsurancePackageImpl#getEnsuranceClient() + * @see edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceClientImpl + * @see edu.kit.ipd.sdq.metamodels.insurance.impl.InsurancePackageImpl#getInsuranceClient() * @generated */ - int ENSURANCE_CLIENT = 1; + int INSURANCE_CLIENT = 1; /** * The feature id for the 'Name' attribute. @@ -111,7 +111,7 @@ public interface EnsurancePackage extends EPackage { * @generated * @ordered */ - int ENSURANCE_CLIENT__NAME = 0; + int INSURANCE_CLIENT__NAME = 0; /** * The feature id for the 'Social Security Number' attribute. @@ -120,7 +120,7 @@ public interface EnsurancePackage extends EPackage { * @generated * @ordered */ - int ENSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER = 1; + int INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER = 1; /** * The number of structural features of the 'Client' class. @@ -129,7 +129,7 @@ public interface EnsurancePackage extends EPackage { * @generated * @ordered */ - int ENSURANCE_CLIENT_FEATURE_COUNT = 2; + int INSURANCE_CLIENT_FEATURE_COUNT = 2; /** * The number of operations of the 'Client' class. @@ -138,77 +138,77 @@ public interface EnsurancePackage extends EPackage { * @generated * @ordered */ - int ENSURANCE_CLIENT_OPERATION_COUNT = 0; + int INSURANCE_CLIENT_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link edu.kit.ipd.sdq.metamodels.ensurance.Sex Sex}' enum. + * The meta object id for the '{@link edu.kit.ipd.sdq.metamodels.insurance.Sex Sex}' enum. * * - * @see edu.kit.ipd.sdq.metamodels.ensurance.Sex - * @see edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsurancePackageImpl#getSex() + * @see edu.kit.ipd.sdq.metamodels.insurance.Sex + * @see edu.kit.ipd.sdq.metamodels.insurance.impl.InsurancePackageImpl#getSex() * @generated */ int SEX = 2; /** - * Returns the meta object for class '{@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase Database}'. + * Returns the meta object for class '{@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase Database}'. * * * @return the meta object for class 'Database'. - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase + * @see edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase * @generated */ - EClass getEnsuranceDatabase(); + EClass getInsuranceDatabase(); /** - * Returns the meta object for the containment reference list '{@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase#getEnsuranceclient Ensuranceclient}'. + * Returns the meta object for the containment reference list '{@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase#getInsuranceclient Insuranceclient}'. * * - * @return the meta object for the containment reference list 'Ensuranceclient'. - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase#getEnsuranceclient() - * @see #getEnsuranceDatabase() + * @return the meta object for the containment reference list 'Insuranceclient'. + * @see edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase#getInsuranceclient() + * @see #getInsuranceDatabase() * @generated */ - EReference getEnsuranceDatabase_Ensuranceclient(); + EReference getInsuranceDatabase_Insuranceclient(); /** - * Returns the meta object for class '{@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient Client}'. + * Returns the meta object for class '{@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient Client}'. * * * @return the meta object for class 'Client'. - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient + * @see edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient * @generated */ - EClass getEnsuranceClient(); + EClass getInsuranceClient(); /** - * Returns the meta object for the attribute '{@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient#getName Name}'. + * Returns the meta object for the attribute '{@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient#getName Name}'. * * * @return the meta object for the attribute 'Name'. - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient#getName() - * @see #getEnsuranceClient() + * @see edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient#getName() + * @see #getInsuranceClient() * @generated */ - EAttribute getEnsuranceClient_Name(); + EAttribute getInsuranceClient_Name(); /** - * Returns the meta object for the attribute '{@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient#getSocialSecurityNumber Social Security Number}'. + * Returns the meta object for the attribute '{@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient#getSocialSecurityNumber Social Security Number}'. * * * @return the meta object for the attribute 'Social Security Number'. - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient#getSocialSecurityNumber() - * @see #getEnsuranceClient() + * @see edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient#getSocialSecurityNumber() + * @see #getInsuranceClient() * @generated */ - EAttribute getEnsuranceClient_SocialSecurityNumber(); + EAttribute getInsuranceClient_SocialSecurityNumber(); /** - * Returns the meta object for enum '{@link edu.kit.ipd.sdq.metamodels.ensurance.Sex Sex}'. + * Returns the meta object for enum '{@link edu.kit.ipd.sdq.metamodels.insurance.Sex Sex}'. * * * @return the meta object for enum 'Sex'. - * @see edu.kit.ipd.sdq.metamodels.ensurance.Sex + * @see edu.kit.ipd.sdq.metamodels.insurance.Sex * @generated */ EEnum getSex(); @@ -220,7 +220,7 @@ public interface EnsurancePackage extends EPackage { * @return the factory that creates the instances of the model. * @generated */ - EnsuranceFactory getEnsuranceFactory(); + InsuranceFactory getInsuranceFactory(); /** * @@ -237,32 +237,32 @@ public interface EnsurancePackage extends EPackage { */ interface Literals { /** - * The meta object literal for the '{@link edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceDatabaseImpl Database}' class. + * The meta object literal for the '{@link edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceDatabaseImpl Database}' class. * * - * @see edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceDatabaseImpl - * @see edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsurancePackageImpl#getEnsuranceDatabase() + * @see edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceDatabaseImpl + * @see edu.kit.ipd.sdq.metamodels.insurance.impl.InsurancePackageImpl#getInsuranceDatabase() * @generated */ - EClass ENSURANCE_DATABASE = eINSTANCE.getEnsuranceDatabase(); + EClass INSURANCE_DATABASE = eINSTANCE.getInsuranceDatabase(); /** - * The meta object literal for the 'Ensuranceclient' containment reference list feature. + * The meta object literal for the 'Insuranceclient' containment reference list feature. * * * @generated */ - EReference ENSURANCE_DATABASE__ENSURANCECLIENT = eINSTANCE.getEnsuranceDatabase_Ensuranceclient(); + EReference INSURANCE_DATABASE__INSURANCECLIENT = eINSTANCE.getInsuranceDatabase_Insuranceclient(); /** - * The meta object literal for the '{@link edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceClientImpl Client}' class. + * The meta object literal for the '{@link edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceClientImpl Client}' class. * * - * @see edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceClientImpl - * @see edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsurancePackageImpl#getEnsuranceClient() + * @see edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceClientImpl + * @see edu.kit.ipd.sdq.metamodels.insurance.impl.InsurancePackageImpl#getInsuranceClient() * @generated */ - EClass ENSURANCE_CLIENT = eINSTANCE.getEnsuranceClient(); + EClass INSURANCE_CLIENT = eINSTANCE.getInsuranceClient(); /** * The meta object literal for the 'Name' attribute feature. @@ -270,7 +270,7 @@ interface Literals { * * @generated */ - EAttribute ENSURANCE_CLIENT__NAME = eINSTANCE.getEnsuranceClient_Name(); + EAttribute INSURANCE_CLIENT__NAME = eINSTANCE.getInsuranceClient_Name(); /** * The meta object literal for the 'Social Security Number' attribute feature. @@ -278,18 +278,18 @@ interface Literals { * * @generated */ - EAttribute ENSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER = eINSTANCE.getEnsuranceClient_SocialSecurityNumber(); + EAttribute INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER = eINSTANCE.getInsuranceClient_SocialSecurityNumber(); /** - * The meta object literal for the '{@link edu.kit.ipd.sdq.metamodels.ensurance.Sex Sex}' enum. + * The meta object literal for the '{@link edu.kit.ipd.sdq.metamodels.insurance.Sex Sex}' enum. * * - * @see edu.kit.ipd.sdq.metamodels.ensurance.Sex - * @see edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsurancePackageImpl#getSex() + * @see edu.kit.ipd.sdq.metamodels.insurance.Sex + * @see edu.kit.ipd.sdq.metamodels.insurance.impl.InsurancePackageImpl#getSex() * @generated */ EEnum SEX = eINSTANCE.getSex(); } -} //EnsurancePackage +} //InsurancePackage diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/Sex.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/Sex.java similarity index 97% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/Sex.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/Sex.java index c0d95cb..01f0205 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/Sex.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/Sex.java @@ -1,6 +1,6 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance; +package edu.kit.ipd.sdq.metamodels.insurance; import java.util.Arrays; import java.util.Collections; @@ -13,7 +13,7 @@ * A representation of the literals of the enumeration 'Sex', * and utility methods for working with them. * - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage#getSex() + * @see edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage#getSex() * @model * @generated */ diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsuranceClientImpl.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsuranceClientImpl.java similarity index 79% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsuranceClientImpl.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsuranceClientImpl.java index a9704b2..1524e34 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsuranceClientImpl.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsuranceClientImpl.java @@ -1,9 +1,9 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.impl; +package edu.kit.ipd.sdq.metamodels.insurance.impl; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage; +import edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient; +import edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage; import org.eclipse.emf.common.notify.Notification; @@ -20,13 +20,13 @@ * The following features are implemented: *

    *
      - *
    • {@link edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceClientImpl#getName Name}
    • - *
    • {@link edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceClientImpl#getSocialSecurityNumber Social Security Number}
    • + *
    • {@link edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceClientImpl#getName Name}
    • + *
    • {@link edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceClientImpl#getSocialSecurityNumber Social Security Number}
    • *
    * * @generated */ -public class EnsuranceClientImpl extends MinimalEObjectImpl.Container implements EnsuranceClient { +public class InsuranceClientImpl extends MinimalEObjectImpl.Container implements InsuranceClient { /** * The default value of the '{@link #getName() Name}' attribute. * @@ -72,7 +72,7 @@ public class EnsuranceClientImpl extends MinimalEObjectImpl.Container implements * * @generated */ - protected EnsuranceClientImpl() { + protected InsuranceClientImpl() { super(); } @@ -83,7 +83,7 @@ protected EnsuranceClientImpl() { */ @Override protected EClass eStaticClass() { - return EnsurancePackage.Literals.ENSURANCE_CLIENT; + return InsurancePackage.Literals.INSURANCE_CLIENT; } /** @@ -104,7 +104,7 @@ public void setName(String newName) { String oldName = name; name = newName; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EnsurancePackage.ENSURANCE_CLIENT__NAME, oldName, + eNotify(new ENotificationImpl(this, Notification.SET, InsurancePackage.INSURANCE_CLIENT__NAME, oldName, name)); } @@ -127,7 +127,7 @@ public void setSocialSecurityNumber(String newSocialSecurityNumber) { socialSecurityNumber = newSocialSecurityNumber; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, - EnsurancePackage.ENSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER, oldSocialSecurityNumber, + InsurancePackage.INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER, oldSocialSecurityNumber, socialSecurityNumber)); } @@ -139,9 +139,9 @@ public void setSocialSecurityNumber(String newSocialSecurityNumber) { @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case EnsurancePackage.ENSURANCE_CLIENT__NAME: + case InsurancePackage.INSURANCE_CLIENT__NAME: return getName(); - case EnsurancePackage.ENSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: + case InsurancePackage.INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: return getSocialSecurityNumber(); } return super.eGet(featureID, resolve, coreType); @@ -155,10 +155,10 @@ public Object eGet(int featureID, boolean resolve, boolean coreType) { @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case EnsurancePackage.ENSURANCE_CLIENT__NAME: + case InsurancePackage.INSURANCE_CLIENT__NAME: setName((String) newValue); return; - case EnsurancePackage.ENSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: + case InsurancePackage.INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: setSocialSecurityNumber((String) newValue); return; } @@ -173,10 +173,10 @@ public void eSet(int featureID, Object newValue) { @Override public void eUnset(int featureID) { switch (featureID) { - case EnsurancePackage.ENSURANCE_CLIENT__NAME: + case InsurancePackage.INSURANCE_CLIENT__NAME: setName(NAME_EDEFAULT); return; - case EnsurancePackage.ENSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: + case InsurancePackage.INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: setSocialSecurityNumber(SOCIAL_SECURITY_NUMBER_EDEFAULT); return; } @@ -191,9 +191,9 @@ public void eUnset(int featureID) { @Override public boolean eIsSet(int featureID) { switch (featureID) { - case EnsurancePackage.ENSURANCE_CLIENT__NAME: + case InsurancePackage.INSURANCE_CLIENT__NAME: return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case EnsurancePackage.ENSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: + case InsurancePackage.INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER: return SOCIAL_SECURITY_NUMBER_EDEFAULT == null ? socialSecurityNumber != null : !SOCIAL_SECURITY_NUMBER_EDEFAULT.equals(socialSecurityNumber); } @@ -219,4 +219,4 @@ public String toString() { return result.toString(); } -} //EnsuranceClientImpl +} //InsuranceClientImpl diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsuranceDatabaseImpl.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsuranceDatabaseImpl.java similarity index 58% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsuranceDatabaseImpl.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsuranceDatabaseImpl.java index d52f433..8e967f0 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsuranceDatabaseImpl.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsuranceDatabaseImpl.java @@ -1,10 +1,10 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.impl; +package edu.kit.ipd.sdq.metamodels.insurance.impl; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage; +import edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient; +import edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase; +import edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage; import java.util.Collection; @@ -28,28 +28,28 @@ * The following features are implemented: *

    *
      - *
    • {@link edu.kit.ipd.sdq.metamodels.ensurance.impl.EnsuranceDatabaseImpl#getEnsuranceclient Ensuranceclient}
    • + *
    • {@link edu.kit.ipd.sdq.metamodels.insurance.impl.InsuranceDatabaseImpl#getInsuranceclient Insuranceclient}
    • *
    * * @generated */ -public class EnsuranceDatabaseImpl extends MinimalEObjectImpl.Container implements EnsuranceDatabase { +public class InsuranceDatabaseImpl extends MinimalEObjectImpl.Container implements InsuranceDatabase { /** - * The cached value of the '{@link #getEnsuranceclient() Ensuranceclient}' containment reference list. + * The cached value of the '{@link #getInsuranceclient() Insuranceclient}' containment reference list. * * - * @see #getEnsuranceclient() + * @see #getInsuranceclient() * @generated * @ordered */ - protected EList ensuranceclient; + protected EList insuranceclient; /** * * * @generated */ - protected EnsuranceDatabaseImpl() { + protected InsuranceDatabaseImpl() { super(); } @@ -60,7 +60,7 @@ protected EnsuranceDatabaseImpl() { */ @Override protected EClass eStaticClass() { - return EnsurancePackage.Literals.ENSURANCE_DATABASE; + return InsurancePackage.Literals.INSURANCE_DATABASE; } /** @@ -68,12 +68,12 @@ protected EClass eStaticClass() { * * @generated */ - public EList getEnsuranceclient() { - if (ensuranceclient == null) { - ensuranceclient = new EObjectContainmentEList(EnsuranceClient.class, this, - EnsurancePackage.ENSURANCE_DATABASE__ENSURANCECLIENT); + public EList getInsuranceclient() { + if (insuranceclient == null) { + insuranceclient = new EObjectContainmentEList(InsuranceClient.class, this, + InsurancePackage.INSURANCE_DATABASE__INSURANCECLIENT); } - return ensuranceclient; + return insuranceclient; } /** @@ -84,8 +84,8 @@ public EList getEnsuranceclient() { @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case EnsurancePackage.ENSURANCE_DATABASE__ENSURANCECLIENT: - return ((InternalEList) getEnsuranceclient()).basicRemove(otherEnd, msgs); + case InsurancePackage.INSURANCE_DATABASE__INSURANCECLIENT: + return ((InternalEList) getInsuranceclient()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -98,8 +98,8 @@ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case EnsurancePackage.ENSURANCE_DATABASE__ENSURANCECLIENT: - return getEnsuranceclient(); + case InsurancePackage.INSURANCE_DATABASE__INSURANCECLIENT: + return getInsuranceclient(); } return super.eGet(featureID, resolve, coreType); } @@ -113,9 +113,9 @@ public Object eGet(int featureID, boolean resolve, boolean coreType) { @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case EnsurancePackage.ENSURANCE_DATABASE__ENSURANCECLIENT: - getEnsuranceclient().clear(); - getEnsuranceclient().addAll((Collection) newValue); + case InsurancePackage.INSURANCE_DATABASE__INSURANCECLIENT: + getInsuranceclient().clear(); + getInsuranceclient().addAll((Collection) newValue); return; } super.eSet(featureID, newValue); @@ -129,8 +129,8 @@ public void eSet(int featureID, Object newValue) { @Override public void eUnset(int featureID) { switch (featureID) { - case EnsurancePackage.ENSURANCE_DATABASE__ENSURANCECLIENT: - getEnsuranceclient().clear(); + case InsurancePackage.INSURANCE_DATABASE__INSURANCECLIENT: + getInsuranceclient().clear(); return; } super.eUnset(featureID); @@ -144,10 +144,10 @@ public void eUnset(int featureID) { @Override public boolean eIsSet(int featureID) { switch (featureID) { - case EnsurancePackage.ENSURANCE_DATABASE__ENSURANCECLIENT: - return ensuranceclient != null && !ensuranceclient.isEmpty(); + case InsurancePackage.INSURANCE_DATABASE__INSURANCECLIENT: + return insuranceclient != null && !insuranceclient.isEmpty(); } return super.eIsSet(featureID); } -} //EnsuranceDatabaseImpl +} //InsuranceDatabaseImpl diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsuranceFactoryImpl.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsuranceFactoryImpl.java similarity index 70% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsuranceFactoryImpl.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsuranceFactoryImpl.java index 391670d..deb94a5 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsuranceFactoryImpl.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsuranceFactoryImpl.java @@ -1,8 +1,8 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.impl; +package edu.kit.ipd.sdq.metamodels.insurance.impl; -import edu.kit.ipd.sdq.metamodels.ensurance.*; +import edu.kit.ipd.sdq.metamodels.insurance.*; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EDataType; @@ -19,24 +19,24 @@ * * @generated */ -public class EnsuranceFactoryImpl extends EFactoryImpl implements EnsuranceFactory { +public class InsuranceFactoryImpl extends EFactoryImpl implements InsuranceFactory { /** * Creates the default factory implementation. * * * @generated */ - public static EnsuranceFactory init() { + public static InsuranceFactory init() { try { - EnsuranceFactory theEnsuranceFactory = (EnsuranceFactory) EPackage.Registry.INSTANCE - .getEFactory(EnsurancePackage.eNS_URI); - if (theEnsuranceFactory != null) { - return theEnsuranceFactory; + InsuranceFactory theInsuranceFactory = (InsuranceFactory) EPackage.Registry.INSTANCE + .getEFactory(InsurancePackage.eNS_URI); + if (theInsuranceFactory != null) { + return theInsuranceFactory; } } catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } - return new EnsuranceFactoryImpl(); + return new InsuranceFactoryImpl(); } /** @@ -45,7 +45,7 @@ public static EnsuranceFactory init() { * * @generated */ - public EnsuranceFactoryImpl() { + public InsuranceFactoryImpl() { super(); } @@ -57,10 +57,10 @@ public EnsuranceFactoryImpl() { @Override public EObject create(EClass eClass) { switch (eClass.getClassifierID()) { - case EnsurancePackage.ENSURANCE_DATABASE: - return createEnsuranceDatabase(); - case EnsurancePackage.ENSURANCE_CLIENT: - return createEnsuranceClient(); + case InsurancePackage.INSURANCE_DATABASE: + return createInsuranceDatabase(); + case InsurancePackage.INSURANCE_CLIENT: + return createInsuranceClient(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } @@ -74,7 +74,7 @@ public EObject create(EClass eClass) { @Override public Object createFromString(EDataType eDataType, String initialValue) { switch (eDataType.getClassifierID()) { - case EnsurancePackage.SEX: + case InsurancePackage.SEX: return createSexFromString(eDataType, initialValue); default: throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); @@ -89,7 +89,7 @@ public Object createFromString(EDataType eDataType, String initialValue) { @Override public String convertToString(EDataType eDataType, Object instanceValue) { switch (eDataType.getClassifierID()) { - case EnsurancePackage.SEX: + case InsurancePackage.SEX: return convertSexToString(eDataType, instanceValue); default: throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); @@ -101,9 +101,9 @@ public String convertToString(EDataType eDataType, Object instanceValue) { * * @generated */ - public EnsuranceDatabase createEnsuranceDatabase() { - EnsuranceDatabaseImpl ensuranceDatabase = new EnsuranceDatabaseImpl(); - return ensuranceDatabase; + public InsuranceDatabase createInsuranceDatabase() { + InsuranceDatabaseImpl insuranceDatabase = new InsuranceDatabaseImpl(); + return insuranceDatabase; } /** @@ -111,9 +111,9 @@ public EnsuranceDatabase createEnsuranceDatabase() { * * @generated */ - public EnsuranceClient createEnsuranceClient() { - EnsuranceClientImpl ensuranceClient = new EnsuranceClientImpl(); - return ensuranceClient; + public InsuranceClient createInsuranceClient() { + InsuranceClientImpl insuranceClient = new InsuranceClientImpl(); + return insuranceClient; } /** @@ -143,8 +143,8 @@ public String convertSexToString(EDataType eDataType, Object instanceValue) { * * @generated */ - public EnsurancePackage getEnsurancePackage() { - return (EnsurancePackage) getEPackage(); + public InsurancePackage getInsurancePackage() { + return (InsurancePackage) getEPackage(); } /** @@ -154,8 +154,8 @@ public EnsurancePackage getEnsurancePackage() { * @generated */ @Deprecated - public static EnsurancePackage getPackage() { - return EnsurancePackage.eINSTANCE; + public static InsurancePackage getPackage() { + return InsurancePackage.eINSTANCE; } -} //EnsuranceFactoryImpl +} //InsuranceFactoryImpl diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsurancePackageImpl.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsurancePackageImpl.java similarity index 61% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsurancePackageImpl.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsurancePackageImpl.java index 37e6f71..f72a458 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/impl/EnsurancePackageImpl.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/impl/InsurancePackageImpl.java @@ -1,12 +1,12 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.impl; +package edu.kit.ipd.sdq.metamodels.insurance.impl; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceFactory; -import edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage; -import edu.kit.ipd.sdq.metamodels.ensurance.Sex; +import edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient; +import edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase; +import edu.kit.ipd.sdq.metamodels.insurance.InsuranceFactory; +import edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage; +import edu.kit.ipd.sdq.metamodels.insurance.Sex; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; @@ -22,20 +22,20 @@ * * @generated */ -public class EnsurancePackageImpl extends EPackageImpl implements EnsurancePackage { +public class InsurancePackageImpl extends EPackageImpl implements InsurancePackage { /** * * * @generated */ - private EClass ensuranceDatabaseEClass = null; + private EClass insuranceDatabaseEClass = null; /** * * * @generated */ - private EClass ensuranceClientEClass = null; + private EClass insuranceClientEClass = null; /** * @@ -55,12 +55,12 @@ public class EnsurancePackageImpl extends EPackageImpl implements EnsurancePacka * * * @see org.eclipse.emf.ecore.EPackage.Registry - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage#eNS_URI + * @see edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage#eNS_URI * @see #init() * @generated */ - private EnsurancePackageImpl() { - super(eNS_URI, EnsuranceFactory.eINSTANCE); + private InsurancePackageImpl() { + super(eNS_URI, InsuranceFactory.eINSTANCE); } /** @@ -73,7 +73,7 @@ private EnsurancePackageImpl() { /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

    This method is used to initialize {@link EnsurancePackage#eINSTANCE} when that field is accessed. + *

    This method is used to initialize {@link InsurancePackage#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * * @@ -82,30 +82,30 @@ private EnsurancePackageImpl() { * @see #initializePackageContents() * @generated */ - public static EnsurancePackage init() { + public static InsurancePackage init() { if (isInited) - return (EnsurancePackage) EPackage.Registry.INSTANCE.getEPackage(EnsurancePackage.eNS_URI); + return (InsurancePackage) EPackage.Registry.INSTANCE.getEPackage(InsurancePackage.eNS_URI); // Obtain or create and register package - Object registeredEnsurancePackage = EPackage.Registry.INSTANCE.get(eNS_URI); - EnsurancePackageImpl theEnsurancePackage = registeredEnsurancePackage instanceof EnsurancePackageImpl - ? (EnsurancePackageImpl) registeredEnsurancePackage - : new EnsurancePackageImpl(); + Object registeredInsurancePackage = EPackage.Registry.INSTANCE.get(eNS_URI); + InsurancePackageImpl theInsurancePackage = registeredInsurancePackage instanceof InsurancePackageImpl + ? (InsurancePackageImpl) registeredInsurancePackage + : new InsurancePackageImpl(); isInited = true; // Create package meta-data objects - theEnsurancePackage.createPackageContents(); + theInsurancePackage.createPackageContents(); // Initialize created meta-data - theEnsurancePackage.initializePackageContents(); + theInsurancePackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed - theEnsurancePackage.freeze(); + theInsurancePackage.freeze(); // Update the registry and return the package - EPackage.Registry.INSTANCE.put(EnsurancePackage.eNS_URI, theEnsurancePackage); - return theEnsurancePackage; + EPackage.Registry.INSTANCE.put(InsurancePackage.eNS_URI, theInsurancePackage); + return theInsurancePackage; } /** @@ -113,8 +113,8 @@ public static EnsurancePackage init() { * * @generated */ - public EClass getEnsuranceDatabase() { - return ensuranceDatabaseEClass; + public EClass getInsuranceDatabase() { + return insuranceDatabaseEClass; } /** @@ -122,8 +122,8 @@ public EClass getEnsuranceDatabase() { * * @generated */ - public EReference getEnsuranceDatabase_Ensuranceclient() { - return (EReference) ensuranceDatabaseEClass.getEStructuralFeatures().get(0); + public EReference getInsuranceDatabase_Insuranceclient() { + return (EReference) insuranceDatabaseEClass.getEStructuralFeatures().get(0); } /** @@ -131,8 +131,8 @@ public EReference getEnsuranceDatabase_Ensuranceclient() { * * @generated */ - public EClass getEnsuranceClient() { - return ensuranceClientEClass; + public EClass getInsuranceClient() { + return insuranceClientEClass; } /** @@ -140,8 +140,8 @@ public EClass getEnsuranceClient() { * * @generated */ - public EAttribute getEnsuranceClient_Name() { - return (EAttribute) ensuranceClientEClass.getEStructuralFeatures().get(0); + public EAttribute getInsuranceClient_Name() { + return (EAttribute) insuranceClientEClass.getEStructuralFeatures().get(0); } /** @@ -149,8 +149,8 @@ public EAttribute getEnsuranceClient_Name() { * * @generated */ - public EAttribute getEnsuranceClient_SocialSecurityNumber() { - return (EAttribute) ensuranceClientEClass.getEStructuralFeatures().get(1); + public EAttribute getInsuranceClient_SocialSecurityNumber() { + return (EAttribute) insuranceClientEClass.getEStructuralFeatures().get(1); } /** @@ -167,8 +167,8 @@ public EEnum getSex() { * * @generated */ - public EnsuranceFactory getEnsuranceFactory() { - return (EnsuranceFactory) getEFactoryInstance(); + public InsuranceFactory getInsuranceFactory() { + return (InsuranceFactory) getEFactoryInstance(); } /** @@ -191,12 +191,12 @@ public void createPackageContents() { isCreated = true; // Create classes and their features - ensuranceDatabaseEClass = createEClass(ENSURANCE_DATABASE); - createEReference(ensuranceDatabaseEClass, ENSURANCE_DATABASE__ENSURANCECLIENT); + insuranceDatabaseEClass = createEClass(INSURANCE_DATABASE); + createEReference(insuranceDatabaseEClass, INSURANCE_DATABASE__INSURANCECLIENT); - ensuranceClientEClass = createEClass(ENSURANCE_CLIENT); - createEAttribute(ensuranceClientEClass, ENSURANCE_CLIENT__NAME); - createEAttribute(ensuranceClientEClass, ENSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER); + insuranceClientEClass = createEClass(INSURANCE_CLIENT); + createEAttribute(insuranceClientEClass, INSURANCE_CLIENT__NAME); + createEAttribute(insuranceClientEClass, INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER); // Create enums sexEEnum = createEEnum(SEX); @@ -233,18 +233,18 @@ public void initializePackageContents() { // Add supertypes to classes // Initialize classes, features, and operations; add parameters - initEClass(ensuranceDatabaseEClass, EnsuranceDatabase.class, "EnsuranceDatabase", !IS_ABSTRACT, !IS_INTERFACE, + initEClass(insuranceDatabaseEClass, InsuranceDatabase.class, "InsuranceDatabase", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getEnsuranceDatabase_Ensuranceclient(), this.getEnsuranceClient(), null, "ensuranceclient", null, - 0, -1, EnsuranceDatabase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + initEReference(getInsuranceDatabase_Insuranceclient(), this.getInsuranceClient(), null, "insuranceclient", null, + 0, -1, InsuranceDatabase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEClass(ensuranceClientEClass, EnsuranceClient.class, "EnsuranceClient", !IS_ABSTRACT, !IS_INTERFACE, + initEClass(insuranceClientEClass, InsuranceClient.class, "InsuranceClient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEnsuranceClient_Name(), ecorePackage.getEString(), "name", null, 0, 1, EnsuranceClient.class, + initEAttribute(getInsuranceClient_Name(), ecorePackage.getEString(), "name", null, 0, 1, InsuranceClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEnsuranceClient_SocialSecurityNumber(), ecorePackage.getEString(), "socialSecurityNumber", - null, 0, 1, EnsuranceClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + initEAttribute(getInsuranceClient_SocialSecurityNumber(), ecorePackage.getEString(), "socialSecurityNumber", + null, 0, 1, InsuranceClient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize enums and add enum literals @@ -256,4 +256,4 @@ public void initializePackageContents() { createResource(eNS_URI); } -} //EnsurancePackageImpl +} //InsurancePackageImpl diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/util/EnsuranceAdapterFactory.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/util/InsuranceAdapterFactory.java similarity index 74% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/util/EnsuranceAdapterFactory.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/util/InsuranceAdapterFactory.java index f942895..9b86bf6 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/util/EnsuranceAdapterFactory.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/util/InsuranceAdapterFactory.java @@ -1,8 +1,8 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.util; +package edu.kit.ipd.sdq.metamodels.insurance.util; -import edu.kit.ipd.sdq.metamodels.ensurance.*; +import edu.kit.ipd.sdq.metamodels.insurance.*; import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notifier; @@ -16,17 +16,17 @@ * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage + * @see edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage * @generated */ -public class EnsuranceAdapterFactory extends AdapterFactoryImpl { +public class InsuranceAdapterFactory extends AdapterFactoryImpl { /** * The cached model package. * * * @generated */ - protected static EnsurancePackage modelPackage; + protected static InsurancePackage modelPackage; /** * Creates an instance of the adapter factory. @@ -34,9 +34,9 @@ public class EnsuranceAdapterFactory extends AdapterFactoryImpl { * * @generated */ - public EnsuranceAdapterFactory() { + public InsuranceAdapterFactory() { if (modelPackage == null) { - modelPackage = EnsurancePackage.eINSTANCE; + modelPackage = InsurancePackage.eINSTANCE; } } @@ -65,15 +65,15 @@ public boolean isFactoryForType(Object object) { * * @generated */ - protected EnsuranceSwitch modelSwitch = new EnsuranceSwitch() { + protected InsuranceSwitch modelSwitch = new InsuranceSwitch() { @Override - public Adapter caseEnsuranceDatabase(EnsuranceDatabase object) { - return createEnsuranceDatabaseAdapter(); + public Adapter caseInsuranceDatabase(InsuranceDatabase object) { + return createInsuranceDatabaseAdapter(); } @Override - public Adapter caseEnsuranceClient(EnsuranceClient object) { - return createEnsuranceClientAdapter(); + public Adapter caseInsuranceClient(InsuranceClient object) { + return createInsuranceClientAdapter(); } @Override @@ -96,30 +96,30 @@ public Adapter createAdapter(Notifier target) { } /** - * Creates a new adapter for an object of class '{@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase Database}'. + * Creates a new adapter for an object of class '{@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase Database}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceDatabase + * @see edu.kit.ipd.sdq.metamodels.insurance.InsuranceDatabase * @generated */ - public Adapter createEnsuranceDatabaseAdapter() { + public Adapter createInsuranceDatabaseAdapter() { return null; } /** - * Creates a new adapter for an object of class '{@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient Client}'. + * Creates a new adapter for an object of class '{@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient Client}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient + * @see edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient * @generated */ - public Adapter createEnsuranceClientAdapter() { + public Adapter createInsuranceClientAdapter() { return null; } @@ -135,4 +135,4 @@ public Adapter createEObjectAdapter() { return null; } -} //EnsuranceAdapterFactory +} //InsuranceAdapterFactory diff --git a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/util/EnsuranceSwitch.java b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/util/InsuranceSwitch.java similarity index 80% rename from bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/util/EnsuranceSwitch.java rename to bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/util/InsuranceSwitch.java index 38115c7..1beb708 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.ensurance/src-gen/edu/kit/ipd/sdq/metamodels/ensurance/util/EnsuranceSwitch.java +++ b/bundles/edu.kit.ipd.sdq.metamodels.insurance/src-gen/edu/kit/ipd/sdq/metamodels/insurance/util/InsuranceSwitch.java @@ -1,8 +1,8 @@ /** */ -package edu.kit.ipd.sdq.metamodels.ensurance.util; +package edu.kit.ipd.sdq.metamodels.insurance.util; -import edu.kit.ipd.sdq.metamodels.ensurance.*; +import edu.kit.ipd.sdq.metamodels.insurance.*; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; @@ -19,17 +19,17 @@ * until a non-null result is returned, * which is the result of the switch. * - * @see edu.kit.ipd.sdq.metamodels.ensurance.EnsurancePackage + * @see edu.kit.ipd.sdq.metamodels.insurance.InsurancePackage * @generated */ -public class EnsuranceSwitch extends Switch { +public class InsuranceSwitch extends Switch { /** * The cached model package * * * @generated */ - protected static EnsurancePackage modelPackage; + protected static InsurancePackage modelPackage; /** * Creates an instance of the switch. @@ -37,9 +37,9 @@ public class EnsuranceSwitch extends Switch { * * @generated */ - public EnsuranceSwitch() { + public InsuranceSwitch() { if (modelPackage == null) { - modelPackage = EnsurancePackage.eINSTANCE; + modelPackage = InsurancePackage.eINSTANCE; } } @@ -66,16 +66,16 @@ protected boolean isSwitchFor(EPackage ePackage) { @Override protected T doSwitch(int classifierID, EObject theEObject) { switch (classifierID) { - case EnsurancePackage.ENSURANCE_DATABASE: { - EnsuranceDatabase ensuranceDatabase = (EnsuranceDatabase) theEObject; - T result = caseEnsuranceDatabase(ensuranceDatabase); + case InsurancePackage.INSURANCE_DATABASE: { + InsuranceDatabase insuranceDatabase = (InsuranceDatabase) theEObject; + T result = caseInsuranceDatabase(insuranceDatabase); if (result == null) result = defaultCase(theEObject); return result; } - case EnsurancePackage.ENSURANCE_CLIENT: { - EnsuranceClient ensuranceClient = (EnsuranceClient) theEObject; - T result = caseEnsuranceClient(ensuranceClient); + case InsurancePackage.INSURANCE_CLIENT: { + InsuranceClient insuranceClient = (InsuranceClient) theEObject; + T result = caseInsuranceClient(insuranceClient); if (result == null) result = defaultCase(theEObject); return result; @@ -96,7 +96,7 @@ protected T doSwitch(int classifierID, EObject theEObject) { * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseEnsuranceDatabase(EnsuranceDatabase object) { + public T caseInsuranceDatabase(InsuranceDatabase object) { return null; } @@ -111,7 +111,7 @@ public T caseEnsuranceDatabase(EnsuranceDatabase object) { * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseEnsuranceClient(EnsuranceClient object) { + public T caseInsuranceClient(InsuranceClient object) { return null; } @@ -131,4 +131,4 @@ public T defaultCase(EObject object) { return null; } -} //EnsuranceSwitch +} //InsuranceSwitch diff --git a/features/edu.kit.ipd.sdq.metamodels.ensurance.feature/.project b/features/edu.kit.ipd.sdq.metamodels.insurance.feature/.project similarity index 85% rename from features/edu.kit.ipd.sdq.metamodels.ensurance.feature/.project rename to features/edu.kit.ipd.sdq.metamodels.insurance.feature/.project index ee5be99..76e4f2e 100644 --- a/features/edu.kit.ipd.sdq.metamodels.ensurance.feature/.project +++ b/features/edu.kit.ipd.sdq.metamodels.insurance.feature/.project @@ -1,6 +1,6 @@ - edu.kit.ipd.sdq.metamodels.ensurance.feature + edu.kit.ipd.sdq.metamodels.insurance.feature diff --git a/features/edu.kit.ipd.sdq.metamodels.ensurance.feature/build.properties b/features/edu.kit.ipd.sdq.metamodels.insurance.feature/build.properties similarity index 100% rename from features/edu.kit.ipd.sdq.metamodels.ensurance.feature/build.properties rename to features/edu.kit.ipd.sdq.metamodels.insurance.feature/build.properties diff --git a/features/edu.kit.ipd.sdq.metamodels.ensurance.feature/epl-v10.html b/features/edu.kit.ipd.sdq.metamodels.insurance.feature/epl-v10.html similarity index 100% rename from features/edu.kit.ipd.sdq.metamodels.ensurance.feature/epl-v10.html rename to features/edu.kit.ipd.sdq.metamodels.insurance.feature/epl-v10.html diff --git a/features/edu.kit.ipd.sdq.metamodels.ensurance.feature/feature.properties b/features/edu.kit.ipd.sdq.metamodels.insurance.feature/feature.properties similarity index 98% rename from features/edu.kit.ipd.sdq.metamodels.ensurance.feature/feature.properties rename to features/edu.kit.ipd.sdq.metamodels.insurance.feature/feature.properties index 137820a..5879b48 100644 --- a/features/edu.kit.ipd.sdq.metamodels.ensurance.feature/feature.properties +++ b/features/edu.kit.ipd.sdq.metamodels.insurance.feature/feature.properties @@ -1,5 +1,5 @@ -featureName=Ensurance Metamodel -description=A simple metamodel for an ensurance database +featureName=Insurance Metamodel +description=A simple metamodel for an insurance database providerName=KIT SDQ copyrightURL=https://sdqweb.ipd.kit.edu/ copyright=\ diff --git a/features/edu.kit.ipd.sdq.metamodels.ensurance.feature/feature.xml b/features/edu.kit.ipd.sdq.metamodels.insurance.feature/feature.xml similarity index 80% rename from features/edu.kit.ipd.sdq.metamodels.ensurance.feature/feature.xml rename to features/edu.kit.ipd.sdq.metamodels.insurance.feature/feature.xml index cce61f4..51a6d0b 100644 --- a/features/edu.kit.ipd.sdq.metamodels.ensurance.feature/feature.xml +++ b/features/edu.kit.ipd.sdq.metamodels.insurance.feature/feature.xml @@ -1,6 +1,6 @@ @@ -23,21 +23,21 @@ ../../bundles/edu.kit.ipd.sdq.metamodels.addresses ../../bundles/edu.kit.ipd.sdq.metamodels.addresses.edit ../../bundles/edu.kit.ipd.sdq.metamodels.addresses.editor - ../../bundles/edu.kit.ipd.sdq.metamodels.ensurance - ../../bundles/edu.kit.ipd.sdq.metamodels.ensurance.edit - ../../bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor + ../../bundles/edu.kit.ipd.sdq.metamodels.insurance + ../../bundles/edu.kit.ipd.sdq.metamodels.insurance.edit + ../../bundles/edu.kit.ipd.sdq.metamodels.insurance.editor ../../bundles/edu.kit.ipd.sdq.metamodels.recipients ../../bundles/edu.kit.ipd.sdq.metamodels.recipients.edit ../../bundles/edu.kit.ipd.sdq.metamodels.recipients.editor @@ -27,7 +27,7 @@ ../../bundles/edu.kit.ipd.sdq.metamodels.persons.edit ../../bundles/edu.kit.ipd.sdq.metamodels.persons.editor ../../features/edu.kit.ipd.sdq.metamodels.addresses.feature - ../../features/edu.kit.ipd.sdq.metamodels.ensurance.feature + ../../features/edu.kit.ipd.sdq.metamodels.insurance.feature ../../features/edu.kit.ipd.sdq.metamodels.recipients.feature ../../features/edu.kit.ipd.sdq.metamodels.families.feature ../../features/edu.kit.ipd.sdq.metamodels.persons.feature diff --git a/releng/edu.kit.ipd.sdq.metamodels.demo.updatesite/category.xml b/releng/edu.kit.ipd.sdq.metamodels.demo.updatesite/category.xml index 79a1c06..76d869b 100644 --- a/releng/edu.kit.ipd.sdq.metamodels.demo.updatesite/category.xml +++ b/releng/edu.kit.ipd.sdq.metamodels.demo.updatesite/category.xml @@ -24,10 +24,10 @@ - + - +