|Resource rename and non-text based editors [message #512841]
||Mon, 08 February 2010 07:21
| Franck Mising name
Registered: July 2009
What is the best way to extend the resource rename refactoring so that it detects a resource has been modified in an editor that is not using a text file buffer?
The ltk ResourceChange.ValidationState checks for dirty file buffers but I wrote structured editors that work with an object model constructed from the resource content.
I am wondering why the core ltk rename processor or some core rename participant isn't going through the workbench dirty saveables rather than looking for dirty text file buffers?
Should I write a refactoring participant that checks with my edited object mgr for dirty objects?
[Updated on: Mon, 08 February 2010 09:07]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03200 seconds