summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-22 04:44:56 (EST)
committerCarsten Drossel2009-01-22 04:44:56 (EST)
commitda03e5bc4859d458e4c0284965c4c40780442efe (patch)
tree06ec049a7a9c3dbced65eacc144e13d3c387eeee
parent42c19cb3ee940870f234b94c3733373f0d7f6444 (diff)
downloadorg.eclipse.riena-da03e5bc4859d458e4c0284965c4c40780442efe.zip
org.eclipse.riena-da03e5bc4859d458e4c0284965c4c40780442efe.tar.gz
org.eclipse.riena-da03e5bc4859d458e4c0284965c4c40780442efe.tar.bz2
handling TODO: showing markers only if Ridget is visible
-rw-r--r--org.eclipse.riena.navigation.ui/src/org/eclipse/riena/navigation/ui/controllers/NavigationNodeController.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/org.eclipse.riena.navigation.ui/src/org/eclipse/riena/navigation/ui/controllers/NavigationNodeController.java b/org.eclipse.riena.navigation.ui/src/org/eclipse/riena/navigation/ui/controllers/NavigationNodeController.java
index 01b131b..4524827 100644
--- a/org.eclipse.riena.navigation.ui/src/org/eclipse/riena/navigation/ui/controllers/NavigationNodeController.java
+++ b/org.eclipse.riena.navigation.ui/src/org/eclipse/riena/navigation/ui/controllers/NavigationNodeController.java
@@ -188,10 +188,7 @@ public abstract class NavigationNodeController<N extends INavigationNode<?>> ext
private void addRidgetMarkers(IRidget ridget, List<IMarker> combinedMarkers) {
- if (ridget instanceof IMarkableRidget) {
- // TODO: scp ridget.isShowing()
- // if (ridget instanceof IMarkableRidget && ((IMarkableRidget)
- // ridget).isShowing()) {
+ if (ridget instanceof IMarkableRidget && ((IMarkableRidget) ridget).isVisible()) {
addRidgetMarkers((IMarkableRidget) ridget, combinedMarkers);
} else if (ridget instanceof IRidgetContainer) {
addRidgetMarkers((IRidgetContainer) ridget, combinedMarkers);