summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2008-08-12 03:47:46 (EDT)
committerCarsten Drossel2008-08-12 03:47:46 (EDT)
commit01bd986ae8bdd30397c0bebd880c7d72ec760644 (patch)
tree17e1548743070f9c7d9825a772b8397ac716c6c9
parent1c47c7e8182ed6d549496b0d219e94cd43a44767 (diff)
downloadorg.eclipse.riena-01bd986ae8bdd30397c0bebd880c7d72ec760644.zip
org.eclipse.riena-01bd986ae8bdd30397c0bebd880c7d72ec760644.tar.gz
org.eclipse.riena-01bd986ae8bdd30397c0bebd880c7d72ec760644.tar.bz2
instead of creating a view instance get the bundle (allows to load a class)
-rw-r--r--org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/ISubModuleTypeDefinition.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/ISubModuleTypeDefinition.java b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/ISubModuleTypeDefinition.java
index e9aefe4..9cf7806 100644
--- a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/ISubModuleTypeDefinition.java
+++ b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/ISubModuleTypeDefinition.java
@@ -10,7 +10,9 @@
*******************************************************************************/
package org.eclipse.riena.navigation;
+import org.eclipse.riena.core.extension.MapContributor;
import org.eclipse.riena.ui.ridgets.viewcontroller.IViewController;
+import org.osgi.framework.Bundle;
/**
* A WorkAreaPresentationDefinition defines the work area to be activated.
@@ -36,14 +38,11 @@ public interface ISubModuleTypeDefinition extends ITypeDefinition {
boolean isShared();
/**
- * Return an instance of a view
- *
- */
- Object createView();
-
- /**
* Return an view name
*/
String getView();
+ @MapContributor
+ Bundle getContributingBundle();
+
}