Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/properties/org.eclipse.papyrus.infra.properties.edit/src-gen/org/eclipse/papyrus/infra/properties/ui/provider/WidgetAttributeItemProvider.java')
-rw-r--r--plugins/infra/properties/org.eclipse.papyrus.infra.properties.edit/src-gen/org/eclipse/papyrus/infra/properties/ui/provider/WidgetAttributeItemProvider.java44
1 files changed, 20 insertions, 24 deletions
diff --git a/plugins/infra/properties/org.eclipse.papyrus.infra.properties.edit/src-gen/org/eclipse/papyrus/infra/properties/ui/provider/WidgetAttributeItemProvider.java b/plugins/infra/properties/org.eclipse.papyrus.infra.properties.edit/src-gen/org/eclipse/papyrus/infra/properties/ui/provider/WidgetAttributeItemProvider.java
index 8b8d9fe6673..9c0eec1d91a 100644
--- a/plugins/infra/properties/org.eclipse.papyrus.infra.properties.edit/src-gen/org/eclipse/papyrus/infra/properties/ui/provider/WidgetAttributeItemProvider.java
+++ b/plugins/infra/properties/org.eclipse.papyrus.infra.properties.edit/src-gen/org/eclipse/papyrus/infra/properties/ui/provider/WidgetAttributeItemProvider.java
@@ -30,7 +30,6 @@ import org.eclipse.papyrus.infra.properties.ui.WidgetAttribute;
* This is the item provider adapter for a {@link org.eclipse.papyrus.infra.properties.ui.WidgetAttribute} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public class WidgetAttributeItemProvider
@@ -39,7 +38,6 @@ public class WidgetAttributeItemProvider
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public WidgetAttributeItemProvider(AdapterFactory adapterFactory) {
@@ -50,7 +48,6 @@ public class WidgetAttributeItemProvider
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -67,35 +64,36 @@ public class WidgetAttributeItemProvider
* This adds a property descriptor for the Name feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_WidgetAttribute_name_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_WidgetAttribute_name_feature", "_UI_WidgetAttribute_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- UiPackage.Literals.WIDGET_ATTRIBUTE__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_WidgetAttribute_name_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_WidgetAttribute_name_feature", "_UI_WidgetAttribute_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ UiPackage.Literals.WIDGET_ATTRIBUTE__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
}
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String getText(Object object) {
- String label = ((WidgetAttribute) object).getName();
- return label == null || label.length() == 0 ? getString("_UI_WidgetAttribute_type") : //$NON-NLS-1$
- getString("_UI_WidgetAttribute_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
+ String label = ((WidgetAttribute)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_WidgetAttribute_type") : //$NON-NLS-1$
+ getString("_UI_WidgetAttribute_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
}
/**
@@ -103,7 +101,6 @@ public class WidgetAttributeItemProvider
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -111,9 +108,9 @@ public class WidgetAttributeItemProvider
updateChildren(notification);
switch (notification.getFeatureID(WidgetAttribute.class)) {
- case UiPackage.WIDGET_ATTRIBUTE__NAME:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case UiPackage.WIDGET_ATTRIBUTE__NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
@@ -123,7 +120,6 @@ public class WidgetAttributeItemProvider
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override

Back to the top