\r
public void setInitializationData(IConfigurationElement config,\r
String propertyName, Object data) throws CoreException {\r
- String beanName = getBeanName(data, config);\r
- if (beanName == null)\r
- throw new ArgeoException("Cannot find bean name for extension "\r
- + config);\r
-\r
String bundleSymbolicName = config.getContributor().getName();\r
ApplicationContext appContext = ApplicationContextTracker\r
.getApplicationContext(bundleSymbolicName);\r
"Cannot find application context for bundle "\r
+ bundleSymbolicName);\r
\r
+ String beanName = getBeanName(data, config);\r
+ if (beanName == null)\r
+ throw new ArgeoException("Cannot find bean name for extension "\r
+ + config);\r
+\r
this.bean = appContext.getBean(beanName);\r
if (this.bean instanceof IExecutableExtension) {\r
((IExecutableExtension) this.bean).setInitializationData(config,\r