Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.examples.company.edit/src/org/eclipse/emf/cdo/examples/company/provider/AddressItemProvider.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.company.edit/src/org/eclipse/emf/cdo/examples/company/provider/AddressItemProvider.java25
1 files changed, 14 insertions, 11 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.company.edit/src/org/eclipse/emf/cdo/examples/company/provider/AddressItemProvider.java b/plugins/org.eclipse.emf.cdo.examples.company.edit/src/org/eclipse/emf/cdo/examples/company/provider/AddressItemProvider.java
index 715510a28c..d28376d919 100644
--- a/plugins/org.eclipse.emf.cdo.examples.company.edit/src/org/eclipse/emf/cdo/examples/company/provider/AddressItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.examples.company.edit/src/org/eclipse/emf/cdo/examples/company/provider/AddressItemProvider.java
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -51,7 +51,7 @@ public class AddressItemProvider extends CDOItemProviderAdapter implements IEdit
*
* @generated
*/
- public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+ public static final String copyright = "Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
/**
* This constructs an instance from a factory and a notifier. <!-- begin-user-doc --> <!-- end-user-doc -->
@@ -89,9 +89,10 @@ public class AddressItemProvider extends CDOItemProviderAdapter implements IEdit
*/
protected void addNamePropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(), getString("_UI_Address_name_feature"), getString(
- "_UI_PropertyDescriptor_description", "_UI_Address_name_feature", "_UI_Address_type"),
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(
+ ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(),
+ getString("_UI_Address_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Address_name_feature", "_UI_Address_type"),
CompanyPackage.Literals.ADDRESS__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
null));
}
@@ -103,9 +104,10 @@ public class AddressItemProvider extends CDOItemProviderAdapter implements IEdit
*/
protected void addStreetPropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(), getString("_UI_Address_street_feature"), getString(
- "_UI_PropertyDescriptor_description", "_UI_Address_street_feature", "_UI_Address_type"),
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(
+ ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(),
+ getString("_UI_Address_street_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Address_street_feature", "_UI_Address_type"),
CompanyPackage.Literals.ADDRESS__STREET, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
null));
}
@@ -117,9 +119,10 @@ public class AddressItemProvider extends CDOItemProviderAdapter implements IEdit
*/
protected void addCityPropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
- .getRootAdapterFactory(), getResourceLocator(), getString("_UI_Address_city_feature"), getString(
- "_UI_PropertyDescriptor_description", "_UI_Address_city_feature", "_UI_Address_type"),
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(
+ ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(),
+ getString("_UI_Address_city_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Address_city_feature", "_UI_Address_type"),
CompanyPackage.Literals.ADDRESS__CITY, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
null));
}

Back to the top