javafx: create method according to target class lang (IDEA-103367)

(cherry picked from commit a229a8bcba0a5a8630daf4933ff48061f73106ea)
This commit is contained in:
anna
2013-03-21 10:40:36 +01:00
parent 2ab2ca0c28
commit b099d8cf99
6 changed files with 52 additions and 38 deletions
@@ -0,0 +1 @@
public class CreateControllerMethodInGroovy {}
@@ -0,0 +1,5 @@
public class CreateControllerMethodInGroovy {
public void bar(ActionEvent actionEvent) {
//To change body of created methods use File | Settings | File Templates.
}
}
@@ -0,0 +1,5 @@
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.control.Button?>
<GridPane xmlns:fx="http://javafx.com/fxml" fx:controller="CreateControllerMethodInGroovy">
<Button onAction="#b<caret>ar"/>
</GridPane>