]> gerrit.simantics Code Review - simantics/platform.git/commit
Changed external reference flag texts to obey current name/label mode 87/487/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 5 May 2017 14:25:08 +0000 (17:25 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 5 May 2017 20:56:51 +0000 (23:56 +0300)
commitadc7f55b32bd9d474483aeed0ee34cac8fb6a068
tree5d1dee9eb4c3e5322964f79086c250530d393fab
parentbcec706e6fde4a96acf3bcd4df24c35faeef18a1
Changed external reference flag texts to obey current name/label mode

Text shown in external reference type diagram flags now obeys the
currently selected Name/Label model that can be controlled using code in
class org.simantics.NameLabelUtil.

Previously the text shown in normal diagram external reference flags was
always preferring to show the Label property of diagrams and related
modules and if labels were not defined, the Name property would be used
instead.

refs #7178

Change-Id: I85efb6e68f92fdb18d1445037da5285700ca5398
(cherry picked from commit 8b94180c57f10788d52eb15b8ef3d73b4461de93)
bundles/org.simantics.diagram/src/org/simantics/diagram/query/FlagTextQuery.java