summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-22 07:58:02 (EST)
committerCarsten Drossel2009-01-22 07:58:02 (EST)
commit6f89a98e9cf266acd2da0d5c8c6bfc5d3586d2ea (patch)
treeb5eb8b4b56ecbda147000c220d5d76b284fc7650
parentf1bd1898a2baac4899d373d1b334fe1b2c68f40c (diff)
downloadorg.eclipse.riena-6f89a98e9cf266acd2da0d5c8c6bfc5d3586d2ea.zip
org.eclipse.riena-6f89a98e9cf266acd2da0d5c8c6bfc5d3586d2ea.tar.gz
org.eclipse.riena-6f89a98e9cf266acd2da0d5c8c6bfc5d3586d2ea.tar.bz2
handling TODOs: transformed them into Bugzilla items
-rw-r--r--org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/presentation/SwtViewProviderAccessor.java3
-rw-r--r--org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/resource/IconManagerAccessor.java3
2 files changed, 2 insertions, 4 deletions
diff --git a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/presentation/SwtViewProviderAccessor.java b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/presentation/SwtViewProviderAccessor.java
index c7e3f0c..909ac88 100644
--- a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/presentation/SwtViewProviderAccessor.java
+++ b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/presentation/SwtViewProviderAccessor.java
@@ -24,10 +24,11 @@ public final class SwtViewProviderAccessor {
}
public static SwtViewProvider getViewProvider() {
- // TODO access the provider over a service
+
if (provider == null) {
provider = new SwtViewProvider();
}
+
return provider;
}
diff --git a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/resource/IconManagerAccessor.java b/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/resource/IconManagerAccessor.java
index 840bad2..2bb65a7 100644
--- a/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/resource/IconManagerAccessor.java
+++ b/org.eclipse.riena.ui.core/src/org/eclipse/riena/ui/core/resource/IconManagerAccessor.java
@@ -33,9 +33,6 @@ public final class IconManagerAccessor {
*/
public static IIconManager fetchIconManager() {
- // TODO: scp RegistryAccessor
- // return RegistryAccessor.fetchRegistry().getService( ICON_MANAGER_ID,
- // IIconManager.class );
if (manager == null) {
manager = new IconManager();
}