summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Becker2011-10-05 09:56:32 (EDT)
committerJuergen Becker2011-10-05 09:56:32 (EDT)
commitb89aa8a11912d7838f540924ef01f1c88ddf1ec2 (patch)
tree92b698283c4e43c75a67c8148987752a0d8e6be4
parent37ec9b1da75d63db373a93c69d191da52739e0b1 (diff)
downloadorg.eclipse.riena-b89aa8a11912d7838f540924ef01f1c88ddf1ec2.zip
org.eclipse.riena-b89aa8a11912d7838f540924ef01f1c88ddf1ec2.tar.gz
org.eclipse.riena-b89aa8a11912d7838f540924ef01f1c88ddf1ec2.tar.bz2
reusing the UIProcessFinishedMarker prevents the UI flashing to happen
-rw-r--r--org.eclipse.riena.navigation.ui/src/org/eclipse/riena/internal/navigation/ui/marker/UIProcessFinishedObserver.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/org.eclipse.riena.navigation.ui/src/org/eclipse/riena/internal/navigation/ui/marker/UIProcessFinishedObserver.java b/org.eclipse.riena.navigation.ui/src/org/eclipse/riena/internal/navigation/ui/marker/UIProcessFinishedObserver.java
index c18c192..34d7082 100644
--- a/org.eclipse.riena.navigation.ui/src/org/eclipse/riena/internal/navigation/ui/marker/UIProcessFinishedObserver.java
+++ b/org.eclipse.riena.navigation.ui/src/org/eclipse/riena/internal/navigation/ui/marker/UIProcessFinishedObserver.java
@@ -10,7 +10,6 @@
*******************************************************************************/
package org.eclipse.riena.internal.navigation.ui.marker;
-import org.eclipse.riena.core.marker.IMarker;
import org.eclipse.riena.navigation.INavigationNode;
import org.eclipse.riena.ui.core.marker.UIProcessFinishedMarker;
import org.eclipse.riena.ui.core.uiprocess.IProgressVisualizer;
@@ -27,8 +26,6 @@ public class UIProcessFinishedObserver implements IProgressVisualizerObserver {
private final INavigationNode<?> baseNode;
- private final IMarker uiProcessFinishedMarker;
-
private final IUIProcessMarkupStrategy markupStrategy;
/**
@@ -40,7 +37,6 @@ public class UIProcessFinishedObserver implements IProgressVisualizerObserver {
*/
public UIProcessFinishedObserver(final INavigationNode<?> baseNode, final IUIProcessMarkupStrategy markupStrategy) {
this.baseNode = baseNode;
- uiProcessFinishedMarker = new UIProcessFinishedMarker();
this.markupStrategy = markupStrategy;
}
@@ -53,7 +49,7 @@ public class UIProcessFinishedObserver implements IProgressVisualizerObserver {
}
public void finalUpdateUI(final IProgressVisualizer visualizer) {
- getMarkupStrategy().applyUIProcessMarker(getBaseNode(), uiProcessFinishedMarker);
+ getMarkupStrategy().applyUIProcessMarker(getBaseNode(), new UIProcessFinishedMarker());
}
private IUIProcessMarkupStrategy getMarkupStrategy() {