Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2014-01-12 04:27:42 -0500
committerTom Schindl2014-01-12 04:27:42 -0500
commitcea2da39856878a6c750cdff8400a93235587b8a (patch)
tree72bd7f055337ea7dffb56c7d4be1a68c41bf5604
parent671647e8acfe1f22f88bcc34fcd5f8fad10dae67 (diff)
downloadorg.eclipse.efxclipse-cea2da39856878a6c750cdff8400a93235587b8a.tar.gz
org.eclipse.efxclipse-cea2da39856878a6c750cdff8400a93235587b8a.tar.xz
org.eclipse.efxclipse-cea2da39856878a6c750cdff8400a93235587b8a.zip
[Bug 419107] Add functionality to easily access the controller instance
using FXMLLoaderFactory
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.di/src/org/eclipse/fx/ui/di/InjectingFXMLLoader.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/runtime/org.eclipse.fx.ui.di/src/org/eclipse/fx/ui/di/InjectingFXMLLoader.java b/bundles/runtime/org.eclipse.fx.ui.di/src/org/eclipse/fx/ui/di/InjectingFXMLLoader.java
index a680bd58e..92b5ddc07 100755
--- a/bundles/runtime/org.eclipse.fx.ui.di/src/org/eclipse/fx/ui/di/InjectingFXMLLoader.java
+++ b/bundles/runtime/org.eclipse.fx.ui.di/src/org/eclipse/fx/ui/di/InjectingFXMLLoader.java
@@ -39,7 +39,7 @@ public abstract class InjectingFXMLLoader<N> implements FXMLBuilder<N> {
@Override
public <C> Data<N,C> loadWithController() throws IOException {
- FXMLData<N, C> d = OSGiFXMLLoader.loadWithController(requester, relativeFxmlPath, this.resourceBundle, this.builderFactory, new ControllerFactory(context));
+ final FXMLData<N, C> d = OSGiFXMLLoader.loadWithController(requester, relativeFxmlPath, this.resourceBundle, this.builderFactory, new ControllerFactory(context));
return new Data<N, C>() {
@Override
public C getController() {
@@ -65,7 +65,7 @@ public abstract class InjectingFXMLLoader<N> implements FXMLBuilder<N> {
@Override
public <C> Data<N,C> loadWithController() throws IOException {
- FXMLData<N, C> d = OSGiFXMLLoader.loadWithController(bundle, bundleRelativeFxmlPath, this.resourceBundle, this.builderFactory, new ControllerFactory(context));
+ final FXMLData<N, C> d = OSGiFXMLLoader.loadWithController(bundle, bundleRelativeFxmlPath, this.resourceBundle, this.builderFactory, new ControllerFactory(context));
return new Data<N, C>() {
@Override
public C getController() {
@@ -91,7 +91,7 @@ public abstract class InjectingFXMLLoader<N> implements FXMLBuilder<N> {
@Override
public <C> Data<N,C> loadWithController() throws IOException {
- FXMLData<N, C> d = OSGiFXMLLoader.loadWithController(classloader, url, this.resourceBundle, this.builderFactory, new ControllerFactory(context));
+ final FXMLData<N, C> d = OSGiFXMLLoader.loadWithController(classloader, url, this.resourceBundle, this.builderFactory, new ControllerFactory(context));
return new Data<N, C>() {
@Override
public C getController() {

Back to the top