Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2013-12-15 05:02:08 -0500
committerMartin Taal2013-12-15 05:02:08 -0500
commit25c507c89dc90c90243d03f6d6d90cf0c40fc653 (patch)
treeed089ba16d305e2f4ce9bc6e10562423e3d868f1
parentc0ed70500b62d418966acd52e624f812a2463230 (diff)
downloadorg.eclipse.emf.texo-25c507c89dc90c90243d03f6d6d90cf0c40fc653.tar.gz
org.eclipse.emf.texo-25c507c89dc90c90243d03f6d6d90cf0c40fc653.tar.xz
org.eclipse.emf.texo-25c507c89dc90c90243d03f6d6d90cf0c40fc653.zip
Re-organized imports of generated EMF code
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/AdditionalCriteriaItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ArrayItemProvider.java5
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/BatchFetchItemProvider.java4
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/CascadeTypeItemProvider.java2
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ClassExtractorItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/Eclipselink_ormEditPlugin.java1
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/FetchAttributeItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/FetchGroupItemProvider.java4
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/HashPartitioningItemProvider.java4
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/IndexItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/MultitenantItemProvider.java4
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedPlsqlStoredFunctionQueryItemProvider.java4
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedPlsqlStoredProcedureQueryItemProvider.java4
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedStoredFunctionQueryItemProvider.java4
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PartitioningItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PinnedPartitioningItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlParameterItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlRecordItemProvider.java4
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlTableItemProvider.java3
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PrimaryKeyItemProvider.java1
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RangePartitionItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RangePartitioningItemProvider.java4
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ReplicationPartitioningItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ReturnInsertItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RoundRobinPartitioningItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/StructItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/StructureItemProvider.java4
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/TenantDiscriminatorItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/UnionPartitioningItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ValuePartitionItemProvider.java3
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ValuePartitioningItemProvider.java4
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EAttributeORMAnnotationItemProvider.java256
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EClassORMAnnotationItemProvider.java218
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EDataTypeORMAnnotationItemProvider.java234
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EEnumORMAnnotationItemProvider.java314
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EPackageORMAnnotationItemProvider.java400
-rw-r--r--generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EReferenceORMAnnotationItemProvider.java502
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/OrmannotationsItemProviderAdapterFactory.java216
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/TexoannotationsormEditPlugin.java93
-rw-r--r--generator/org.eclipse.emf.texo.orm/META-INF/MANIFEST.MF2
-rw-r--r--generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel2
-rw-r--r--generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.genmodel5
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/plugin.xml14
43 files changed, 1166 insertions, 1191 deletions
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/AdditionalCriteriaItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/AdditionalCriteriaItemProvider.java
index 60ba5a5b..6de00356 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/AdditionalCriteriaItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/AdditionalCriteriaItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.AdditionalCriteria;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ArrayItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ArrayItemProvider.java
index fba607f5..5f8825b3 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ArrayItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ArrayItemProvider.java
@@ -12,13 +12,9 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.ecore.util.FeatureMapUtil;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -29,7 +25,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.Array;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/BatchFetchItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/BatchFetchItemProvider.java
index 35c10109..33ae8591 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/BatchFetchItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/BatchFetchItemProvider.java
@@ -8,15 +8,12 @@ package org.eclipse.emf.texo.orm.annotations.model.orm.provider;
import java.math.BigInteger;
-
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.BatchFetch;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/CascadeTypeItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/CascadeTypeItemProvider.java
index dd7d3173..ac03d268 100755
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/CascadeTypeItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/CascadeTypeItemProvider.java
@@ -12,7 +12,6 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
-import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +24,6 @@ import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.emf.texo.orm.annotations.model.orm.CascadeType;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
-import org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation;
/**
* This is the item provider adapter for a {@link org.eclipse.emf.texo.orm.annotations.model.orm.CascadeType} object.
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ClassExtractorItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ClassExtractorItemProvider.java
index 2069cc79..5c27cfd5 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ClassExtractorItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ClassExtractorItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.ClassExtractor;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/Eclipselink_ormEditPlugin.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/Eclipselink_ormEditPlugin.java
index 88677cbe..a54fb3e5 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/Eclipselink_ormEditPlugin.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/Eclipselink_ormEditPlugin.java
@@ -7,7 +7,6 @@
package org.eclipse.emf.texo.orm.annotations.model.orm.provider;
import org.eclipse.emf.common.EMFPlugin;
-
import org.eclipse.emf.common.util.ResourceLocator;
/**
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/FetchAttributeItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/FetchAttributeItemProvider.java
index e4dfc97d..17d93c1b 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/FetchAttributeItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/FetchAttributeItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.FetchAttribute;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/FetchGroupItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/FetchGroupItemProvider.java
index 2088b962..28305276 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/FetchGroupItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/FetchGroupItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.FetchGroup;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/HashPartitioningItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/HashPartitioningItemProvider.java
index db25313d..d97605bc 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/HashPartitioningItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/HashPartitioningItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.HashPartitioning;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/IndexItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/IndexItemProvider.java
index 84e2630a..8c3e0fca 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/IndexItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/IndexItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.Index;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/MultitenantItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/MultitenantItemProvider.java
index b7836d52..2c61b1b7 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/MultitenantItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/MultitenantItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.Multitenant;
import org.eclipse.emf.texo.orm.annotations.model.orm.MultitenantType;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedPlsqlStoredFunctionQueryItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedPlsqlStoredFunctionQueryItemProvider.java
index dd6802f0..9ba87721 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedPlsqlStoredFunctionQueryItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedPlsqlStoredFunctionQueryItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.NamedPlsqlStoredFunctionQuery;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedPlsqlStoredProcedureQueryItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedPlsqlStoredProcedureQueryItemProvider.java
index 5b980c24..073ee233 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedPlsqlStoredProcedureQueryItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedPlsqlStoredProcedureQueryItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.NamedPlsqlStoredProcedureQuery;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedStoredFunctionQueryItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedStoredFunctionQueryItemProvider.java
index d05ae714..1f7b9d06 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedStoredFunctionQueryItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/NamedStoredFunctionQueryItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.NamedStoredFunctionQuery;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PartitioningItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PartitioningItemProvider.java
index ac72c457..e418cbfb 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PartitioningItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PartitioningItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.Partitioning;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PinnedPartitioningItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PinnedPartitioningItemProvider.java
index b6709b35..3d8de54f 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PinnedPartitioningItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PinnedPartitioningItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.PinnedPartitioning;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlParameterItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlParameterItemProvider.java
index 5b9aae93..6eacbcd5 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlParameterItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlParameterItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.PlsqlParameter;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlRecordItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlRecordItemProvider.java
index 2303c07b..9d09c148 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlRecordItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlRecordItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.PlsqlRecord;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlTableItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlTableItemProvider.java
index 36ba055f..29619a5d 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlTableItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PlsqlTableItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.PlsqlTable;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PrimaryKeyItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PrimaryKeyItemProvider.java
index b9894196..a2a1629a 100755
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PrimaryKeyItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/PrimaryKeyItemProvider.java
@@ -24,7 +24,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.emf.texo.orm.annotations.model.orm.CacheKeyType;
-import org.eclipse.emf.texo.orm.annotations.model.orm.IdValidation;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.PrimaryKey;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RangePartitionItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RangePartitionItemProvider.java
index 9a0dca62..817c7dea 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RangePartitionItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RangePartitionItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.RangePartition;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RangePartitioningItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RangePartitioningItemProvider.java
index a1972f71..abe237ac 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RangePartitioningItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RangePartitioningItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.RangePartitioning;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ReplicationPartitioningItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ReplicationPartitioningItemProvider.java
index ebf9551b..2fc19894 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ReplicationPartitioningItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ReplicationPartitioningItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.ReplicationPartitioning;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ReturnInsertItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ReturnInsertItemProvider.java
index 632bdde8..2d904552 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ReturnInsertItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ReturnInsertItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.ReturnInsert;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RoundRobinPartitioningItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RoundRobinPartitioningItemProvider.java
index 870fdcaf..276d13aa 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RoundRobinPartitioningItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/RoundRobinPartitioningItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.RoundRobinPartitioning;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/StructItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/StructItemProvider.java
index 6e2b4a01..0017aaa2 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/StructItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/StructItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.Struct;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/StructureItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/StructureItemProvider.java
index 88376c37..e2ad1e91 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/StructureItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/StructureItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.Structure;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/TenantDiscriminatorItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/TenantDiscriminatorItemProvider.java
index 144ed982..c9b00c2d 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/TenantDiscriminatorItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/TenantDiscriminatorItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.TenantDiscriminator;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/UnionPartitioningItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/UnionPartitioningItemProvider.java
index fe70f5f1..3b068614 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/UnionPartitioningItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/UnionPartitioningItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.UnionPartitioning;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ValuePartitionItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ValuePartitionItemProvider.java
index 23ba5a2e..a8012747 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ValuePartitionItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ValuePartitionItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.ValuePartition;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ValuePartitioningItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ValuePartitioningItemProvider.java
index d6dc92bd..87c12750 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ValuePartitioningItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/annotations/model/orm/provider/ValuePartitioningItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,7 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
import org.eclipse.emf.texo.orm.annotations.model.orm.ValuePartitioning;
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EAttributeORMAnnotationItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EAttributeORMAnnotationItemProvider.java
index b32953a4..5da35a50 100755
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EAttributeORMAnnotationItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EAttributeORMAnnotationItemProvider.java
@@ -34,13 +34,13 @@ public class EAttributeORMAnnotationItemProvider extends EAttributeAnnotationIte
IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider,
IItemPropertySource {
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EAttributeORMAnnotationItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
* This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
@@ -58,155 +58,155 @@ public class EAttributeORMAnnotationItemProvider extends EAttributeAnnotationIte
}
/**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc --> <!--
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT);
- childrenFeatures.add(OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__COLLECTION_TABLE);
- childrenFeatures.add(OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__ELEMENT_COLLECTION);
- childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__BASIC);
- childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__ID);
- childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__VERSION);
- childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__ONE_TO_MANY);
- childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__FEATURE_MAP_ENTITY);
- childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__MANY_TO_ONE);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__COLLECTION_TABLE);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__ELEMENT_COLLECTION);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__BASIC);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__ID);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__VERSION);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__ONE_TO_MANY);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__FEATURE_MAP_ENTITY);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__MANY_TO_ONE);
+ }
+ return childrenFeatures;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
- return super.getChildFeature(object, child);
- }
+ return super.getChildFeature(object, child);
+ }
/**
- * This returns EAttributeORMAnnotation.gif.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns EAttributeORMAnnotation.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/EAttributeORMAnnotation"));
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/EAttributeORMAnnotation")); //$NON-NLS-1$
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public String getText(Object object) {
- String label = ((EAttributeORMAnnotation)object).getDescription();
- return label == null || label.length() == 0 ?
- getString("_UI_EAttributeORMAnnotation_type") :
- getString("_UI_EAttributeORMAnnotation_type") + " " + label;
- }
+ String label = ((EAttributeORMAnnotation)object).getDescription();
+ return label == null || label.length() == 0 ?
+ getString("_UI_EAttributeORMAnnotation_type") : //$NON-NLS-1$
+ getString("_UI_EAttributeORMAnnotation_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
+ }
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(EAttributeORMAnnotation.class)) {
- case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__TRANSIENT:
- case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__COLLECTION_TABLE:
- case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__ELEMENT_COLLECTION:
- case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__BASIC:
- case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__ID:
- case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__VERSION:
- case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__ONE_TO_MANY:
- case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__FEATURE_MAP_ENTITY:
- case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__MANY_TO_ONE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(EAttributeORMAnnotation.class)) {
+ case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__TRANSIENT:
+ case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__COLLECTION_TABLE:
+ case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__ELEMENT_COLLECTION:
+ case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__BASIC:
+ case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__ID:
+ case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__VERSION:
+ case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__ONE_TO_MANY:
+ case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__FEATURE_MAP_ENTITY:
+ case OrmannotationsPackage.EATTRIBUTE_ORM_ANNOTATION__MANY_TO_ONE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT,
- OrmFactory.eINSTANCE.createTransient()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__COLLECTION_TABLE,
- OrmFactory.eINSTANCE.createCollectionTable()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__ELEMENT_COLLECTION,
- OrmFactory.eINSTANCE.createElementCollection()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__BASIC,
- OrmFactory.eINSTANCE.createBasic()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__ID,
- OrmFactory.eINSTANCE.createId()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__VERSION,
- OrmFactory.eINSTANCE.createVersion()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__ONE_TO_MANY,
- OrmFactory.eINSTANCE.createOneToMany()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__FEATURE_MAP_ENTITY,
- OrmFactory.eINSTANCE.createEntity()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__MANY_TO_ONE,
- OrmFactory.eINSTANCE.createManyToOne()));
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT,
+ OrmFactory.eINSTANCE.createTransient()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__COLLECTION_TABLE,
+ OrmFactory.eINSTANCE.createCollectionTable()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__ELEMENT_COLLECTION,
+ OrmFactory.eINSTANCE.createElementCollection()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__BASIC,
+ OrmFactory.eINSTANCE.createBasic()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__ID,
+ OrmFactory.eINSTANCE.createId()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__VERSION,
+ OrmFactory.eINSTANCE.createVersion()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__ONE_TO_MANY,
+ OrmFactory.eINSTANCE.createOneToMany()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__FEATURE_MAP_ENTITY,
+ OrmFactory.eINSTANCE.createEntity()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EATTRIBUTE_ORM_ANNOTATION__MANY_TO_ONE,
+ OrmFactory.eINSTANCE.createManyToOne()));
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public ResourceLocator getResourceLocator() {
- return TexoannotationsormEditPlugin.INSTANCE;
- }
+ return TexoannotationsormEditPlugin.INSTANCE;
+ }
}
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EClassORMAnnotationItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EClassORMAnnotationItemProvider.java
index 73dad8c7..7444e74b 100755
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EClassORMAnnotationItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EClassORMAnnotationItemProvider.java
@@ -34,150 +34,150 @@ public class EClassORMAnnotationItemProvider extends EClassAnnotationItemProvide
IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider,
IItemPropertySource {
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EClassORMAnnotationItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc --> <!--
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT);
- childrenFeatures.add(OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__ENTITY);
- childrenFeatures.add(OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__EMBEDDABLE);
- childrenFeatures.add(OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__MAPPED_SUPERCLASS);
- childrenFeatures.add(OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__INHERITANCE);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__ENTITY);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__EMBEDDABLE);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__MAPPED_SUPERCLASS);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__INHERITANCE);
+ }
+ return childrenFeatures;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
- return super.getChildFeature(object, child);
- }
+ return super.getChildFeature(object, child);
+ }
/**
- * This returns EClassORMAnnotation.gif.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns EClassORMAnnotation.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/EClassORMAnnotation"));
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/EClassORMAnnotation")); //$NON-NLS-1$
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public String getText(Object object) {
- String label = ((EClassORMAnnotation)object).getDescription();
- return label == null || label.length() == 0 ?
- getString("_UI_EClassORMAnnotation_type") :
- getString("_UI_EClassORMAnnotation_type") + " " + label;
- }
+ String label = ((EClassORMAnnotation)object).getDescription();
+ return label == null || label.length() == 0 ?
+ getString("_UI_EClassORMAnnotation_type") : //$NON-NLS-1$
+ getString("_UI_EClassORMAnnotation_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
+ }
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(EClassORMAnnotation.class)) {
- case OrmannotationsPackage.ECLASS_ORM_ANNOTATION__TRANSIENT:
- case OrmannotationsPackage.ECLASS_ORM_ANNOTATION__ENTITY:
- case OrmannotationsPackage.ECLASS_ORM_ANNOTATION__EMBEDDABLE:
- case OrmannotationsPackage.ECLASS_ORM_ANNOTATION__MAPPED_SUPERCLASS:
- case OrmannotationsPackage.ECLASS_ORM_ANNOTATION__INHERITANCE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(EClassORMAnnotation.class)) {
+ case OrmannotationsPackage.ECLASS_ORM_ANNOTATION__TRANSIENT:
+ case OrmannotationsPackage.ECLASS_ORM_ANNOTATION__ENTITY:
+ case OrmannotationsPackage.ECLASS_ORM_ANNOTATION__EMBEDDABLE:
+ case OrmannotationsPackage.ECLASS_ORM_ANNOTATION__MAPPED_SUPERCLASS:
+ case OrmannotationsPackage.ECLASS_ORM_ANNOTATION__INHERITANCE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT,
- OrmFactory.eINSTANCE.createTransient()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__ENTITY,
- OrmFactory.eINSTANCE.createEntity()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__EMBEDDABLE,
- OrmFactory.eINSTANCE.createEmbeddable()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__MAPPED_SUPERCLASS,
- OrmFactory.eINSTANCE.createMappedSuperclass()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__INHERITANCE,
- OrmFactory.eINSTANCE.createInheritance()));
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT,
+ OrmFactory.eINSTANCE.createTransient()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__ENTITY,
+ OrmFactory.eINSTANCE.createEntity()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__EMBEDDABLE,
+ OrmFactory.eINSTANCE.createEmbeddable()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__MAPPED_SUPERCLASS,
+ OrmFactory.eINSTANCE.createMappedSuperclass()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ECLASS_ORM_ANNOTATION__INHERITANCE,
+ OrmFactory.eINSTANCE.createInheritance()));
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public ResourceLocator getResourceLocator() {
- return TexoannotationsormEditPlugin.INSTANCE;
- }
+ return TexoannotationsormEditPlugin.INSTANCE;
+ }
}
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EDataTypeORMAnnotationItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EDataTypeORMAnnotationItemProvider.java
index a16d8653..c2825d95 100755
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EDataTypeORMAnnotationItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EDataTypeORMAnnotationItemProvider.java
@@ -35,165 +35,165 @@ public class EDataTypeORMAnnotationItemProvider extends EDataTypeAnnotationItemP
IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider,
IItemPropertySource {
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EDataTypeORMAnnotationItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addVersionPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addVersionPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Version feature.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds a property descriptor for the Version feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected void addVersionPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EDataTypeORMAnnotation_version_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EDataTypeORMAnnotation_version_feature", "_UI_EDataTypeORMAnnotation_type"),
- OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__VERSION,
- true,
- false,
- true,
- null,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EDataTypeORMAnnotation_version_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EDataTypeORMAnnotation_version_feature", "_UI_EDataTypeORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__VERSION,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
/**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc --> <!--
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT);
- childrenFeatures.add(OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__BASIC);
- childrenFeatures.add(OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__ID);
- childrenFeatures.add(OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__ELEMENT_COLLECTION);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__BASIC);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__ID);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__ELEMENT_COLLECTION);
+ }
+ return childrenFeatures;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
- return super.getChildFeature(object, child);
- }
+ return super.getChildFeature(object, child);
+ }
/**
- * This returns EDataTypeORMAnnotation.gif.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns EDataTypeORMAnnotation.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/EDataTypeORMAnnotation"));
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/EDataTypeORMAnnotation")); //$NON-NLS-1$
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public String getText(Object object) {
- String label = ((EDataTypeORMAnnotation)object).getDescription();
- return label == null || label.length() == 0 ?
- getString("_UI_EDataTypeORMAnnotation_type") :
- getString("_UI_EDataTypeORMAnnotation_type") + " " + label;
- }
+ String label = ((EDataTypeORMAnnotation)object).getDescription();
+ return label == null || label.length() == 0 ?
+ getString("_UI_EDataTypeORMAnnotation_type") : //$NON-NLS-1$
+ getString("_UI_EDataTypeORMAnnotation_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
+ }
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(EDataTypeORMAnnotation.class)) {
- case OrmannotationsPackage.EDATA_TYPE_ORM_ANNOTATION__TRANSIENT:
- case OrmannotationsPackage.EDATA_TYPE_ORM_ANNOTATION__BASIC:
- case OrmannotationsPackage.EDATA_TYPE_ORM_ANNOTATION__ID:
- case OrmannotationsPackage.EDATA_TYPE_ORM_ANNOTATION__ELEMENT_COLLECTION:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(EDataTypeORMAnnotation.class)) {
+ case OrmannotationsPackage.EDATA_TYPE_ORM_ANNOTATION__TRANSIENT:
+ case OrmannotationsPackage.EDATA_TYPE_ORM_ANNOTATION__BASIC:
+ case OrmannotationsPackage.EDATA_TYPE_ORM_ANNOTATION__ID:
+ case OrmannotationsPackage.EDATA_TYPE_ORM_ANNOTATION__ELEMENT_COLLECTION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
+ super.collectNewChildDescriptors(newChildDescriptors, object);
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT,
- OrmFactory.eINSTANCE.createTransient()));
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT,
+ OrmFactory.eINSTANCE.createTransient()));
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__BASIC,
- OrmFactory.eINSTANCE.createBasic()));
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__BASIC,
+ OrmFactory.eINSTANCE.createBasic()));
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__ID,
- OrmFactory.eINSTANCE.createId()));
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__ID,
+ OrmFactory.eINSTANCE.createId()));
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__ELEMENT_COLLECTION,
- OrmFactory.eINSTANCE.createElementCollection()));
- }
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EDATA_TYPE_ORM_ANNOTATION__ELEMENT_COLLECTION,
+ OrmFactory.eINSTANCE.createElementCollection()));
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public ResourceLocator getResourceLocator() {
- return TexoannotationsormEditPlugin.INSTANCE;
- }
+ return TexoannotationsormEditPlugin.INSTANCE;
+ }
}
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EEnumORMAnnotationItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EEnumORMAnnotationItemProvider.java
index 131382ef..ba34c86a 100755
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EEnumORMAnnotationItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EEnumORMAnnotationItemProvider.java
@@ -36,211 +36,211 @@ import org.eclipse.emf.texo.orm.ormannotations.OrmannotationsPackage;
public class EEnumORMAnnotationItemProvider extends EEnumAnnotationItemProvider implements IEditingDomainItemProvider,
IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EEnumORMAnnotationItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addEDataTypePropertyDescriptor(object);
- addEnumeratedPropertyDescriptor(object);
- addVersionPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addEDataTypePropertyDescriptor(object);
+ addEnumeratedPropertyDescriptor(object);
+ addVersionPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the EData Type feature.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds a property descriptor for the EData Type feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected void addEDataTypePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EDataTypeAnnotation_eDataType_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EDataTypeAnnotation_eDataType_feature", "_UI_EDataTypeAnnotation_type"),
- AnnotationsmodelPackage.Literals.EDATA_TYPE_ANNOTATION__EDATA_TYPE,
- false,
- false,
- false,
- null,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EDataTypeAnnotation_eDataType_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EDataTypeAnnotation_eDataType_feature", "_UI_EDataTypeAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ AnnotationsmodelPackage.Literals.EDATA_TYPE_ANNOTATION__EDATA_TYPE,
+ false,
+ false,
+ false,
+ null,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Enumerated feature.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds a property descriptor for the Enumerated feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected void addEnumeratedPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EEnumORMAnnotation_enumerated_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EEnumORMAnnotation_enumerated_feature", "_UI_EEnumORMAnnotation_type"),
- OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__ENUMERATED,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EEnumORMAnnotation_enumerated_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EEnumORMAnnotation_enumerated_feature", "_UI_EEnumORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__ENUMERATED,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Version feature.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds a property descriptor for the Version feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected void addVersionPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EEnumORMAnnotation_version_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EEnumORMAnnotation_version_feature", "_UI_EEnumORMAnnotation_type"),
- OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__VERSION,
- true,
- false,
- true,
- null,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EEnumORMAnnotation_version_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EEnumORMAnnotation_version_feature", "_UI_EEnumORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__VERSION,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
/**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc --> <!--
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT);
- childrenFeatures.add(OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__BASIC);
- childrenFeatures.add(OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__VERSION);
- childrenFeatures.add(OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__ELEMENT_COLLECTION);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__BASIC);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__VERSION);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__ELEMENT_COLLECTION);
+ }
+ return childrenFeatures;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
- return super.getChildFeature(object, child);
- }
+ return super.getChildFeature(object, child);
+ }
/**
- * This returns EEnumORMAnnotation.gif.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns EEnumORMAnnotation.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/EEnumORMAnnotation"));
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/EEnumORMAnnotation")); //$NON-NLS-1$
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public String getText(Object object) {
- String label = ((EEnumORMAnnotation)object).getDescription();
- return label == null || label.length() == 0 ?
- getString("_UI_EEnumORMAnnotation_type") :
- getString("_UI_EEnumORMAnnotation_type") + " " + label;
- }
+ String label = ((EEnumORMAnnotation)object).getDescription();
+ return label == null || label.length() == 0 ?
+ getString("_UI_EEnumORMAnnotation_type") : //$NON-NLS-1$
+ getString("_UI_EEnumORMAnnotation_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
+ }
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(EEnumORMAnnotation.class)) {
- case OrmannotationsPackage.EENUM_ORM_ANNOTATION__ENUMERATED:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case OrmannotationsPackage.EENUM_ORM_ANNOTATION__TRANSIENT:
- case OrmannotationsPackage.EENUM_ORM_ANNOTATION__BASIC:
- case OrmannotationsPackage.EENUM_ORM_ANNOTATION__ELEMENT_COLLECTION:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(EEnumORMAnnotation.class)) {
+ case OrmannotationsPackage.EENUM_ORM_ANNOTATION__ENUMERATED:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case OrmannotationsPackage.EENUM_ORM_ANNOTATION__TRANSIENT:
+ case OrmannotationsPackage.EENUM_ORM_ANNOTATION__BASIC:
+ case OrmannotationsPackage.EENUM_ORM_ANNOTATION__ELEMENT_COLLECTION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
+ super.collectNewChildDescriptors(newChildDescriptors, object);
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT,
- OrmFactory.eINSTANCE.createTransient()));
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT,
+ OrmFactory.eINSTANCE.createTransient()));
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__BASIC,
- OrmFactory.eINSTANCE.createBasic()));
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__BASIC,
+ OrmFactory.eINSTANCE.createBasic()));
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__VERSION,
- OrmFactory.eINSTANCE.createVersion()));
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__VERSION,
+ OrmFactory.eINSTANCE.createVersion()));
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__ELEMENT_COLLECTION,
- OrmFactory.eINSTANCE.createElementCollection()));
- }
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EENUM_ORM_ANNOTATION__ELEMENT_COLLECTION,
+ OrmFactory.eINSTANCE.createElementCollection()));
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public ResourceLocator getResourceLocator() {
- return TexoannotationsormEditPlugin.INSTANCE;
- }
+ return TexoannotationsormEditPlugin.INSTANCE;
+ }
}
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EPackageORMAnnotationItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EPackageORMAnnotationItemProvider.java
index 57254d84..a7dc41cc 100755
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EPackageORMAnnotationItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EPackageORMAnnotationItemProvider.java
@@ -30,15 +30,14 @@ import org.eclipse.emf.texo.orm.ormannotations.OrmannotationsPackage;
/**
* This is the item provider adapter for a {@link org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation} object.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemProvider implements
IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider,
IItemPropertySource {
/**
- * This constructs an instance from a factory and a notifier. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public EPackageORMAnnotationItemProvider(AdapterFactory adapterFactory) {
@@ -46,8 +45,8 @@ public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemPro
}
/**
- * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
@@ -75,69 +74,89 @@ public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemPro
}
/**
- * This adds a property descriptor for the Generate Full Db Schema Names feature. <!-- begin-user-doc --> <!--
+ * This adds a property descriptor for the Generate Full Db Schema Names feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected void addGenerateFullDbSchemaNamesPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_generateFullDbSchemaNames_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_generateFullDbSchemaNames_feature",
- "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__GENERATE_FULL_DB_SCHEMA_NAMES, true, false, false,
- ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_generateFullDbSchemaNames_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_generateFullDbSchemaNames_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__GENERATE_FULL_DB_SCHEMA_NAMES,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This adds a property descriptor for the Name Dictionary Property File feature. <!-- begin-user-doc --> <!--
+ * This adds a property descriptor for the Name Dictionary Property File feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected void addNameDictionaryPropertyFilePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_nameDictionaryPropertyFile_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_nameDictionaryPropertyFile_feature",
- "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__NAME_DICTIONARY_PROPERTY_FILE, true, false, false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_nameDictionaryPropertyFile_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_nameDictionaryPropertyFile_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__NAME_DICTIONARY_PROPERTY_FILE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This adds a property descriptor for the Table Name Prefix feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This adds a property descriptor for the Table Name Prefix feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected void addTableNamePrefixPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_tableNamePrefix_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_tableNamePrefix_feature",
- "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__TABLE_NAME_PREFIX, true, false, false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_tableNamePrefix_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_tableNamePrefix_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__TABLE_NAME_PREFIX,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This adds a property descriptor for the Column Name Prefix feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This adds a property descriptor for the Column Name Prefix feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected void addColumnNamePrefixPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_columnNamePrefix_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_columnNamePrefix_feature",
- "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__COLUMN_NAME_PREFIX, true, false, false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_columnNamePrefix_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_columnNamePrefix_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__COLUMN_NAME_PREFIX,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
@@ -147,96 +166,126 @@ public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemPro
* @generated
*/
protected void addMaximumSqlNameLengthPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_maximumSqlNameLength_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_maximumSqlNameLength_feature",
- "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__MAXIMUM_SQL_NAME_LENGTH, true, false, false,
- ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_maximumSqlNameLength_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_maximumSqlNameLength_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__MAXIMUM_SQL_NAME_LENGTH,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This adds a property descriptor for the Lower Cased Names feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This adds a property descriptor for the Lower Cased Names feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected void addLowerCasedNamesPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_lowerCasedNames_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_lowerCasedNames_feature",
- "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__LOWER_CASED_NAMES, true, false, false,
- ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_lowerCasedNames_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_lowerCasedNames_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__LOWER_CASED_NAMES,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This adds a property descriptor for the Upper Cased Names feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This adds a property descriptor for the Upper Cased Names feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected void addUpperCasedNamesPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_upperCasedNames_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_upperCasedNames_feature",
- "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__UPPER_CASED_NAMES, true, false, false,
- ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_upperCasedNames_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_upperCasedNames_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__UPPER_CASED_NAMES,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This adds a property descriptor for the Enforce Unique Names feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This adds a property descriptor for the Enforce Unique Names feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected void addEnforceUniqueNamesPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_enforceUniqueNames_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_enforceUniqueNames_feature",
- "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__ENFORCE_UNIQUE_NAMES, true, false, false,
- ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_enforceUniqueNames_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_enforceUniqueNames_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__ENFORCE_UNIQUE_NAMES,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This adds a property descriptor for the Use Join Tables For Containment feature. <!-- begin-user-doc --> <!--
+ * This adds a property descriptor for the Use Join Tables For Containment feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected void addUseJoinTablesForContainmentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_useJoinTablesForContainment_feature"),
- getString("_UI_PropertyDescriptor_description",
- "_UI_EPackageORMAnnotation_useJoinTablesForContainment_feature", "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__USE_JOIN_TABLES_FOR_CONTAINMENT, true, false, false,
- ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_useJoinTablesForContainment_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_useJoinTablesForContainment_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__USE_JOIN_TABLES_FOR_CONTAINMENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
}
/**
- * This adds a property descriptor for the Use Join Tables For Non Containment feature. <!-- begin-user-doc --> <!--
+ * This adds a property descriptor for the Use Join Tables For Non Containment feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected void addUseJoinTablesForNonContainmentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_useJoinTablesForNonContainment_feature"),
- getString("_UI_PropertyDescriptor_description",
- "_UI_EPackageORMAnnotation_useJoinTablesForNonContainment_feature", "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__USE_JOIN_TABLES_FOR_NON_CONTAINMENT, true, false,
- false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_useJoinTablesForNonContainment_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_useJoinTablesForNonContainment_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__USE_JOIN_TABLES_FOR_NON_CONTAINMENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
}
/**
@@ -282,20 +331,25 @@ public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemPro
}
/**
- * This adds a property descriptor for the Rename SQL Reserved Names feature. <!-- begin-user-doc --> <!--
+ * This adds a property descriptor for the Rename SQL Reserved Names feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
protected void addRenameSQLReservedNamesPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(
- ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EPackageORMAnnotation_renameSQLReservedNames_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_renameSQLReservedNames_feature",
- "_UI_EPackageORMAnnotation_type"),
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__RENAME_SQL_RESERVED_NAMES, true, false, false,
- ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EPackageORMAnnotation_renameSQLReservedNames_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EPackageORMAnnotation_renameSQLReservedNames_feature", "_UI_EPackageORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__RENAME_SQL_RESERVED_NAMES,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
}
/**
@@ -334,9 +388,9 @@ public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemPro
/**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. <!-- begin-user-doc --> <!--
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
@Override
@@ -353,7 +407,6 @@ public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemPro
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -365,13 +418,13 @@ public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemPro
}
/**
- * This returns EPackageORMAnnotation.gif. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This returns EPackageORMAnnotation.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/EPackageORMAnnotation"));
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/EPackageORMAnnotation")); //$NON-NLS-1$
}
/**
@@ -387,9 +440,9 @@ public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemPro
}
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating a
- * viewer notification, which it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
@@ -397,63 +450,68 @@ public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemPro
updateChildren(notification);
switch (notification.getFeatureID(EPackageORMAnnotation.class)) {
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__GENERATE_FULL_DB_SCHEMA_NAMES:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__NAME_DICTIONARY_PROPERTY_FILE:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__TABLE_NAME_PREFIX:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__COLUMN_NAME_PREFIX:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__MAXIMUM_SQL_NAME_LENGTH:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__LOWER_CASED_NAMES:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__UPPER_CASED_NAMES:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__ENFORCE_UNIQUE_NAMES:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__USE_JOIN_TABLES_FOR_CONTAINMENT:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__USE_JOIN_TABLES_FOR_NON_CONTAINMENT:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__GENERATE_JAVA_ANNOTATIONS:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__ADD_ORDER_COLUMN_TO_LIST_MAPPINGS:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__RENAME_SQL_RESERVED_NAMES:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__UNIQUE_ENTITY_NAMES:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__SET_DELIMITED_IDENTIFIER_TAG_IN_ORM:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_CONTAINMENT:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_NON_CONTAINMENT:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__ENTITY_MAPPINGS:
- case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__INHERITANCE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__GENERATE_FULL_DB_SCHEMA_NAMES:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__NAME_DICTIONARY_PROPERTY_FILE:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__TABLE_NAME_PREFIX:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__COLUMN_NAME_PREFIX:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__MAXIMUM_SQL_NAME_LENGTH:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__LOWER_CASED_NAMES:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__UPPER_CASED_NAMES:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__ENFORCE_UNIQUE_NAMES:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__USE_JOIN_TABLES_FOR_CONTAINMENT:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__USE_JOIN_TABLES_FOR_NON_CONTAINMENT:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__GENERATE_JAVA_ANNOTATIONS:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__ADD_ORDER_COLUMN_TO_LIST_MAPPINGS:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__RENAME_SQL_RESERVED_NAMES:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__UNIQUE_ENTITY_NAMES:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__SET_DELIMITED_IDENTIFIER_TAG_IN_ORM:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_CONTAINMENT:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_NON_CONTAINMENT:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__ENTITY_MAPPINGS:
+ case OrmannotationsPackage.EPACKAGE_ORM_ANNOTATION__INHERITANCE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created under
- * this object. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
super.collectNewChildDescriptors(newChildDescriptors, object);
- newChildDescriptors.add(createChildParameter(
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_CONTAINMENT,
- OrmFactory.eINSTANCE.createCascadeType()));
-
- newChildDescriptors.add(createChildParameter(
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_NON_CONTAINMENT,
- OrmFactory.eINSTANCE.createCascadeType()));
-
- newChildDescriptors.add(createChildParameter(
- OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__ENTITY_MAPPINGS,
- OrmFactory.eINSTANCE.createEntityMappingsType()));
-
- newChildDescriptors.add(createChildParameter(OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__INHERITANCE,
- OrmFactory.eINSTANCE.createInheritance()));
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_CONTAINMENT,
+ OrmFactory.eINSTANCE.createCascadeType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_NON_CONTAINMENT,
+ OrmFactory.eINSTANCE.createCascadeType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__ENTITY_MAPPINGS,
+ OrmFactory.eINSTANCE.createEntityMappingsType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__INHERITANCE,
+ OrmFactory.eINSTANCE.createInheritance()));
}
/**
- * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. <!-- begin-user-doc -->
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -461,19 +519,21 @@ public class EPackageORMAnnotationItemProvider extends EPackageAnnotationItemPro
Object childFeature = feature;
Object childObject = child;
- boolean qualify = childFeature == OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_CONTAINMENT
- || childFeature == OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_NON_CONTAINMENT;
+ boolean qualify =
+ childFeature == OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_CONTAINMENT ||
+ childFeature == OrmannotationsPackage.Literals.EPACKAGE_ORM_ANNOTATION__DEFAULT_CASCADE_NON_CONTAINMENT;
if (qualify) {
- return getString("_UI_CreateChild_text2", new Object[] { getTypeText(childObject), getFeatureText(childFeature),
- getTypeText(owner) });
+ return getString
+ ("_UI_CreateChild_text2", //$NON-NLS-1$
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
}
return super.getCreateChildText(owner, feature, child, selection);
}
/**
- * Return the resource locator for this item provider's resources. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EReferenceORMAnnotationItemProvider.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EReferenceORMAnnotationItemProvider.java
index decc461a..ae84ebb7 100644
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EReferenceORMAnnotationItemProvider.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/EReferenceORMAnnotationItemProvider.java
@@ -36,29 +36,29 @@ public class EReferenceORMAnnotationItemProvider extends EReferenceAnnotationIte
IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider,
IItemPropertySource {
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EReferenceORMAnnotationItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addEmbeddedPropertyDescriptor(object);
- addOrderByPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addEmbeddedPropertyDescriptor(object);
+ addOrderByPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
* This adds a property descriptor for the Embedded feature. <!-- begin-user-doc --> <!-- end-user-doc -->
@@ -85,270 +85,270 @@ public class EReferenceORMAnnotationItemProvider extends EReferenceAnnotationIte
}
/**
- * This adds a property descriptor for the Order By feature.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds a property descriptor for the Order By feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected void addOrderByPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_EReferenceORMAnnotation_orderBy_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_EReferenceORMAnnotation_orderBy_feature", "_UI_EReferenceORMAnnotation_type"),
- OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ORDER_BY,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EReferenceORMAnnotation_orderBy_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_EReferenceORMAnnotation_orderBy_feature", "_UI_EReferenceORMAnnotation_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ORDER_BY,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc --> <!--
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT);
- childrenFeatures.add(OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__COLLECTION_TABLE);
- childrenFeatures.add(OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__ELEMENT_COLLECTION);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__EMBEDDED);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__EMBEDDED_ID);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__JOIN_COLUMN);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__JOIN_TABLE);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MANY_TO_MANY);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MANY_TO_ONE);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ONE_TO_MANY);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ONE_TO_ONE);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_CLASS);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_COLUMN);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_JOIN_COLUMN);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ORDER_COLUMN);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC_COLLECTION);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC_MAP);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ASSOCIATION_OVERRIDE);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ATTRIBUTE_OVERRIDE);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN);
- childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__COLLECTION_TABLE);
+ childrenFeatures.add(OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__ELEMENT_COLLECTION);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__EMBEDDED);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__EMBEDDED_ID);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__JOIN_COLUMN);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__JOIN_TABLE);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MANY_TO_MANY);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MANY_TO_ONE);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ONE_TO_MANY);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ONE_TO_ONE);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_CLASS);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_COLUMN);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_JOIN_COLUMN);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ORDER_COLUMN);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC_COLLECTION);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC_MAP);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ASSOCIATION_OVERRIDE);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ATTRIBUTE_OVERRIDE);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN);
+ childrenFeatures.add(OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC);
+ }
+ return childrenFeatures;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
- return super.getChildFeature(object, child);
- }
+ return super.getChildFeature(object, child);
+ }
/**
- * This returns EReferenceORMAnnotation.gif.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns EReferenceORMAnnotation.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/EReferenceORMAnnotation"));
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/EReferenceORMAnnotation")); //$NON-NLS-1$
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public String getText(Object object) {
- String label = ((EReferenceORMAnnotation)object).getDescription();
- return label == null || label.length() == 0 ?
- getString("_UI_EReferenceORMAnnotation_type") :
- getString("_UI_EReferenceORMAnnotation_type") + " " + label;
- }
+ String label = ((EReferenceORMAnnotation)object).getDescription();
+ return label == null || label.length() == 0 ?
+ getString("_UI_EReferenceORMAnnotation_type") : //$NON-NLS-1$
+ getString("_UI_EReferenceORMAnnotation_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
+ }
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(EReferenceORMAnnotation.class)) {
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ORDER_BY:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__TRANSIENT:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__COLLECTION_TABLE:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ELEMENT_COLLECTION:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__EMBEDDED:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__EMBEDDED_ID:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__JOIN_COLUMN:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__JOIN_TABLE:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MANY_TO_MANY:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MANY_TO_ONE:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ONE_TO_MANY:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ONE_TO_ONE:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MAP_KEY:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MAP_KEY_CLASS:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MAP_KEY_COLUMN:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MAP_KEY_JOIN_COLUMN:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ORDER_COLUMN:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC_COLLECTION:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC_MAP:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ASSOCIATION_OVERRIDE:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ATTRIBUTE_OVERRIDE:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN:
- case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(EReferenceORMAnnotation.class)) {
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ORDER_BY:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__TRANSIENT:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__COLLECTION_TABLE:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ELEMENT_COLLECTION:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__EMBEDDED:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__EMBEDDED_ID:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__JOIN_COLUMN:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__JOIN_TABLE:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MANY_TO_MANY:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MANY_TO_ONE:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ONE_TO_MANY:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ONE_TO_ONE:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MAP_KEY:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MAP_KEY_CLASS:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MAP_KEY_COLUMN:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__MAP_KEY_JOIN_COLUMN:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ORDER_COLUMN:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC_COLLECTION:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC_MAP:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ASSOCIATION_OVERRIDE:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__ATTRIBUTE_OVERRIDE:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN:
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT,
- OrmFactory.eINSTANCE.createTransient()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__COLLECTION_TABLE,
- OrmFactory.eINSTANCE.createCollectionTable()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__ELEMENT_COLLECTION,
- OrmFactory.eINSTANCE.createElementCollection()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__EMBEDDED,
- OrmFactory.eINSTANCE.createEmbedded()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__EMBEDDED_ID,
- OrmFactory.eINSTANCE.createEmbeddedId()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__JOIN_COLUMN,
- OrmFactory.eINSTANCE.createJoinColumn()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__JOIN_TABLE,
- OrmFactory.eINSTANCE.createJoinTable()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MANY_TO_MANY,
- OrmFactory.eINSTANCE.createManyToMany()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MANY_TO_ONE,
- OrmFactory.eINSTANCE.createManyToOne()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ONE_TO_MANY,
- OrmFactory.eINSTANCE.createOneToMany()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ONE_TO_ONE,
- OrmFactory.eINSTANCE.createOneToOne()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY,
- OrmFactory.eINSTANCE.createMapKey()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_CLASS,
- OrmFactory.eINSTANCE.createMapKeyClass()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_COLUMN,
- OrmFactory.eINSTANCE.createMapKeyColumn()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_JOIN_COLUMN,
- OrmFactory.eINSTANCE.createMapKeyJoinColumn()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ORDER_COLUMN,
- OrmFactory.eINSTANCE.createOrderColumn()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC_COLLECTION,
- OrmFactory.eINSTANCE.createBasicCollection()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC_MAP,
- OrmFactory.eINSTANCE.createBasicMap()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ASSOCIATION_OVERRIDE,
- OrmFactory.eINSTANCE.createAssociationOverride()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ATTRIBUTE_OVERRIDE,
- OrmFactory.eINSTANCE.createAttributeOverride()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN,
- OrmFactory.eINSTANCE.createPrimaryKeyJoinColumn()));
-
- newChildDescriptors.add
- (createChildParameter
- (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC,
- OrmFactory.eINSTANCE.createBasic()));
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ETYPE_ELEMENT_ORM_ANNOTATION__TRANSIENT,
+ OrmFactory.eINSTANCE.createTransient()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__COLLECTION_TABLE,
+ OrmFactory.eINSTANCE.createCollectionTable()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.ESTRUCTURAL_FEATURE_ORM_ANNOTATION__ELEMENT_COLLECTION,
+ OrmFactory.eINSTANCE.createElementCollection()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__EMBEDDED,
+ OrmFactory.eINSTANCE.createEmbedded()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__EMBEDDED_ID,
+ OrmFactory.eINSTANCE.createEmbeddedId()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__JOIN_COLUMN,
+ OrmFactory.eINSTANCE.createJoinColumn()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__JOIN_TABLE,
+ OrmFactory.eINSTANCE.createJoinTable()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MANY_TO_MANY,
+ OrmFactory.eINSTANCE.createManyToMany()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MANY_TO_ONE,
+ OrmFactory.eINSTANCE.createManyToOne()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ONE_TO_MANY,
+ OrmFactory.eINSTANCE.createOneToMany()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ONE_TO_ONE,
+ OrmFactory.eINSTANCE.createOneToOne()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY,
+ OrmFactory.eINSTANCE.createMapKey()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_CLASS,
+ OrmFactory.eINSTANCE.createMapKeyClass()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_COLUMN,
+ OrmFactory.eINSTANCE.createMapKeyColumn()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__MAP_KEY_JOIN_COLUMN,
+ OrmFactory.eINSTANCE.createMapKeyJoinColumn()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ORDER_COLUMN,
+ OrmFactory.eINSTANCE.createOrderColumn()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC_COLLECTION,
+ OrmFactory.eINSTANCE.createBasicCollection()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC_MAP,
+ OrmFactory.eINSTANCE.createBasicMap()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ASSOCIATION_OVERRIDE,
+ OrmFactory.eINSTANCE.createAssociationOverride()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__ATTRIBUTE_OVERRIDE,
+ OrmFactory.eINSTANCE.createAttributeOverride()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN,
+ OrmFactory.eINSTANCE.createPrimaryKeyJoinColumn()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (OrmannotationsPackage.Literals.EREFERENCE_ORM_ANNOTATION__BASIC,
+ OrmFactory.eINSTANCE.createBasic()));
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public ResourceLocator getResourceLocator() {
- return TexoannotationsormEditPlugin.INSTANCE;
- }
+ return TexoannotationsormEditPlugin.INSTANCE;
+ }
}
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/OrmannotationsItemProviderAdapterFactory.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/OrmannotationsItemProviderAdapterFactory.java
index 682b5d7e..af1b506b 100755
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/OrmannotationsItemProviderAdapterFactory.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/OrmannotationsItemProviderAdapterFactory.java
@@ -40,19 +40,19 @@ import org.eclipse.emf.texo.orm.ormannotations.util.OrmannotationsAdapterFactory
public class OrmannotationsItemProviderAdapterFactory extends OrmannotationsAdapterFactory implements
ComposeableAdapterFactory, IChangeNotifier, IDisposable {
/**
- * This keeps track of the root adapter factory that delegates to this adapter factory.
- * <!-- begin-user-doc --> <!--
+ * This keeps track of the root adapter factory that delegates to this adapter factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected ComposedAdapterFactory parentAdapterFactory;
/**
- * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
- * <!-- begin-user-doc --> <!--
+ * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected IChangeNotifier changeNotifier = new ChangeNotifier();
/**
@@ -64,24 +64,24 @@ public class OrmannotationsItemProviderAdapterFactory extends OrmannotationsAdap
protected Collection<Object> supportedTypes = new ArrayList<Object>();
/**
- * This constructs an instance.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This constructs an instance.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public OrmannotationsItemProviderAdapterFactory() {
- supportedTypes.add(IEditingDomainItemProvider.class);
- supportedTypes.add(IStructuredItemContentProvider.class);
- supportedTypes.add(ITreeItemContentProvider.class);
- supportedTypes.add(IItemLabelProvider.class);
- supportedTypes.add(IItemPropertySource.class);
- }
+ supportedTypes.add(IEditingDomainItemProvider.class);
+ supportedTypes.add(IStructuredItemContentProvider.class);
+ supportedTypes.add(ITreeItemContentProvider.class);
+ supportedTypes.add(IItemLabelProvider.class);
+ supportedTypes.add(IItemPropertySource.class);
+ }
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation} instances.
- * <!-- begin-user-doc --> <!--
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation} instances.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected EPackageORMAnnotationItemProvider ePackageORMAnnotationItemProvider;
/**
@@ -106,11 +106,11 @@ public class OrmannotationsItemProviderAdapterFactory extends OrmannotationsAdap
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EClassORMAnnotation} instances.
- * <!-- begin-user-doc --> <!--
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EClassORMAnnotation} instances.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected EClassORMAnnotationItemProvider eClassORMAnnotationItemProvider;
/**
@@ -135,11 +135,11 @@ public class OrmannotationsItemProviderAdapterFactory extends OrmannotationsAdap
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EAttributeORMAnnotation} instances.
- * <!-- begin-user-doc --> <!--
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EAttributeORMAnnotation} instances.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected EAttributeORMAnnotationItemProvider eAttributeORMAnnotationItemProvider;
/**
@@ -164,11 +164,11 @@ public class OrmannotationsItemProviderAdapterFactory extends OrmannotationsAdap
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation} instances.
- * <!-- begin-user-doc --> <!--
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation} instances.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected EReferenceORMAnnotationItemProvider eReferenceORMAnnotationItemProvider;
/**
@@ -193,10 +193,10 @@ public class OrmannotationsItemProviderAdapterFactory extends OrmannotationsAdap
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EEnumORMAnnotation} instances.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EEnumORMAnnotation} instances.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected EEnumORMAnnotationItemProvider eEnumORMAnnotationItemProvider;
/**
@@ -221,11 +221,11 @@ public class OrmannotationsItemProviderAdapterFactory extends OrmannotationsAdap
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EDataTypeORMAnnotation} instances.
- * <!-- begin-user-doc --> <!--
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.texo.orm.ormannotations.EDataTypeORMAnnotation} instances.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected EDataTypeORMAnnotationItemProvider eDataTypeORMAnnotationItemProvider;
/**
@@ -250,104 +250,104 @@ public class OrmannotationsItemProviderAdapterFactory extends OrmannotationsAdap
}
/**
- * This returns the root adapter factory that contains this factory.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This returns the root adapter factory that contains this factory.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public ComposeableAdapterFactory getRootAdapterFactory() {
- return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
- }
+ return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
+ }
/**
- * This sets the composed adapter factory that contains this factory.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This sets the composed adapter factory that contains this factory.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
- this.parentAdapterFactory = parentAdapterFactory;
- }
+ this.parentAdapterFactory = parentAdapterFactory;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public boolean isFactoryForType(Object type) {
- return supportedTypes.contains(type) || super.isFactoryForType(type);
- }
+ return supportedTypes.contains(type) || super.isFactoryForType(type);
+ }
/**
- * This implementation substitutes the factory itself as the key for the adapter.
- * <!-- begin-user-doc --> <!--
+ * This implementation substitutes the factory itself as the key for the adapter.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
@Override
public Adapter adapt(Notifier notifier, Object type) {
- return super.adapt(notifier, this);
- }
+ return super.adapt(notifier, this);
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object adapt(Object object, Object type) {
- if (isFactoryForType(type)) {
- Object adapter = super.adapt(object, type);
- if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) {
- return adapter;
- }
- }
+ if (isFactoryForType(type)) {
+ Object adapter = super.adapt(object, type);
+ if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) {
+ return adapter;
+ }
+ }
- return null;
- }
+ return null;
+ }
/**
- * This adds a listener.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This adds a listener.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void addListener(INotifyChangedListener notifyChangedListener) {
- changeNotifier.addListener(notifyChangedListener);
- }
+ changeNotifier.addListener(notifyChangedListener);
+ }
/**
- * This removes a listener.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This removes a listener.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void removeListener(INotifyChangedListener notifyChangedListener) {
- changeNotifier.removeListener(notifyChangedListener);
- }
+ changeNotifier.removeListener(notifyChangedListener);
+ }
/**
- * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
- * <!-- begin-user-doc --> <!--
+ * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public void fireNotifyChanged(Notification notification) {
- changeNotifier.fireNotifyChanged(notification);
+ changeNotifier.fireNotifyChanged(notification);
- if (parentAdapterFactory != null) {
- parentAdapterFactory.fireNotifyChanged(notification);
- }
- }
+ if (parentAdapterFactory != null) {
+ parentAdapterFactory.fireNotifyChanged(notification);
+ }
+ }
/**
- * This disposes all of the item providers created by this factory.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * This disposes all of the item providers created by this factory.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void dispose() {
- if (ePackageORMAnnotationItemProvider != null) ePackageORMAnnotationItemProvider.dispose();
- if (eClassORMAnnotationItemProvider != null) eClassORMAnnotationItemProvider.dispose();
- if (eAttributeORMAnnotationItemProvider != null) eAttributeORMAnnotationItemProvider.dispose();
- if (eReferenceORMAnnotationItemProvider != null) eReferenceORMAnnotationItemProvider.dispose();
- if (eEnumORMAnnotationItemProvider != null) eEnumORMAnnotationItemProvider.dispose();
- if (eDataTypeORMAnnotationItemProvider != null) eDataTypeORMAnnotationItemProvider.dispose();
- }
+ if (ePackageORMAnnotationItemProvider != null) ePackageORMAnnotationItemProvider.dispose();
+ if (eClassORMAnnotationItemProvider != null) eClassORMAnnotationItemProvider.dispose();
+ if (eAttributeORMAnnotationItemProvider != null) eAttributeORMAnnotationItemProvider.dispose();
+ if (eReferenceORMAnnotationItemProvider != null) eReferenceORMAnnotationItemProvider.dispose();
+ if (eEnumORMAnnotationItemProvider != null) eEnumORMAnnotationItemProvider.dispose();
+ if (eDataTypeORMAnnotationItemProvider != null) eDataTypeORMAnnotationItemProvider.dispose();
+ }
private static class ChildPropertyDescriptorSorter implements Comparator<Object> {
diff --git a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/TexoannotationsormEditPlugin.java b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/TexoannotationsormEditPlugin.java
index 26efd107..05ae0a3e 100755
--- a/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/TexoannotationsormEditPlugin.java
+++ b/generator/org.eclipse.emf.texo.orm.edit/src/org/eclipse/emf/texo/orm/ormannotations/provider/TexoannotationsormEditPlugin.java
@@ -11,7 +11,6 @@ import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
import org.eclipse.emf.texo.annotations.annotationsmodel.provider.TexoannotationsmodelEditPlugin;
import org.eclipse.emf.texo.orm.annotations.model.orm.provider.Eclipselink_ormEditPlugin;
-import org.eclipse.emf.texo.orm.annotations.model.orm.provider.Eclipselink_orm_2_0EditPlugin;
/**
* This is the central singleton for the Texo-annotations-orm edit plugin.
@@ -20,72 +19,72 @@ import org.eclipse.emf.texo.orm.annotations.model.orm.provider.Eclipselink_orm_2
*/
public final class TexoannotationsormEditPlugin extends EMFPlugin {
/**
- * Keep track of the singleton.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * Keep track of the singleton.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public static final TexoannotationsormEditPlugin INSTANCE = new TexoannotationsormEditPlugin();
/**
- * Keep track of the singleton.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * Keep track of the singleton.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
private static Implementation plugin;
/**
- * Create the instance.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * Create the instance.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public TexoannotationsormEditPlugin() {
- super
- (new ResourceLocator [] {
- Eclipselink_ormEditPlugin.INSTANCE,
- EcoreEditPlugin.INSTANCE,
- TexoannotationsmodelEditPlugin.INSTANCE,
- });
- }
+ super
+ (new ResourceLocator [] {
+ Eclipselink_ormEditPlugin.INSTANCE,
+ EcoreEditPlugin.INSTANCE,
+ TexoannotationsmodelEditPlugin.INSTANCE,
+ });
+ }
/**
- * Returns the singleton instance of the Eclipse plugin.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @return the singleton instance.
- * @generated
- */
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
@Override
public ResourceLocator getPluginResourceLocator() {
- return plugin;
- }
+ return plugin;
+ }
/**
- * Returns the singleton instance of the Eclipse plugin.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @return the singleton instance.
- * @generated
- */
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
public static Implementation getPlugin() {
- return plugin;
- }
+ return plugin;
+ }
/**
- * The actual implementation of the Eclipse <b>Plugin</b>.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * The actual implementation of the Eclipse <b>Plugin</b>.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public static class Implementation extends EclipsePlugin {
/**
- * Creates an instance.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * Creates an instance.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public Implementation() {
- super();
+ super();
- // Remember the static instance.
- //
- plugin = this;
- }
+ // Remember the static instance.
+ //
+ plugin = this;
+ }
}
}
diff --git a/generator/org.eclipse.emf.texo.orm/META-INF/MANIFEST.MF b/generator/org.eclipse.emf.texo.orm/META-INF/MANIFEST.MF
index dc52434c..89e1fa16 100644
--- a/generator/org.eclipse.emf.texo.orm/META-INF/MANIFEST.MF
+++ b/generator/org.eclipse.emf.texo.orm/META-INF/MANIFEST.MF
@@ -8,6 +8,7 @@ Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.eclipse.emf.texo.orm.annotations.model.orm;version="0.1.0",
+ org.eclipse.emf.texo.orm.annotations.model.orm.impl;version="0.1.0",
org.eclipse.emf.texo.orm.annotations.model.orm.util;version="0.1.0",
org.eclipse.emf.texo.orm.annotator;version="0.1.0",
org.eclipse.emf.texo.orm.ormannotations;version="0.1.0",
@@ -17,6 +18,7 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.5.0,4.0.0)",
org.eclipse.core.resources;bundle-version="[3.5.0,4.0.0)",
org.eclipse.emf.ecore;bundle-version="[2.5.0,3.0.0)",
org.eclipse.emf.ecore.xmi;bundle-version="[2.5.0,3.0.0)",
+ org.eclipse.emf.texo.orm;bundle-version="[0.1.0,1.1.0)";visibility:=reexport,
org.eclipse.emf.texo.annotations.model;bundle-version="[0.1.0,1.1.0)",
org.eclipse.emf.texo.generator;bundle-version="[0.1.0,1.1.0)",
org.eclipse.emf.texo;bundle-version="[0.1.0,1.1.0)",
diff --git a/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel b/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel
index 05e00d91..0198fd00 100644
--- a/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel
+++ b/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.texo.orm/src" modelPluginID="org.eclipse.emf.texo.orm"
- modelName="Eclipselink_orm" rootExtendsInterface="org.eclipse.emf.texo.orm.annotator.BaseOrmAnnotation"
+ modelName="Eclipselink_orm" nonNLSMarkers="true" rootExtendsInterface="org.eclipse.emf.texo.orm.annotator.BaseOrmAnnotation"
rootExtendsClass="org.eclipse.emf.texo.orm.annotator.BaseOrmAnnotationImpl" importerID="org.eclipse.xsd.ecore.importer"
complianceLevel="5.0" copyrightFields="false">
<foreignModel>eclipselink_orm.xsd</foreignModel>
diff --git a/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.genmodel b/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.genmodel
index c8d7016f..b8fb2ef6 100644
--- a/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.genmodel
+++ b/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.genmodel
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.texo.orm/src" modelPluginID="org.eclipse.emf.texo.orm"
- modelName="Texo-annotations-orm" suppressInterfaces="true" importerID="org.eclipse.emf.importer.ecore"
- complianceLevel="5.0" copyrightFields="false" usedGenPackages="eclipselink_orm.genmodel#//orm platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../org.eclipse.emf.texo.annotations.model/model/texo-annotations-model.genmodel#//annotationsmodel">
+ modelName="Texo-annotations-orm" nonNLSMarkers="true" suppressInterfaces="true"
+ importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" copyrightFields="false"
+ usedGenPackages="eclipselink_orm.genmodel#//orm platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../org.eclipse.emf.texo.annotations.model/model/texo-annotations-model.genmodel#//annotationsmodel">
<foreignModel>texo-annotations-orm.ecore</foreignModel>
<genPackages prefix="Ormannotations" basePackage="org.eclipse.emf.texo.orm" resource="XML"
disposableProviderFactory="true" ecorePackage="texo-annotations-orm.ecore#/">
diff --git a/generator/org.eclipse.emf.texo.orm/plugin.xml b/generator/org.eclipse.emf.texo.orm/plugin.xml
index aa1e9fbb..ef7ff97a 100755
--- a/generator/org.eclipse.emf.texo.orm/plugin.xml
+++ b/generator/org.eclipse.emf.texo.orm/plugin.xml
@@ -139,4 +139,18 @@
</extension>
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <!-- @generated texo-annotations-orm -->
+ <package
+ uri="http://www.eclipse.org/emf/texo/orm/ormannotations"
+ class="org.eclipse.emf.texo.orm.ormannotations.OrmannotationsPackage"
+ genModel="model/texo-annotations-orm.genmodel"/>
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <!-- @generated texo-annotations-orm -->
+ <parser
+ type="ormannotations"
+ class="org.eclipse.emf.texo.orm.ormannotations.util.OrmannotationsResourceFactoryImpl"/>
+ </extension>
</plugin>

Back to the top