Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 127487

Summary: [API] Using ISourceManipulation.delete not as good as JavaDeleteProcessor
Product: [Eclipse Project] JDT Reporter: Vikas Trivedi <vtrivedi>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Vikas Trivedi CLA 2006-02-13 11:15:26 EST
In attempting to replace use of internal jdt calls, we started to use ISourceManupulation.delete instead of our previous use of JavaDeleteProcessor. However when deleting a SourceType the end result is that the type is removed from the compilation unit but it doesnt delete the file itself. 

Is there a better way to get the same functionality that was available through the DeleteProcessor and DeleteRefactoring using public API?
Comment 1 Jerome Lanneluc CLA 2006-02-15 10:26:19 EST
Moving to JDT UI for comment
Comment 2 Tobias Widmer CLA 2006-02-15 10:33:17 EST
There is no public API at the moment to invoke refactorings except for Rename refactorings (class RenameSupport).
Comment 3 Martin Aeschlimann CLA 2006-02-23 11:15:41 EST
not for 3.2
Comment 4 Philipe Mulet CLA 2006-10-13 10:40:28 EDT
Discussed with Vikas. No longer an issue.
Comment 5 Philipe Mulet CLA 2006-10-13 10:40:56 EDT
Closing
Comment 6 Philipe Mulet CLA 2006-10-13 10:41:21 EDT
closed