| Summary: | Bundle name of custom figure is not added to the plugin dependencies of diagram editor | ||
|---|---|---|---|
| Product: | [Modeling] GMF-Tooling | Reporter: | Dmitry Stadnik <dimzzy> |
| Component: | Core | Assignee: | Artem Tikhomirov <tikhomirov.artem> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ahunter.eclipse, boris.blajer, lava20002001, lding, richard.gronback, tikhomirov.artem |
| Version: | unspecified | ||
| Target Milestone: | 2.1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 154842 | ||
|
Description
Dmitry Stadnik
Use FigureGallery#implementationBundle instead of CustomClass#bundleName. Latter should be removed from the model. According to Artem's proposal, Bundle property for CustomFigure considered as deprecated now and will be removed soon. According to this proposal, the only correct way to describe custom figure implemented in the bundle "com.mycompany" is to create different FigureGallery for this bundle, set gallery's bundle property and than create CustomFigure in this new gallery. So the only fix possible for this bug is to delete the CustomFigure#bundle property. A similar problem exists if a custom layout is used. It should be possible to specify the bundle where the custom layout resides. FigureGallery#implementationBundle may not be enough if, e.g., only Rectangle figures are grouped using a non-standard layout. In this case, it makes little sense to say that this figure gallery has the implementation bundle of the plugin where the custom layout resides (besides, several custom layouts may be used, and they may come from different, unrelated plugins). Updated target milestone Since GMF 2.0 M6 was released April 5, 2007, doing a bulk move of all open Bugzillas currently on M6 to 2.0 M7. Owners will need to access if the issue really is targetted for 2.0 M7. Need to address implementation bundle issue for custom borders and layouts. *** Bug 154842 has been marked as a duplicate of this bug. *** (In reply to comment #6) > Need to address implementation bundle issue for custom borders and layouts. Borders and layouts can be reused/referenced with BorderRef and LayoutRef respectively. With that, custom borders and layouts could be described within their distinct FigureGalleries (along with proper implementationBundle) and later reused in figures belonging to other FigureGalleries. All respective implementationBundle entries would get into viewmap's requiredPlugins attribute and eventually into dependencies of generated diagram editor. [GMF Restructure] Bug 319140 : product GMF and component Templates was the original product and component for this bug |