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 - Adapt FXML to basic refactorings
Summary: Adapt FXML to basic refactorings
Status: NEW
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P1 normal with 1 vote (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2014-05-23 21:19 UTC by ceklock
Modified: 2015-04-03 11:35 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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:

* 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

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

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