summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2008-09-05 08:09:05 (EDT)
committerCarsten Drossel2008-09-05 08:09:05 (EDT)
commitad8dbe11c9d24868247b4f9c12d6d92a85fe3524 (patch)
treefe457c5ad487e57c3fe311074972de31e11fa2e5
parent4cd27d11d5e40b322179668d8edb1c0bdad53466 (diff)
downloadorg.eclipse.riena.toolbox-ad8dbe11c9d24868247b4f9c12d6d92a85fe3524.zip
org.eclipse.riena.toolbox-ad8dbe11c9d24868247b4f9c12d6d92a85fe3524.tar.gz
org.eclipse.riena.toolbox-ad8dbe11c9d24868247b4f9c12d6d92a85fe3524.tar.bz2
updated templates after the latest renamings
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.3/helloRiena/java/$applicationClass$.java16
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.3/mail/java/$applicationClass$.java16
2 files changed, 16 insertions, 16 deletions
diff --git a/org.eclipse.riena.ui.templates/templates_3.3/helloRiena/java/$applicationClass$.java b/org.eclipse.riena.ui.templates/templates_3.3/helloRiena/java/$applicationClass$.java
index 5e26618..63410fe 100644
--- a/org.eclipse.riena.ui.templates/templates_3.3/helloRiena/java/$applicationClass$.java
+++ b/org.eclipse.riena.ui.templates/templates_3.3/helloRiena/java/$applicationClass$.java
@@ -1,18 +1,18 @@
package $packageName$;
-import org.eclipse.riena.navigation.IApplicationModel;
+import org.eclipse.riena.navigation.IApplicationNode;
import org.eclipse.riena.navigation.IModuleGroupNode;
import org.eclipse.riena.navigation.IModuleNode;
import org.eclipse.riena.navigation.ISubApplicationNode;
import org.eclipse.riena.navigation.ISubModuleNode;
-import org.eclipse.riena.navigation.model.ApplicationModel;
+import org.eclipse.riena.navigation.model.ApplicationNode;
import org.eclipse.riena.navigation.model.ModuleGroupNode;
import org.eclipse.riena.navigation.model.ModuleNode;
import org.eclipse.riena.navigation.model.SubApplicationNode;
import org.eclipse.riena.navigation.model.SubModuleNode;
import org.eclipse.riena.navigation.ui.swt.application.SwtApplication;
-import org.eclipse.riena.navigation.ui.swt.presentation.SwtPresentationManager;
-import org.eclipse.riena.navigation.ui.swt.presentation.SwtPresentationManagerAccessor;
+import org.eclipse.riena.navigation.ui.swt.presentation.SwtViewProvider;
+import org.eclipse.riena.navigation.ui.swt.presentation.SwtViewProviderAccessor;
import org.osgi.framework.Bundle;
/**
@@ -20,7 +20,7 @@ import org.osgi.framework.Bundle;
*/
public class $applicationClass$ extends SwtApplication {
- private IApplicationModel application;
+ private IApplicationNode application;
/**
* Creates the model of the application "Hello world".
@@ -28,11 +28,11 @@ public class $applicationClass$ extends SwtApplication {
* @see org.eclipse.riena.navigation.ui.application.AbstractApplication#createModel()
*/
@Override
- protected IApplicationModel createModel() {
+ protected IApplicationNode createModel() {
- SwtPresentationManager presentation = SwtPresentationManagerAccessor.getManager();
+ SwtViewProvider presentation = SwtViewProviderAccessor.getViewProvider();
- application = new ApplicationModel("Hello World Application");
+ application = new ApplicationNode("Hello World Application");
ISubApplicationNode subApplication = new SubApplicationNode("Riena Samples");
presentation.present(subApplication, "helloWorldSubApplication");
application.addChild(subApplication);
diff --git a/org.eclipse.riena.ui.templates/templates_3.3/mail/java/$applicationClass$.java b/org.eclipse.riena.ui.templates/templates_3.3/mail/java/$applicationClass$.java
index 1bd6581..7408537 100644
--- a/org.eclipse.riena.ui.templates/templates_3.3/mail/java/$applicationClass$.java
+++ b/org.eclipse.riena.ui.templates/templates_3.3/mail/java/$applicationClass$.java
@@ -1,18 +1,18 @@
package $packageName$;
-import org.eclipse.riena.navigation.IApplicationModel;
+import org.eclipse.riena.navigation.IApplicationNode;
import org.eclipse.riena.navigation.IModuleGroupNode;
import org.eclipse.riena.navigation.IModuleNode;
import org.eclipse.riena.navigation.ISubApplicationNode;
import org.eclipse.riena.navigation.ISubModuleNode;
-import org.eclipse.riena.navigation.model.ApplicationModel;
+import org.eclipse.riena.navigation.model.ApplicationNode;
import org.eclipse.riena.navigation.model.ModuleGroupNode;
import org.eclipse.riena.navigation.model.ModuleNode;
import org.eclipse.riena.navigation.model.SubApplicationNode;
import org.eclipse.riena.navigation.model.SubModuleNode;
import org.eclipse.riena.navigation.ui.swt.application.SwtApplication;
-import org.eclipse.riena.navigation.ui.swt.presentation.SwtPresentationManager;
-import org.eclipse.riena.navigation.ui.swt.presentation.SwtPresentationManagerAccessor;
+import org.eclipse.riena.navigation.ui.swt.presentation.SwtViewProvider;
+import org.eclipse.riena.navigation.ui.swt.presentation.SwtViewProviderAccessor;
import org.osgi.framework.Bundle;
/**
@@ -21,10 +21,10 @@ import org.osgi.framework.Bundle;
public class Application extends SwtApplication {
@Override
- protected IApplicationModel createModel() {
- SwtPresentationManager presentation = SwtPresentationManagerAccessor.getManager();
+ protected IApplicationNode createModel() {
+ SwtViewProvider presentation = SwtViewProviderAccessor.getViewProvider();
- ApplicationModel app = new ApplicationModel("Riena Mail");
+ ApplicationNode app = new ApplicationNode("Riena Mail");
ISubApplicationNode subApp = new SubApplicationNode("Your Mail");
app.addChild(subApp);
@@ -57,7 +57,7 @@ public class Application extends SwtApplication {
String viewId) {
ISubModuleNode subModule = new SubModuleNode(caption);
parent.addChild(subModule);
- SwtPresentationManagerAccessor.getManager().present(subModule, viewId);
+ SwtViewProviderAccessor.getViewProvider().present(subModule, viewId);
return subModule;
}