summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-11-13 02:02:42 (EST)
committerEike Stepper2007-11-13 02:02:42 (EST)
commitf998f51419024637ce2183e62879812f471ef03d (patch)
tree971ea8bea32b943a52543203bc33b66a2d2f45b7
parent4c345d8c22fe98f8a38c64389be4c1d0d29d42cd (diff)
downloadcdo-f998f51419024637ce2183e62879812f471ef03d.zip
cdo-f998f51419024637ce2183e62879812f471ef03d.tar.gz
cdo-f998f51419024637ce2183e62879812f471ef03d.tar.bz2
[209176] Add CDOView.reload() API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=209176
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/ReloadViewAction.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/ReloadViewAction.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/ReloadViewAction.java
index 9cda24e..28fc51a 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/ReloadViewAction.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/ReloadViewAction.java
@@ -22,8 +22,7 @@ public final class ReloadViewAction extends ViewAction
@Override
protected void doRun() throws Exception
{
- int num = getView().reload();
- if (num != 0)
+ if (getView().reload() != 0)
{
CDOEditor.refresh(getPage(), getView());
}