Observe creation/deletion of Representations/Descriptors [message #1794754] |
Thu, 06 September 2018 03:18  |
Eclipse User |
|
|
|
Hi,
I have to observe all representations in a session. When the session opens I can get all existing representations via DialectManager.getAllRepresentationDescriptors(), but getting hold of newly added representations (and their descriptors) requirese some boilerplate adapter code. Maybe we could add some support for this in Sirius? I have seen that all installed Dialects DO get notified about newly created representations via org.eclipse.sirius.business.api.dialect.RepresentationNotification, but I haven't seen any dialect actually use this feature.. Maybe we could extend sirius to allow registration of listeners to this interface? (And while at it, maybe we could update/extend the interface to use representation descriptors instead). Otherwise, I could try to write the adapter code and submit it as a patch so others can use it too.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03084 seconds