Bug 188347 - Notational MetaModel Extensibility
Summary: Notational MetaModel Extensibility
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: Notation (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---   Edit
Assignee: Alex Boyko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-22 11:43 EDT by Anthony Hunter CLA
Modified: 2020-02-18 06:11 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Hunter CLA 2007-05-22 11:43:31 EDT
As required by Bug 159479 and other clients.
Comment 1 Alex Boyko CLA 2007-05-22 12:46:17 EDT
The styles provided by the notational metamodel are very specific and hence clients have problems introducing their own styles.

To fix the problem a number of new general purpose styles has been introduced. Each general purpose style has a name and a value of some type. The most common usecase is a style holding java primitive type value - hence a number of styles that hold a java primitive type value and a list of these values have been added to the notational metamodel. However, since clients may want to hold a value of more complicated type in a style - we need to support generic values as well. Therefore, 3 styles for holding generic values have been introduced.
1. SingleValueStyle - holds single generic value
2. ListValueStyle - holds a list of generic values of the same type
3. PropertiesSetStyle - holds a map of strings (names of properties) to generic values (each value can have it's own type)

Since, new styles have been added to the notational metamodel, notation's NSURI has changed from 1.0.0 to 1.0.1, so that clients are able to add the backward/forward compatibility support for their models (i.e. new styles are not lost if opened on the old software, new styles are recovered if new model saved by old software opened on the new software)
Fix committed for M7 - marking as fixed.
Comment 2 Richard Gronback CLA 2008-08-13 13:11:53 EDT
[target cleanup] 2.0 M7 was the original target milestone for this bug
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:30:27 EDT
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug