| Summary: | Refactor out a set of packages into a new plug-in | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Xavier Méhaut <xavier.mehaut> |
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | caniszczyk, curtis.windatt.public, davymeers, jeffmcaffer, martinae, mn, wassim.melhem |
| Version: | 3.1 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | stalebug | ||
|
Description
Xavier Méhaut
Moving to JDT/UI I think we can add something like a refactor action, "Componentize" (or something as cheesy). Encouraging people to further componetize their plug-ins is a good thing (tm). Thoughts? Does JDT already have a "take this stuff and put it in a different project" refactoring? Seems like this would be related except the destination would be a (potentially new) plugin project. overall this feels like an interesting item Martin, seeing that JDT is a platform and all, can we plug into whatever you already have? That would be 'move package' or 'move CU' which we already have, but only by user interaction. For 3.3 we want to add new API so that all refactorings can also be used programatically. org.eclipse.jdt.core.refactoring.descriptors.MoveDescriptor is already there as stub, but it's not yet implemented. Planed for M5. seems like this is might be requesting moving the packages into a NEW plugin project no? (In reply to comment #5) Martin, did the API make it in for M5? Yes, have a look at org.eclipse.jdt.core.refactoring.descriptors.MoveDescriptor in jdt.core.manipulation. - Create and configure the descriptor. - Get the refactoring from the descriptor - execute the refactoring to get the change - execute the change see org.eclipse.jdt.ui.tests.refactoring.RefactoringTest.performRefactoring(RefactoringDescriptor, boolean) (in jdt.ui.tests.refactoring) This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag. |