summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-22 08:47:04 (EST)
committerCarsten Drossel2009-01-22 08:47:04 (EST)
commit885bffd55c6fdf20883525582807d61690e7437e (patch)
treeacdbeee93768b2159b8a44d4efb858518f905852
parentb1df808026c57325525f7ff72b8a6948877fc224 (diff)
downloadorg.eclipse.riena-885bffd55c6fdf20883525582807d61690e7437e.zip
org.eclipse.riena-885bffd55c6fdf20883525582807d61690e7437e.tar.gz
org.eclipse.riena-885bffd55c6fdf20883525582807d61690e7437e.tar.bz2
handling TODO
-rw-r--r--org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubApplicationView.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubApplicationView.java b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubApplicationView.java
index 5f0e394..05dc7fd 100644
--- a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubApplicationView.java
+++ b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubApplicationView.java
@@ -225,8 +225,13 @@ public class SubApplicationView implements INavigationNodeView<SubApplicationCon
}
public void unbind() {
- // TODO impl !!
-
+ if (getNavigationNode() != null && getNavigationNode().getNavigationNodeController() instanceof IController) {
+ IController controller = (IController) getNavigationNode().getNavigationNodeController();
+ binding.unbind(controller);
+ if (menuItemBindingManager != null) {
+ menuItemBindingManager.unbind(controller, getUIControls());
+ }
+ }
}
/**