Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java')
-rw-r--r--extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java47
1 files changed, 47 insertions, 0 deletions
diff --git a/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java b/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java
index 63db2fadc48..03c72c85be3 100644
--- a/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java
+++ b/extraplugins/java/org.eclipse.papyrus.java.profile.edit/src/org/eclipse/papyrus/java/profile/java/provider/JavaClassItemProvider.java
@@ -65,6 +65,8 @@ public class JavaClassItemProvider
addIsFinalPropertyDescriptor(object);
addIsAbstractPropertyDescriptor(object);
addIsStaticPropertyDescriptor(object);
+ addExplicitPlainTextRequiredImportsPropertyDescriptor(object);
+ addExplicitRequiredImportsPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -158,6 +160,50 @@ public class JavaClassItemProvider
}
/**
+ * This adds a property descriptor for the Explicit Plain Text Required Imports feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addExplicitPlainTextRequiredImportsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JavaClass_explicitPlainTextRequiredImports_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JavaClass_explicitPlainTextRequiredImports_feature", "_UI_JavaClass_type"),
+ JavaPackage.Literals.JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Explicit Required Imports feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addExplicitRequiredImportsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_JavaClass_explicitRequiredImports_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_JavaClass_explicitRequiredImports_feature", "_UI_JavaClass_type"),
+ JavaPackage.Literals.JAVA_CLASS__EXPLICIT_REQUIRED_IMPORTS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
* This returns JavaClass.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -197,6 +243,7 @@ public class JavaClassItemProvider
case JavaPackage.JAVA_CLASS__IS_FINAL:
case JavaPackage.JAVA_CLASS__IS_ABSTRACT:
case JavaPackage.JAVA_CLASS__IS_STATIC:
+ case JavaPackage.JAVA_CLASS__EXPLICIT_PLAIN_TEXT_REQUIRED_IMPORTS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}

Back to the top