| Summary: | [target] Target editor should update its content, if the target file was edited with another eclipse editor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Felix Riegger <felix.riegger> | ||||
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | chr.schubert, curtis.windatt.public | ||||
| Version: | 4.0 | Keywords: | contributed | ||||
| Target Milestone: | 3.7 M5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Felix Riegger
Thought this was a duplicate report, but I can't find an equivalent bug. It would be better to listen for resource changes. Marking as help wanted. Created attachment 186014 [details] Proposed patch fixing resource change handling and more This patch introduces the following fixes: - Resource change handling implemented. There is no user interaction, similar to the behavior of the manifest editor. - Save As action works properly (currently broken) - Failing save operations are reported to the user and editor stays dirty (currently only error log is written, editor becomes clean without saving) - In case the target definition cannot be read, the editor doesn’t open, but displays an error message to the user (currently the editor opens on an empty model assigned to some meta file location and pretends everything is fine) As target definitions cannot be read from “out of sync” files, the patch also fixes the issue described in bug 317842, not very elegant though. Thanks for the work! Hopefully we can review and commit it for M5. I tried out the patch a bit and it is great. Might put it in today. Fixed up copyrights and some javadoc. Committed to HEAD. Thanks for the contribution. Wow, that was fast. Thank you. Verified in I20110124-1800 |