| Summary: | Public class BorderedNodeFigure exposes internal interface IExpandableFigure | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] GMF-Runtime | Reporter: | Dusko <dmisic> | ||||||||
| Component: | General | Assignee: | Anthony Hunter <ahunter.eclipse> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | major | ||||||||||
| Priority: | P3 | CC: | aboyko, ahunter.eclipse, wdiu | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 2.3 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Dusko
Created attachment 166408 [details]
Patch to fix the issue.
Alex can you review the patch?
I moved IExpandableFigure to the public package.
I left the original in the internal package, but made it deprecated and extending the public version.
All usages of IExpandableFigure in GMF have been changed to use the public version.
API Tools reports no errors, so we look to be good and are not introducing any binary incompatible changes.
Created attachment 166409 [details]
Patch to fix the issue.
Alex, review this one instead. The previous patch showed the entire file replaced to two of the changes and not just the imports.
Interestingly Syed had the same issue with his patch, every line changed and not just the real changes in the patch.
Looks good to me. Just one thing, there seems to be a few more references to the internal IExpandableFigure that the patch misses: - GroupFigure - BorderItemContainerFigure - GroupTests BTW, these could be corrected at a later time. Anyway, looks good! If we are fixing this then I think we should fix those remaining references as well. Created attachment 166540 [details]
Patch to fix the issue.
New patch. I fixed the three classes that referenced the internal IExpandableFigure. I somehow missed them the first time. Since these also are just fixing imports I figure we are good to commit.
Committed to HEAD for Helios [target cleanup] 2.3 M7 was the original target milestone for this bug [GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug |