Community
Participate
Working Groups
eclipse-3.1M5 & webtools-1.0M3 on WinXP Whenever renaming a Java class, that is imported by JSP-pages, with JDT-Refactor, I don't get a preview for the changes in the JSP-Pages. The Preview window just states "No preview available". The refactoring itself works with out problems.
Created attachment 18350 [details] Screenshot of the missing preview Added screenshot of the refactoring window
Changed Version field given new release numbering.
Raising priority. I think this should be fixed for 0.7.
As we discussed, I think too late for .7, so am changing priority back to 3. Important, but we need to shut down.
*** Bug 105633 has been marked as a duplicate of this bug. ***
I see the problem. It's because CompositeChange isn't a subclass of TextChange. All of the JSPRefactoring participants return a composite change. We can change it to return a DocumentChange with a MultiEdit. It seems to fix it. Still no highlighting though.
OK I was mistaken. BasicRefactorSearchRequestor#RenameChange didn't implement "getPreviewDocument()". I'm testing this approach now.
It's a one method change. Tested and checked into HEAD.
This change is a bulk update of all _un_targeted, fixed, resolved bugs upon release of M5. This particular bug _might_ have been fixed earlier than M5. (Feel free to correct).
This is part of a mass update to close out all stale WTP resolved bugs from the 1.0.x and 1.5.0 timeframe. If you feel this bug was closed inappropriately, please reopen. Thanks, John Lanuti