summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2008-07-25 09:28:04 (EDT)
committerCarsten Drossel2008-07-25 09:28:04 (EDT)
commitb279dbb4880760e72e9112c15a1b5f44560a054b (patch)
treed5a28f368fbe03a2ec508f4951c8418d18f2a0b0
parent3ae239be3a96b12644b039216f72cd4339532694 (diff)
downloadorg.eclipse.riena-b279dbb4880760e72e9112c15a1b5f44560a054b.zip
org.eclipse.riena-b279dbb4880760e72e9112c15a1b5f44560a054b.tar.gz
org.eclipse.riena-b279dbb4880760e72e9112c15a1b5f44560a054b.tar.bz2
releasing business controllers used by view controllers, keeping list of users for each business context
-rw-r--r--org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/IPresentationProviderService.java2
-rw-r--r--org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/PresentationProviderService.java5
2 files changed, 4 insertions, 3 deletions
diff --git a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/IPresentationProviderService.java b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/IPresentationProviderService.java
index 7b5614c..dd2d8d7 100644
--- a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/IPresentationProviderService.java
+++ b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/IPresentationProviderService.java
@@ -44,7 +44,7 @@ public interface IPresentationProviderService {
* navigationNodeId
*/
- IViewController createViewController(INavigationNodeId targetId);
+ IViewController createViewController(INavigationNode node);
/**
* Return true if the specified view should be a shared view, false
diff --git a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/PresentationProviderService.java b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/PresentationProviderService.java
index 5be3052..f4c3b85 100644
--- a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/PresentationProviderService.java
+++ b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/PresentationProviderService.java
@@ -161,8 +161,9 @@ public class PresentationProviderService implements IPresentationProviderService
* @seeorg.eclipse.riena.navigation.IPresentationDefinitionService#
* createViewController()
*/
- public IViewController createViewController(INavigationNodeId targetId) {
- IWorkAreaPresentationDefinition presentationDefinition = getPresentationDefinitionWA(targetId.getTypeId());
+ public IViewController createViewController(INavigationNode node) {
+ IWorkAreaPresentationDefinition presentationDefinition = getPresentationDefinitionWA(node.getPresentationId()
+ .getTypeId());
IViewController viewController = null;
if (presentationDefinition != null) {