]> gerrit.simantics Code Review - simantics/platform.git/commit
Added identity-providing constructor for IconButtonStyleBase 61/4261/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 1 Jun 2020 05:47:33 +0000 (08:47 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 1 Jun 2020 05:47:33 +0000 (08:47 +0300)
commit9588536ba156584e804329920ae85563e6ef0984
tree0553e1d2cf14de2a5bf7ce5b4e35264d1e2495b8
parent12a131c567a24d4aa86fe86e5072f0bfc9b68d5b
Added identity-providing constructor for IconButtonStyleBase

This is needed to support proper implementation of styles inheriting
IconButtonStyleBase. Otherwise query identities of the mentioned class
fall back to getClass which does not work in general.

gitlab #544

Change-Id: I7bfea53b1ce23e644da03ada3cb027fd34a4780a
bundles/org.simantics.diagram/src/org/simantics/diagram/profile/IconButtonStyleBase.java