Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313721 - [GMF Diagram Extensibility] It should be possible to extend / reuse generated diagrams to created new kind of diagrams
Summary: [GMF Diagram Extensibility] It should be possible to extend / reuse generated...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-20 09:17 EDT by Yann Tanguy CLA
Modified: 2012-02-22 09:17 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Tanguy CLA 2010-05-20 09:17:40 EDT
It should be possible to extend / reuse generated diagrams to created new kind of diagrams.

In particular, some UML2 diagrams may be used as a basis to create SysML diagrams. A part of the generated code requires to be reusable (View, EditPartProviders...).
Comment 1 Yann Tanguy CLA 2010-05-20 09:23:34 EDT
In aspects::xpt::providers::ViewProvider.xpt the following method are generated with protected visibility to make overriding possible:
- stampShortcut
- createLabel
- createCompartment
- getSemanticElement
- getSemanticElementType

Done in r1660.
Comment 2 Yann Tanguy CLA 2010-05-28 08:18:27 EDT
Visibility modified "manually" in Class & Composite Structure Diagrams (accordingly to xpt templates).

Done in r1736.
Comment 3 Yann Tanguy CLA 2010-06-10 05:57:03 EDT
Class Diagram was regenerated with not up to date generation template, causing wrong visibility on some methods from UMLViewProvider.

Visibility corrected manually in r1873.
Comment 4 Yann Tanguy CLA 2012-02-22 09:17:38 EST
Fixed.