Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ClassifierWithNestedClassifiersShapeItemProvider.java')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ClassifierWithNestedClassifiersShapeItemProvider.java35
1 files changed, 17 insertions, 18 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ClassifierWithNestedClassifiersShapeItemProvider.java b/extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ClassifierWithNestedClassifiersShapeItemProvider.java
index b1bd0a4c15e..ea5972da4ee 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ClassifierWithNestedClassifiersShapeItemProvider.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ClassifierWithNestedClassifiersShapeItemProvider.java
@@ -11,7 +11,6 @@
*/
package org.eclipse.papyrus.umldi.provider;
-
import java.util.Collection;
import java.util.List;
@@ -31,13 +30,16 @@ import org.eclipse.papyrus.umldi.UMLDIPackage;
* This is the item provider adapter for a {@link org.eclipse.papyrus.umldi.ClassifierWithNestedClassifiersShape} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class ClassifierWithNestedClassifiersShapeItemProvider extends ClassifierWithReceptionsShapeItemProvider {
+
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ClassifierWithNestedClassifiersShapeItemProvider(AdapterFactory adapterFactory) {
@@ -48,13 +50,13 @@ public class ClassifierWithNestedClassifiersShapeItemProvider extends Classifier
* 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) {
+ if(itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
-
}
return itemPropertyDescriptors;
}
@@ -65,11 +67,12 @@ public class ClassifierWithNestedClassifiersShapeItemProvider extends Classifier
* {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
+ if(childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(UMLDIPackage.Literals.CLASSIFIER_WITH_NESTED_CLASSIFIERS_SHAPE__NESTED_CLASSIFIER_COMPARTMENT);
}
@@ -79,13 +82,13 @@ public class ClassifierWithNestedClassifiersShapeItemProvider extends Classifier
/**
* <!-- 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.
-
return super.getChildFeature(object, child);
}
@@ -93,30 +96,30 @@ public class ClassifierWithNestedClassifiersShapeItemProvider extends Classifier
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object) {
ClassifierWithNestedClassifiersShape classifierWithNestedClassifiersShape = (ClassifierWithNestedClassifiersShape)object;
- return getString("_UI_ClassifierWithNestedClassifiersShape_type") + " " + classifierWithNestedClassifiersShape.isUseClassifierNotation();
+ return getString("_UI_ClassifierWithNestedClassifiersShape_type") + " " + classifierWithNestedClassifiersShape.isShowStereotypeAttributes();
}
-
/**
* 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(ClassifierWithNestedClassifiersShape.class)) {
- case UMLDIPackage.CLASSIFIER_WITH_NESTED_CLASSIFIERS_SHAPE__NESTED_CLASSIFIER_COMPARTMENT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ switch(notification.getFeatureID(ClassifierWithNestedClassifiersShape.class)) {
+ case UMLDIPackage.CLASSIFIER_WITH_NESTED_CLASSIFIERS_SHAPE__NESTED_CLASSIFIER_COMPARTMENT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
@@ -126,16 +129,12 @@ public class ClassifierWithNestedClassifiersShapeItemProvider extends Classifier
* 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
- (UMLDIPackage.Literals.CLASSIFIER_WITH_NESTED_CLASSIFIERS_SHAPE__NESTED_CLASSIFIER_COMPARTMENT,
- UMLDIFactory.eINSTANCE.createNestedClassifierCompartment()));
+ newChildDescriptors.add(createChildParameter(UMLDIPackage.Literals.CLASSIFIER_WITH_NESTED_CLASSIFIERS_SHAPE__NESTED_CLASSIFIER_COMPARTMENT, UMLDIFactory.eINSTANCE.createNestedClassifierCompartment()));
}
-
}

Back to the top