Show different icons for three different cases of model configuration components: built-in components, user defined components and others
|Assignee:||Tuukka Lehtonen||% Done:|
|Category:||-||Spent time:||2.00 hours|
|Velocity based estimate||-|
|Release||Simantics 1.13.2||Release relationship||Auto|
Currently the standard model browser shows a rather mixed set of icons for model configuration elements. Normal components are gray lego bricks and their possible substructure is either lego bricks or black bullets. User defined component types have a 3D shape icon but still their instances are lego bricks.
Unification is needed:
- user-defined component type instances should be similar to component type icons, just use different coloring (grayish)
The result would look like this:
Fixed user defined component icons.Added two new viewpoint tests
- IsComponentTest - check if the input is a built-in component type instance
- IsUserDefinedComponentTest - checks if the input is a user defined component type instance
for checking which input is which. Based on these tests the user defined components are given a different icon.