Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct naming from ensurance to insurance #8

Merged
merged 1 commit into from
Mar 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions bundles/edu.kit.ipd.sdq.metamodels.ensurance.editor/plugin.xml

This file was deleted.

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions bundles/edu.kit.ipd.sdq.metamodels.ensurance/plugin.xml

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>edu.kit.ipd.sdq.metamodels.ensurance.edit</name>
<name>edu.kit.ipd.sdq.metamodels.insurance.edit</name>
<comment></comment>
<projects>
</projects>
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#

pluginName = Ensurance Edit Support
pluginName = Insurance Edit Support
providerName = KIT SDQ

_UI_CreateChild_text = {0}
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<plugin>

<extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
<!-- @generated ensurance -->
<!-- @generated insurance -->
<factory
uri="edu.kit.ipd.sdq.metamodels.ensurance"
class="edu.kit.ipd.sdq.metamodels.ensurance.provider.EnsuranceItemProviderAdapterFactory"
uri="edu.kit.ipd.sdq.metamodels.insurance"
class="edu.kit.ipd.sdq.metamodels.insurance.provider.InsuranceItemProviderAdapterFactory"
supportedTypes=
"org.eclipse.emf.edit.provider.IEditingDomainItemProvider
org.eclipse.emf.edit.provider.IStructuredItemContentProvider
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
*/
package edu.kit.ipd.sdq.metamodels.ensurance.provider;
package edu.kit.ipd.sdq.metamodels.insurance.provider;

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 java.util.Collection;
import java.util.List;
Expand All @@ -25,20 +25,20 @@
import org.eclipse.emf.edit.provider.ViewerNotification;

/**
* This is the item provider adapter for a {@link edu.kit.ipd.sdq.metamodels.ensurance.EnsuranceClient} object.
* This is the item provider adapter for a {@link edu.kit.ipd.sdq.metamodels.insurance.InsuranceClient} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public class EnsuranceClientItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
public class InsuranceClientItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EnsuranceClientItemProvider(AdapterFactory adapterFactory) {
public InsuranceClientItemProvider(AdapterFactory adapterFactory) {
super(adapterFactory);
}

Expand Down Expand Up @@ -68,10 +68,10 @@ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
protected void addNamePropertyDescriptor(Object object) {
itemPropertyDescriptors
.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
getResourceLocator(), getString("_UI_EnsuranceClient_name_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_EnsuranceClient_name_feature",
"_UI_EnsuranceClient_type"),
EnsurancePackage.Literals.ENSURANCE_CLIENT__NAME, true, false, false,
getResourceLocator(), getString("_UI_InsuranceClient_name_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_InsuranceClient_name_feature",
"_UI_InsuranceClient_type"),
InsurancePackage.Literals.INSURANCE_CLIENT__NAME, true, false, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}

Expand All @@ -84,22 +84,22 @@ protected void addNamePropertyDescriptor(Object object) {
protected void addSocialSecurityNumberPropertyDescriptor(Object object) {
itemPropertyDescriptors.add(createItemPropertyDescriptor(
((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(),
getString("_UI_EnsuranceClient_socialSecurityNumber_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_EnsuranceClient_socialSecurityNumber_feature",
"_UI_EnsuranceClient_type"),
EnsurancePackage.Literals.ENSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER, true, false, false,
getString("_UI_InsuranceClient_socialSecurityNumber_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_InsuranceClient_socialSecurityNumber_feature",
"_UI_InsuranceClient_type"),
InsurancePackage.Literals.INSURANCE_CLIENT__SOCIAL_SECURITY_NUMBER, true, false, false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}

/**
* This returns EnsuranceClient.gif.
* This returns InsuranceClient.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object getImage(Object object) {
return overlayImage(object, getResourceLocator().getImage("full/obj16/EnsuranceClient"));
return overlayImage(object, getResourceLocator().getImage("full/obj16/InsuranceClient"));
}

/**
Expand All @@ -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;
}

/**
Expand All @@ -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;
}
Expand All @@ -165,7 +165,7 @@ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors
*/
@Override
public ResourceLocator getResourceLocator() {
return EnsuranceEditPlugin.INSTANCE;
return InsuranceEditPlugin.INSTANCE;
}

}
Loading