summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Kriese2011-03-14 12:47:29 (EDT)
committerSteffen Kriese2011-03-14 12:47:29 (EDT)
commit5edb5ec301f07e51431a7f17adce59f7d5229688 (patch)
tree819cb38f7d2a72db699b659451650470f565854c
parent59afbfa9fd3803985363bcb085068d84525a56bc (diff)
downloadorg.eclipse.riena-5edb5ec301f07e51431a7f17adce59f7d5229688.zip
org.eclipse.riena-5edb5ec301f07e51431a7f17adce59f7d5229688.tar.gz
org.eclipse.riena-5edb5ec301f07e51431a7f17adce59f7d5229688.tar.bz2
SubModuleView.register() must not be called, while we are in designTime
-rw-r--r--org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubModuleView.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubModuleView.java b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubModuleView.java
index 0ae8b04..75064ca 100644
--- a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubModuleView.java
+++ b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubModuleView.java
@@ -228,11 +228,10 @@ public abstract class SubModuleView extends ViewPart implements INavigationNodeV
contentComposite.setData(TitlelessStackPresentation.DATA_KEY_CONTENT_COMPOSITE, true);
createWorkarea(contentComposite);
- registerView();
-
if (Beans.isDesignTime()) {
lnfUpdater.updateUIControls(getParentComposite(), true);
} else {
+ registerView();
createViewFacade();
doBinding();