]> gerrit.simantics Code Review - simantics/platform.git/commit
Support diagram profile activity store/restore in model export/import 88/1688/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 3 Apr 2018 20:48:36 +0000 (23:48 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 3 Apr 2018 21:06:58 +0000 (23:06 +0200)
commit957ddea830ceb97eab9f358d99a591cafc518d8a
tree51f99f91b0f831469b2d15d97d6eec13ea52ac9f
parentfca6027f6beef8081d719b078e80b98fb56f7a8a
Support diagram profile activity store/restore in model export/import

Diagram profile selections are stored in the "profiles" workspace
persistent virtual graph. They cannot be done in the persistent database
because we do not want the profile selections to be part of the database
version/undo history. This just doesn't fit the current way of using
diagram profiles.

The code introduced in this commit needs to be put to use in
product-specific custom export/import logic and copy/paste handlers to
take advantage of it.

refs #7854

Change-Id: Ib996144f1afa376a1563e4309fe41421ee4da529
(cherry picked from commit 95e05b3cc3208ec57118e8167a090c9b90edfaf2)
bundles/org.simantics.diagram.profile/src/org/simantics/diagram/profile/request/ReferencedProfileEntries.java
bundles/org.simantics.diagram/src/org/simantics/diagram/profile/ProfileActivityBean.java [new file with mode: 0644]
bundles/org.simantics.diagram/src/org/simantics/diagram/profile/ProfileActivityBeanRepresentation.java [new file with mode: 0644]
bundles/org.simantics.diagram/src/org/simantics/diagram/profile/ProfileActivityBeanRequest.java [new file with mode: 0644]
bundles/org.simantics.diagram/src/org/simantics/diagram/profile/Profiles.java
bundles/org.simantics.diagram/src/org/simantics/diagram/profile/TopLevelProfiles.java [new file with mode: 0644]