14 Commits

Author SHA1 Message Date
Arjan Molenaar
eda0c7d4fe
Add a "note" field to Element
This can be used for arbitrary notes taken by the user.
2021-06-16 17:49:20 +02:00
Arjan Molenaar
142a167081
Make core model no longer dependent on UML
(except for the derived unions)
2021-05-22 21:30:57 +02:00
Arjan Molenaar
5c615942e2
Update models 2021-05-22 21:20:13 +02:00
Arjan Molenaar
75998721a5
Add comment to model 2020-12-26 16:35:55 +01:00
Arjan Molenaar
87b2726f34
Replace reparent method by a handler on setting parent 2020-12-24 14:40:29 +01:00
Arjan Molenaar
e64897fc2f
Make Presentation.diagram an association
We can now rely on this association being set. We can set a watch on
changes and slowly move the canvas out of our codebase.
2020-12-24 09:41:23 +01:00
Arjan Molenaar
721ba27493 Fix inheritance of instanceSpecification
Now it should be able have an owner.
2020-09-11 22:08:23 +02:00
Arjan Molenaar
7bd7fd24dc Updte NamedElement for UML 2.5 2020-09-11 22:06:06 +02:00
Arjan Molenaar
eca64c8962 Rename Element.ownedComment to Element.comment 2020-09-11 22:05:14 +02:00
Arjan Molenaar
b26aa0836c Rename Stylesheet to StyleSheet
And stylesheet to styleSheet.
2020-05-30 09:02:58 +02:00
Arjan Molenaar
c31c855566 Update core model layout 2020-05-29 13:51:55 +02:00
Arjan Molenaar
db0a39b1ee Add stylesheet class to the core model
This is the one location to define the stylesheet, so it:
* will put styling at the heart of Gaphor
* is available to all presentation elements
* styling an be defined per model
* styling stays with the model
* styling will always be applied when rendering a diagram (e.g. via
`gaphorconvert`)
* No special code is required for update/drawing of items

Only one Stylesheet object will be present in a single model.
2020-05-26 08:18:49 +02:00
Arjan Molenaar
25d4e8108d Move Comment to core model 2020-04-12 23:11:31 +02:00
Arjan Molenaar
27b41e043f Build out core model 2020-04-09 23:18:29 +02:00