Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-12-22 20:09:47 +0000
committerEike Stepper2010-12-22 20:09:47 +0000
commitbe25079fe43113bdfe2a9ce909eae34e299b4425 (patch)
tree68385fe5cac51a5c4feab97d449580dc0eb4ee97 /plugins/org.eclipse.emf.cdo.ui/src
parentf8e8a62790ef12d45509652b08e9c40f3a653dea (diff)
downloadcdo-be25079fe43113bdfe2a9ce909eae34e299b4425.tar.gz
cdo-be25079fe43113bdfe2a9ce909eae34e299b4425.tar.xz
cdo-be25079fe43113bdfe2a9ce909eae34e299b4425.zip
[333076] Support Ecore instances
https://bugs.eclipse.org/bugs/show_bug.cgi?id=333076
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.ui/src')
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/messages/messages.properties4
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/properties/CDOSessionPropertySource.java70
2 files changed, 57 insertions, 17 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/messages/messages.properties b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/messages/messages.properties
index 6e3eba689c..dcd7bfebda 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/messages/messages.properties
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/messages/messages.properties
@@ -83,6 +83,10 @@ CDOSessionPropertySource_24=Store Type
CDOSessionPropertySource_25=The type of the store that backs the repository of this session.
CDOSessionPropertySource_26=Object ID Types
CDOSessionPropertySource_27=The types of object IDs created by the store that backs the repository of this session.
+CDOSessionPropertySource_28=Supporting Ecore
+CDOSessionPropertySource_29=Whether the repository of this session is supporting Ecore instances.
+CDOSessionPropertySource_30=Ensure Referential Integrity
+CDOSessionPropertySource_31=Whether the repository of this session is ensuring referential integrity.
CDOSessionPropertySource_3=The ID of this session.
CDOSessionPropertySource_4=User
CDOSessionPropertySource_5=The ID of the authenticated user of this session.
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/properties/CDOSessionPropertySource.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/properties/CDOSessionPropertySource.java
index b73246cb63..1feb1bc8d4 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/properties/CDOSessionPropertySource.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/properties/CDOSessionPropertySource.java
@@ -48,6 +48,10 @@ public class CDOSessionPropertySource extends CDOPropertySource<CDOSession>
private static final String SUPPORTING_BRANCHES = "supportingBranches"; //$NON-NLS-1$
+ private static final String SUPPORTING_ECORE = "supportingEcore"; //$NON-NLS-1$
+
+ private static final String ENSURE_REFERENTIAL_INTEGRITY = "ensureReferentialIntegrity"; //$NON-NLS-1$
+
private static final String STORE_TYPE = "storeType"; //$NON-NLS-1$
private static final String OBJECT_ID_TYPES = "objectIDTypes"; //$NON-NLS-1$
@@ -55,32 +59,64 @@ public class CDOSessionPropertySource extends CDOPropertySource<CDOSession>
public CDOSessionPropertySource(CDOSession object)
{
super(object);
- addPropertyDescriptor(CATEGORY_SESSION, SESSION_ID,
- Messages.getString("CDOSessionPropertySource_0"), Messages.getString("CDOSessionPropertySource_3")); //$NON-NLS-1$ //$NON-NLS-2$
- addPropertyDescriptor(CATEGORY_SESSION, USER_ID,
- Messages.getString("CDOSessionPropertySource_4"), Messages.getString("CDOSessionPropertySource_5")); //$NON-NLS-1$ //$NON-NLS-2$
- addPropertyDescriptor(CATEGORY_SESSION, PASSIVE_UPDATE_ENABLED, Messages.getString("CDOSessionPropertySource_6"), //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_SESSION, SESSION_ID,//
+ Messages.getString("CDOSessionPropertySource_0"), //$NON-NLS-1$
+ Messages.getString("CDOSessionPropertySource_3")); //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_SESSION, USER_ID, //
+ Messages.getString("CDOSessionPropertySource_4"), Messages.getString("CDOSessionPropertySource_5")); //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_SESSION, PASSIVE_UPDATE_ENABLED, //
+ Messages.getString("CDOSessionPropertySource_6"), //$NON-NLS-1$
Messages.getString("CDOSessionPropertySource_7")); //$NON-NLS-1$
- addPropertyDescriptor(CATEGORY_SESSION, PASSIVE_UPDATE_MODE, Messages.getString("CDOSessionPropertySource_8"), //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_SESSION, PASSIVE_UPDATE_MODE, //
+ Messages.getString("CDOSessionPropertySource_8"), //$NON-NLS-1$
Messages.getString("CDOSessionPropertySource_9")); //$NON-NLS-1$
- addPropertyDescriptor(CATEGORY_REPOSITORY, REPOSITORY_NAME,
- Messages.getString("CDOSessionPropertySource_10"), Messages.getString("CDOSessionPropertySource_11")); //$NON-NLS-1$ //$NON-NLS-2$
- addPropertyDescriptor(CATEGORY_REPOSITORY, REPOSITORY_UUID,
- Messages.getString("CDOSessionPropertySource_12"), Messages.getString("CDOSessionPropertySource_13")); //$NON-NLS-1$ //$NON-NLS-2$
- addPropertyDescriptor(CATEGORY_REPOSITORY, REPOSITORY_TYPE, Messages.getString("CDOSessionPropertySource_14"), //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, REPOSITORY_NAME, //
+ Messages.getString("CDOSessionPropertySource_10"), //$NON-NLS-1$
+ Messages.getString("CDOSessionPropertySource_11")); //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, REPOSITORY_UUID, //
+ Messages.getString("CDOSessionPropertySource_12"), //$NON-NLS-1$
+ Messages.getString("CDOSessionPropertySource_13")); //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, REPOSITORY_TYPE, //
+ Messages.getString("CDOSessionPropertySource_14"), //$NON-NLS-1$
Messages.getString("CDOSessionPropertySource_15")); //$NON-NLS-1$
- addPropertyDescriptor(CATEGORY_REPOSITORY, REPOSITORY_STATE, Messages.getString("CDOSessionPropertySource_16"), //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, REPOSITORY_STATE, //
+ Messages.getString("CDOSessionPropertySource_16"), //$NON-NLS-1$
Messages.getString("CDOSessionPropertySource_17")); //$NON-NLS-1$
- addPropertyDescriptor(CATEGORY_REPOSITORY, REPOSITORY_CREATION_TIME,
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, REPOSITORY_CREATION_TIME, //
Messages.getString("CDOSessionPropertySource_18"), //$NON-NLS-1$
Messages.getString("CDOSessionPropertySource_19")); //$NON-NLS-1$
- addPropertyDescriptor(CATEGORY_REPOSITORY, SUPPORTING_AUDITS, Messages.getString("CDOSessionPropertySource_20"), //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, SUPPORTING_AUDITS, //
+ Messages.getString("CDOSessionPropertySource_20"), //$NON-NLS-1$
Messages.getString("CDOSessionPropertySource_21")); //$NON-NLS-1$
- addPropertyDescriptor(CATEGORY_REPOSITORY, SUPPORTING_BRANCHES, Messages.getString("CDOSessionPropertySource_22"), //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, SUPPORTING_BRANCHES, //
+ Messages.getString("CDOSessionPropertySource_22"), //$NON-NLS-1$
Messages.getString("CDOSessionPropertySource_23")); //$NON-NLS-1$
- addPropertyDescriptor(CATEGORY_REPOSITORY, STORE_TYPE, Messages.getString("CDOSessionPropertySource_24"), //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, SUPPORTING_ECORE, //
+ Messages.getString("CDOSessionPropertySource_28"), //$NON-NLS-1$
+ Messages.getString("CDOSessionPropertySource_29")); //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, ENSURE_REFERENTIAL_INTEGRITY, //
+ Messages.getString("CDOSessionPropertySource_30"), //$NON-NLS-1$
+ Messages.getString("CDOSessionPropertySource_31")); //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, STORE_TYPE, //
+ Messages.getString("CDOSessionPropertySource_24"), //$NON-NLS-1$
Messages.getString("CDOSessionPropertySource_25")); //$NON-NLS-1$
- addPropertyDescriptor(CATEGORY_REPOSITORY, OBJECT_ID_TYPES, Messages.getString("CDOSessionPropertySource_26"), //$NON-NLS-1$
+
+ addPropertyDescriptor(CATEGORY_REPOSITORY, OBJECT_ID_TYPES, //
+ Messages.getString("CDOSessionPropertySource_26"), //$NON-NLS-1$
Messages.getString("CDOSessionPropertySource_27")); //$NON-NLS-1$
}

Back to the top