summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2008-08-11 05:16:36 (EDT)
committerCarsten Drossel2008-08-11 05:16:36 (EDT)
commit11d05bda3fbc5f7ddae44503a33ee281f096d4ee (patch)
tree07ba9ac1dc1700367ce7b62581ac6fa68ff91718
parent631b2662cec01058719533732683e45d314f2862 (diff)
downloadorg.eclipse.riena-11d05bda3fbc5f7ddae44503a33ee281f096d4ee.zip
org.eclipse.riena-11d05bda3fbc5f7ddae44503a33ee281f096d4ee.tar.gz
org.eclipse.riena-11d05bda3fbc5f7ddae44503a33ee281f096d4ee.tar.bz2
applying patch for bugzilla entry 243590 - Fix for NPE when navigate on disposed nodes
-rw-r--r--org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNode.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNode.java b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNode.java
index 7c98213..0f051e8 100644
--- a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNode.java
+++ b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNode.java
@@ -918,21 +918,24 @@ public abstract class NavigationNode<S extends INavigationNode<C>, C extends INa
* The node where we have navigate to and return from
*/
public void navigateBack() {
- getNavigationProcessor().navigateBack(this);
+ if (getNavigationProcessor() != null)
+ getNavigationProcessor().navigateBack(this);
}
/**
* @see org.eclipse.riena.navigation.INavigationHistory#historyBack()
*/
public void historyBack() {
- getNavigationProcessor().historyBack();
+ if (getNavigationProcessor() != null)
+ getNavigationProcessor().historyBack();
}
/**
* @see org.eclipse.riena.navigation.INavigationHistory#historyPrev()
*/
public void historyForward() {
- getNavigationProcessor().historyForward();
+ if (getNavigationProcessor() != null)
+ getNavigationProcessor().historyForward();
}
/**