Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.fx.ide.fxml.compiler/src/org/eclipse/fx/ide/fxml/compiler/FXGraphJavaGenerator.xtend')
-rw-r--r--org.eclipse.fx.ide.fxml.compiler/src/org/eclipse/fx/ide/fxml/compiler/FXGraphJavaGenerator.xtend4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.fx.ide.fxml.compiler/src/org/eclipse/fx/ide/fxml/compiler/FXGraphJavaGenerator.xtend b/org.eclipse.fx.ide.fxml.compiler/src/org/eclipse/fx/ide/fxml/compiler/FXGraphJavaGenerator.xtend
index 3d4a2904c..25f1c6890 100644
--- a/org.eclipse.fx.ide.fxml.compiler/src/org/eclipse/fx/ide/fxml/compiler/FXGraphJavaGenerator.xtend
+++ b/org.eclipse.fx.ide.fxml.compiler/src/org/eclipse/fx/ide/fxml/compiler/FXGraphJavaGenerator.xtend
@@ -21,7 +21,7 @@ class FXGraphJavaGenerator {
def generate(Model model) '''
package «model.package.name»;
- //import org.eclipse.fx.core.fxml.FXMLLoading;
+ import org.eclipse.fx.core.fxml.FXMLDocument;
import java.util.ResourceBundle;
«var content = generateElementDef("root", model.componentDef.rootNode)»
@@ -34,7 +34,7 @@ class FXGraphJavaGenerator {
import «i»;
«ENDFOR»
- public class «model.componentDef.name» /*implements FXMLLoading<«model.componentDef.rootNode.type.simpleName»>*/ {
+ public class «model.componentDef.name» extends FXMLDocument<«model.componentDef.rootNode.type.simpleName»> {
public «model.componentDef.rootNode.type.simpleName» load(ResourceBundle bundle) {
«content»
return root;

Back to the top