diff options
author | Eike Stepper | 2010-02-02 11:39:48 +0000 |
---|---|---|
committer | Eike Stepper | 2010-02-02 11:39:48 +0000 |
commit | dc758eb87d5c2f0e802e49de4ca6173d3d94a2c8 (patch) | |
tree | ee1091aac506313694923c73871275551cbc714d /plugins/org.eclipse.emf.cdo.defs/src | |
parent | 09f6a7f80829204abd2c2bf2511ba3b4e65c81c8 (diff) | |
download | cdo-dc758eb87d5c2f0e802e49de4ca6173d3d94a2c8.tar.gz cdo-dc758eb87d5c2f0e802e49de4ca6173d3d94a2c8.tar.xz cdo-dc758eb87d5c2f0e802e49de4ca6173d3d94a2c8.zip |
[270716] Provide support for branching
https://bugs.eclipse.org/bugs/show_bug.cgi?id=270716
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.defs/src')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOAuditDefImpl.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOAuditDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOAuditDefImpl.java index 9a0e9142db..d15e56975d 100644 --- a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOAuditDefImpl.java +++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOAuditDefImpl.java @@ -4,7 +4,7 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Andre Dietisheim - initial API and implementation * Eike Stepper - maintenance @@ -97,8 +97,10 @@ public class CDOAuditDefImpl extends CDOViewDefImpl implements CDOAuditDef Date oldTimeStamp = timeStamp; timeStamp = newTimeStamp; if (eNotificationRequired()) + { eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_AUDIT_DEF__TIME_STAMP, oldTimeStamp, timeStamp)); + } } /** @@ -176,7 +178,9 @@ public class CDOAuditDefImpl extends CDOViewDefImpl implements CDOAuditDef public String toString() { if (eIsProxy()) + { return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (timeStamp: "); @@ -189,7 +193,7 @@ public class CDOAuditDefImpl extends CDOViewDefImpl implements CDOAuditDef protected Object createInstance() { CDOSession cdoSession = (CDOSession)getCdoSessionDef().getInstance(); - return cdoSession.openAudit(getTimeStamp().getTime()); + return cdoSession.openView(getTimeStamp().getTime()); } @Override |