| Summary: | support refactoring handles within a context | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Shawn Minto <shawn.minto> | ||||
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> | ||||
| Status: | CLOSED MOVED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | milesparker | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 357297 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Shawn Minto
Created attachment 200222 [details]
proof of concept patch
This does kind of sort of work. In the Modeling Bridge, I'm calling update and correctly getting the context to persist and store the new updated handles. However, the old handles are not getting removed and sometimes it seems there is some inconsistency there -- but tis isn't that big an issue because they are of course invisible. Is there a good work-around for the issue with non-removed handles? I suppose I could just remove them manually from the context? Shawn, I've atteched my context to bug 357297 so you can see the code that excercises this. Might not be too useful as you'd need to synch to my fork as well: http://wiki.eclipse.org/Mylyn/Modeling_Bridge#Git_Repos But check org.eclipse.mylyn.modeling.ecoretools.ui.tests EcoreDiagramEditorTest for test that exercises this and the actual implementation is in o.e.m.modeling.gm.ui ContexDecoratorProvider#partOpened(IWorkbenchPart part) but will soon be moving from that location. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |