This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 124465 [details] FXML sample In the attached FXML there is some Nodes that reference the same event handler #keyPressed. Although this is the same event handler, the method is generated as many time as there is usage in the FXML file. It must be generated once (if not already generated).
That is Svata's new code. Svato, can you please have a look? Thanks.
Changeset: a9ef649953b5 Author: Svata Dedic <sdedic@netbeans.org> Date: 2012-09-17 22:01 Message: Issue #218482 - FXML "Make Controller" action generates the same event handler multiple time: fixed Controller remembers just generated members and avoids duplication
Integrated into 'main-golden', will be available in build *201209190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a9ef649953b5 User: Svata Dedic <sdedic@netbeans.org> Log: Issue #218482 - FXML "Make Controller" action generates the same event handler multiple time: fixed Controller remembers just generated members and avoids duplication