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.

Bug 244703

Summary: Adapt FXML to basic refactorings
Product: javafx Reporter: ceklock
Component: EditorAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P1    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description ceklock 2014-05-23 21:19:38 UTC
When a package is renamed, the fxml file is not refactored to use the new package name. 

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Java: 1.7.0_55; Java HotSpot(TM) Client VM 24.55-b03
Comment 1 Roman Svitanic 2014-05-30 11:50:41 UTC
Thanks for the report, it is valid as an enhancement.
Comment 2 Svata Dedic 2015-04-03 11:35:23 UTC
The following cases should be handled:

Class:
* safe delete - find the occurrence of a class in a FXML file. May require some indexing so that classname references are found quickly

* rename, move - change class name


Field:
* safe delete - find the FXML binding of the field; intepret the annotation
* rename - change the id in the fxml file

Method:
* safe delete - find the FXML event handler usage; interpret the annotation
* rename - update the handler reference