]> gerrit.simantics Code Review - simantics/platform.git/commit
(refs #7453) Switch component type of the component 93/893/1
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Sun, 27 Aug 2017 16:10:02 +0000 (19:10 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Sun, 27 Aug 2017 16:10:02 +0000 (19:10 +0300)
commitf43fbe51d130e91cc05e5cd6632f33456b6b94c7
treecf00104491ae8f048dde2d91fed234ab6ba1d399
parent0cf894be3bd64a393d8883b7500822275c2a15fe
(refs #7453) Switch component type of the component

This change adds ontology definitions for declaring a group of similar
component types and an action to switch between them.

Change-Id: I15f26d97e9eec81ff9ff1ec65e5f6be1782ba24b
bundles/org.simantics.modeling.ontology/graph/Switching.pgraph [new file with mode: 0644]
bundles/org.simantics.modeling.ui/plugin.xml
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/actions/SwitchComponentTypeContribution.java [new file with mode: 0644]
bundles/org.simantics.modeling/src/org/simantics/modeling/MigrateModel.java