Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-12-17 04:15:21 -0500
committerEike Stepper2007-12-17 04:15:21 -0500
commitfa0f7794dd9e7e979a4b4ed3972f2179e5eb1281 (patch)
tree9e4bd4188e1ed40e9b8c7925d2422bf7d76da13c /plugins/org.eclipse.emf.cdo.edit
parent43e0ea1a154a43c38b92564750839a2796b546bd (diff)
downloadcdo-fa0f7794dd9e7e979a4b4ed3972f2179e5eb1281.tar.gz
cdo-fa0f7794dd9e7e979a4b4ed3972f2179e5eb1281.tar.xz
cdo-fa0f7794dd9e7e979a4b4ed3972f2179e5eb1281.zip
[213150] Migrate CDO to EMF 2.4M4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=213150
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.edit')
-rw-r--r--plugins/org.eclipse.emf.cdo.edit/plugin.properties1
-rw-r--r--plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/eresource/provider/CDOResourceItemProvider.java16
2 files changed, 17 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.edit/plugin.properties b/plugins/org.eclipse.emf.cdo.edit/plugin.properties
index adbc2dafae..0de47247b1 100644
--- a/plugins/org.eclipse.emf.cdo.edit/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.edit/plugin.properties
@@ -48,3 +48,4 @@ _UI_Unknown_feature = Unspecified
# %%% END OF TRANSLATED PROPERTIES %%%
# The above properties have been shipped for translation.
# ==============================================================================
+_UI_CDOResource_timeStamp_feature = Time Stamp
diff --git a/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/eresource/provider/CDOResourceItemProvider.java b/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/eresource/provider/CDOResourceItemProvider.java
index 849f1cffe4..a985a19126 100644
--- a/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/eresource/provider/CDOResourceItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/eresource/provider/CDOResourceItemProvider.java
@@ -63,6 +63,7 @@ public class CDOResourceItemProvider extends ItemProviderAdapter implements IEdi
addModifiedPropertyDescriptor(object);
addLoadedPropertyDescriptor(object);
addTrackingModificationPropertyDescriptor(object);
+ addTimeStampPropertyDescriptor(object);
addPathPropertyDescriptor(object);
}
return itemPropertyDescriptors;
@@ -126,6 +127,20 @@ public class CDOResourceItemProvider extends ItemProviderAdapter implements IEdi
}
/**
+ * This adds a property descriptor for the Time Stamp feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected void addTimeStampPropertyDescriptor(Object object)
+ {
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_CDOResource_timeStamp_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_CDOResource_timeStamp_feature", "_UI_CDOResource_type"),
+ EresourcePackage.Literals.CDO_RESOURCE__TIME_STAMP, true, false, false,
+ ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null));
+ }
+
+ /**
* This adds a property descriptor for the Path feature. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
@@ -215,6 +230,7 @@ public class CDOResourceItemProvider extends ItemProviderAdapter implements IEdi
case EresourcePackage.CDO_RESOURCE__TRACKING_MODIFICATION:
case EresourcePackage.CDO_RESOURCE__ERRORS:
case EresourcePackage.CDO_RESOURCE__WARNINGS:
+ case EresourcePackage.CDO_RESOURCE__TIME_STAMP:
case EresourcePackage.CDO_RESOURCE__PATH:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;

Back to the top