Permalink
Browse files

use custom item provider class for new metaclasses Annotation,

AnnotationEntry and AnnotationDefinition
icons for the latter two are missing since Ecore does not have
equivalent elements
  • Loading branch information...
1 parent 7b9ad00 commit 6b5309bccae1db66b49eed32044feeda09ed153e @mirkoseifert mirkoseifert committed Apr 3, 2013
View
24 ...ecore.edit/src/org/emftext/language/mecore/provider/MecoreItemProviderAdapterFactory.java
@@ -493,22 +493,22 @@ public Adapter createMSuperTypeReferenceAdapter() {
* This keeps track of the one adapter used for all {@link org.emftext.language.mecore.MAnnotation} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
+ * @generated NOT
*/
- protected MAnnotationItemProvider mAnnotationItemProvider;
+ protected MecoreItemProviderAdapter mAnnotationItemProvider;
/**
* This creates an adapter for a {@link org.emftext.language.mecore.MAnnotation}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
+ * @generated NOT
*/
@Override
public Adapter createMAnnotationAdapter()
{
if (mAnnotationItemProvider == null)
{
- mAnnotationItemProvider = new MAnnotationItemProvider(this);
+ mAnnotationItemProvider = new MecoreItemProviderAdapter(this);
}
return mAnnotationItemProvider;
@@ -518,22 +518,22 @@ public Adapter createMAnnotationAdapter()
* This keeps track of the one adapter used for all {@link org.emftext.language.mecore.MAnnotationEntry} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
+ * @generated NOT
*/
- protected MAnnotationEntryItemProvider mAnnotationEntryItemProvider;
+ protected MecoreItemProviderAdapter mAnnotationEntryItemProvider;
/**
* This creates an adapter for a {@link org.emftext.language.mecore.MAnnotationEntry}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
+ * @generated NOT
*/
@Override
public Adapter createMAnnotationEntryAdapter()
{
if (mAnnotationEntryItemProvider == null)
{
- mAnnotationEntryItemProvider = new MAnnotationEntryItemProvider(this);
+ mAnnotationEntryItemProvider = new MecoreItemProviderAdapter(this);
}
return mAnnotationEntryItemProvider;
@@ -543,22 +543,22 @@ public Adapter createMAnnotationEntryAdapter()
* This keeps track of the one adapter used for all {@link org.emftext.language.mecore.MAnnotationDefinition} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
+ * @generated NOT
*/
- protected MAnnotationDefinitionItemProvider mAnnotationDefinitionItemProvider;
+ protected MecoreItemProviderAdapter mAnnotationDefinitionItemProvider;
/**
* This creates an adapter for a {@link org.emftext.language.mecore.MAnnotationDefinition}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
+ * @generated NOT
*/
@Override
public Adapter createMAnnotationDefinitionAdapter()
{
if (mAnnotationDefinitionItemProvider == null)
{
- mAnnotationDefinitionItemProvider = new MAnnotationDefinitionItemProvider(this);
+ mAnnotationDefinitionItemProvider = new MecoreItemProviderAdapter(this);
}
return mAnnotationDefinitionItemProvider;

0 comments on commit 6b5309b

Please sign in to comment.