diff options
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ListCompartmentItemProvider.java')
-rw-r--r-- | extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ListCompartmentItemProvider.java | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ListCompartmentItemProvider.java b/extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ListCompartmentItemProvider.java index cc969b81fe4..812c578acff 100644 --- a/extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ListCompartmentItemProvider.java +++ b/extraplugins/diagram-definition/org.eclipse.papyrus.umldi.edit/src-gen/org/eclipse/papyrus/umldi/provider/ListCompartmentItemProvider.java @@ -11,7 +11,6 @@ */ package org.eclipse.papyrus.umldi.provider; - import java.util.Collection; import java.util.List; @@ -29,13 +28,16 @@ import org.eclipse.papyrus.umldi.UMLDIPackage; * This is the item provider adapter for a {@link org.eclipse.papyrus.umldi.ListCompartment} object. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public class ListCompartmentItemProvider extends UmlCompartmentItemProvider { + /** * This constructs an instance from a factory and a notifier. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public ListCompartmentItemProvider(AdapterFactory adapterFactory) { @@ -46,13 +48,13 @@ public class ListCompartmentItemProvider extends UmlCompartmentItemProvider { * 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; } @@ -63,11 +65,12 @@ public class ListCompartmentItemProvider extends UmlCompartmentItemProvider { * {@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.LIST_COMPARTMENT__LIST_ITEM_LABEL); } @@ -77,13 +80,13 @@ public class ListCompartmentItemProvider extends UmlCompartmentItemProvider { /** * <!-- 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); } @@ -91,29 +94,29 @@ public class ListCompartmentItemProvider extends UmlCompartmentItemProvider { * This returns the label text for the adapted class. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public String getText(Object object) { return getString("_UI_ListCompartment_type"); } - /** * 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(ListCompartment.class)) { - case UMLDIPackage.LIST_COMPARTMENT__LIST_ITEM_LABEL: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; + switch(notification.getFeatureID(ListCompartment.class)) { + case UMLDIPackage.LIST_COMPARTMENT__LIST_ITEM_LABEL: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; } super.notifyChanged(notification); } @@ -123,16 +126,12 @@ public class ListCompartmentItemProvider extends UmlCompartmentItemProvider { * 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.LIST_COMPARTMENT__LIST_ITEM_LABEL, - UMLDIFactory.eINSTANCE.createListItemLabel())); + newChildDescriptors.add(createChildParameter(UMLDIPackage.Literals.LIST_COMPARTMENT__LIST_ITEM_LABEL, UMLDIFactory.eINSTANCE.createListItemLabel())); } - } |