]> gerrit.simantics Code Review - simantics/platform.git/commit
Support diagram profile activity store/restore in model export/import 87/1687/2
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 20:50:06 +0000 (23:50 +0300)
commit95e05b3cc3208ec57118e8167a090c9b90edfaf2
tree89a69d81dbfd93c631f061defedb92945eb504eb
parent53578306fadb429efdc2799bcb2cd8c2966bf5d7
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
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]