]> gerrit.simantics Code Review - simantics/platform.git/commit
Support diagram profile activity store/restore in model export/import 89/1689/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:07:08 +0000 (23:07 +0200)
commit6eaaca8fe983acb22b2b9ef929369d9783cca187
treee58f9b9d26a61eff5f9f2d242f2b18242c0b10c2
parent07c9c90b65a4077af0595fc08d290740dff632cf
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]