| Summary: | [Enhancement] Visualizing Inherited Feature | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Vincent Lorenzo <vincent.lorenzo> |
| Component: | Core | Assignee: | Vincent Lorenzo <vincent.lorenzo> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.7.0 | ||
| Target Milestone: | 0.7.0 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 319238 | ||
|
Description
Vincent Lorenzo
Done in r2938 We use a service to add an icon to the inherited elements. The extension point org.eclipse.gmf.runtime.decoratorProvider is used to do that. If the created element (graphical creation) is an Inherited Feature, the decoration provider add an icon (the Generalization icon) next to the elements. Note : the icon size is 15x15, because 16x16 was too big when we are is a Compartment List. Minor change in r2940 r2944, Adds a listener on the Type of the graphical parent (when its a Property), to refresh the display of the decoration in R2959 : Change the image for the inherited features Add a specific locator for the affixed child node (OverlayLocator) Minor changes in r2984 and 2985 : all the overlays are now on the bottom left side (excepted in Compartment List, where they are on left side) The overlay is not correctly updated if the Property is moved. e.g. In Composite Structure Diagram Create 2 composite with inheritance Create a Property in the parent Class Show the same Property in the child Class (appears with overlay) Move the Property from Parent to Child Class -> the overlay is not removed from the existing view showing the Property in the child Class. Corrected in r3013. In r3018 : correct a NPE when we do an Undo, after changing the type of a Property In r3020 Re-correct the preceding NPE! In r3112 : adds tests before adding listener on the EObject (listener is added only for Classifier, Property and Operation) This feature is done. I close the bug. |