summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-11-08 03:46:25 (EST)
committerEike Stepper2007-11-08 03:46:25 (EST)
commitf1bc8bdbb7f7df876f305e0341c74f15e28ca0c0 (patch)
treedfd575289ab66c1483946d14c0fca9be0feb54e3
parent885f78ac6e6f5c8e3d9556c45df066d5780bdc0f (diff)
downloadcdo-f1bc8bdbb7f7df876f305e0341c74f15e28ca0c0.zip
cdo-f1bc8bdbb7f7df876f305e0341c74f15e28ca0c0.tar.gz
cdo-f1bc8bdbb7f7df876f305e0341c74f15e28ca0c0.tar.bz2
[209007] Add CDOObject.cdoRefresh() API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=209007
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java
index e547f00..9d5379e 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java
@@ -369,14 +369,14 @@ public final class CDOStateMachine extends FiniteStateMachine<CDOState, CDOEvent
{
public void execute(InternalCDOObject object, CDOState state, CDOEvent event, boolean[] forceAndResult)
{
- // TODO Implement method RefreshTransition.execute()
- throw new UnsupportedOperationException("Not yet implemented");
+ if (forceAndResult[0])
+ {
+ // CDOViewImpl view = (CDOViewImpl)object.cdoView();
+ // view.removeObject(object.cdoID());
+ }
- // if (forceAndResult[0])
- // {
- // }
- //
- // changeState(object, CDOState.CLEAN);
+ // TODO Implement method RefreshTransition.execute()
+ changeState(object, CDOState.PROXY);
}
}