Guys,
Even if I do not post a lot here I'm not exactly a newbie, in the past 15 years I wrote a variety of MDG and I know exactly what a decorator is.
e.g. this decorator Qwerty refears, it creates a 'dot' that
1. is activated when the custom property 'ActivateFlags' is true
2. Changes color when a tagged value is set
decoration Botton_left
{
orientation= "SW";
if (HasProperty("ActivateFlags","1"))
{
if(HasTag("InvestmentStrategy","Retain"))
{
//blue
SetPenColor(107,203,236);
SetFillColor(107,203,236);
ellipse(0,0,100,100);
}
if(HasTag("InvestmentStrategy","Rehost"))
{
//Green
SetPenColor(155,187,89);
SetFillColor(155,187,89);
ellipse(0,0,100,100);
}
if(HasTag("InvestmentStrategy","Replatform"))
{
//dark blue
SetPenColor(79,129,189);
SetFillColor(79,129,189);
ellipse(0,0,100,100);
}
if(HasTag("InvestmentStrategy","Refactor"))
{
//Orange
SetPenColor(247,150,70);
SetFillColor(247,150,70);
ellipse(0,0,100,100);
}
if(HasTag("InvestmentStrategy","Retire"))
{
//red
SetPenColor(222,103,103);
SetFillColor(222,103,103);
ellipse(0,0,100,100);
}
if(HasTag("InvestmentStrategy","Rewrite"))
{
//yellow
SetPenColor(241,224,151);
SetFillColor(241,224,151);
ellipse(0,0,100,100);
}
}
what I'm asking which standard property EA uses to disable all decorators when
Show Element Stereotypes:
For elements that have whole shapes drawn by Enterprise Architect, if 'Use Stereotype Icons' is deselected, select this checkbox to display any stereotype on the element.
For elements that have an icon displayed in the top right corner, select this checkbox to indicate that a stereotype is present (icon if 'Use Stereotype Icons' is selected, text if not).source
https://sparxsystems.com/enterprise_architect_user_guide/15.2/modeling/appearance_options_elem.htmlto test the the expected behaviour:
1. drag a "table" from the Data modeling toolbox in a diagram, (I think that the 'icon' is the decorator is a shape script, not an image)
2. drag an archimate application component in the same diagram
3. Double click on the diagram, go to the element tab, uncheck "use the Stereotype icons"
4. the decorator for table is now hidden, the one for archimate application component is still visible
conclusion: it's a standard property, not a custom one (as in the above example) and it's undocumented and not supported by all MDG. How can we reproduce that?