Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-12-08 07:39:19 +0000
committerEike Stepper2011-12-08 07:39:19 +0000
commitf3d3e6d3b7c451989fba78bdd80ad7751cb95c0f (patch)
treeeb2fa6dd912642f605eb2487f3f15971f33b5a79 /plugins/org.eclipse.emf.cdo.ui
parentc8b2dd559e7dcbc28bb1f8b3e9623d7a42165bea (diff)
downloadcdo-f3d3e6d3b7c451989fba78bdd80ad7751cb95c0f.tar.gz
cdo-f3d3e6d3b7c451989fba78bdd80ad7751cb95c0f.tar.xz
cdo-f3d3e6d3b7c451989fba78bdd80ad7751cb95c0f.zip
[365719] Disambiguate CDOView.enableDurableLocking(boolean)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=365719
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.ui')
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/DisableViewDurabilityAction.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/EnableViewDurabilityAction.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/DisableViewDurabilityAction.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/DisableViewDurabilityAction.java
index 0677a35df1..3676cb7448 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/DisableViewDurabilityAction.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/DisableViewDurabilityAction.java
@@ -34,6 +34,6 @@ public final class DisableViewDurabilityAction extends ViewAction
@Override
protected void doRun(IProgressMonitor progressMonitor) throws Exception
{
- getView().enableDurableLocking(false);
+ getView().disableDurableLocking(false);
}
}
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/EnableViewDurabilityAction.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/EnableViewDurabilityAction.java
index fbbeb6a896..3f657c5e69 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/EnableViewDurabilityAction.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/EnableViewDurabilityAction.java
@@ -38,7 +38,7 @@ public final class EnableViewDurabilityAction extends ViewAction
@Override
protected void doRun(IProgressMonitor progressMonitor) throws Exception
{
- final String durableLockingID = getView().enableDurableLocking(true);
+ final String durableLockingID = getView().enableDurableLocking();
final Display display = getDisplay();
display.syncExec(new Runnable()

Back to the top