]> gerrit.simantics Code Review - simantics/platform.git/commit
Changed external reference flag texts to obey current name/label mode 86/486/2
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:11:08 +0000 (23:11 +0300)
commit8b94180c57f10788d52eb15b8ef3d73b4461de93
tree7a2cc30463135fd49688613c13312b364573e1b5
parent53e9b3dac5648f360cd91478d9e6e7a495631b08
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
bundles/org.simantics.diagram/src/org/simantics/diagram/query/FlagTextQuery.java