summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-03-17 10:02:44 (EDT)
committerCarsten Drossel2009-03-17 10:02:44 (EDT)
commit052911f229063f1d15cd120c1ceeb14e9eb370e1 (patch)
tree09172933fb94ca7f1b5602f918b931b72ccec2fe
parentfa4a6eae870704ea05c1b89d15a8e271dda327e0 (diff)
downloadorg.eclipse.riena-052911f229063f1d15cd120c1ceeb14e9eb370e1.zip
org.eclipse.riena-052911f229063f1d15cd120c1ceeb14e9eb370e1.tar.gz
org.eclipse.riena-052911f229063f1d15cd120c1ceeb14e9eb370e1.tar.bz2
look&feel can be set from other bundles
-rw-r--r--org.eclipse.riena.example.client/META-INF/MANIFEST.MF1
-rw-r--r--org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/application/SwtExampleApplication.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.riena.example.client/META-INF/MANIFEST.MF b/org.eclipse.riena.example.client/META-INF/MANIFEST.MF
index ff2b1d0..c5e22f9 100644
--- a/org.eclipse.riena.example.client/META-INF/MANIFEST.MF
+++ b/org.eclipse.riena.example.client/META-INF/MANIFEST.MF
@@ -30,3 +30,4 @@ Export-Package: com.swtdesigner;x-internal:=true,
org.eclipse.riena.internal.example.client;x-internal:=true,
org.eclipse.riena.internal.example.client.beans;x-internal:=true,
org.eclipse.riena.internal.example.client.security.authentication;x-internal:=true
+Eclipse-BuddyPolicy: registered
diff --git a/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/application/SwtExampleApplication.java b/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/application/SwtExampleApplication.java
index ee4d5c7..cbf3359 100644
--- a/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/application/SwtExampleApplication.java
+++ b/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/application/SwtExampleApplication.java
@@ -41,7 +41,7 @@ public class SwtExampleApplication extends SwtApplication {
String lnfClassName = System.getProperty("riena.lnf", ""); //$NON-NLS-1$ //$NON-NLS-2$
if (!StringUtils.isEmpty(lnfClassName)) {
try {
- Class lnfClass = this.getBundle().loadClass(lnfClassName);
+ Class lnfClass = SwtExampleApplication.class.getClassLoader().loadClass(lnfClassName);
RienaDefaultLnf lnf;
lnf = (RienaDefaultLnf) lnfClass.newInstance();
LnfManager.setLnf(lnf);