[492985] Display the section title if there more than one element
Bug: 492985
Change-Id: I50b28c0d3abb9a42e21cd538d18b0d41a58d2307
diff --git a/org.eclipse.emf.ecoretools.design/description/ecore.odesign b/org.eclipse.emf.ecoretools.design/description/ecore.odesign
index 320158d..82fb584 100644
--- a/org.eclipse.emf.ecoretools.design/description/ecore.odesign
+++ b/org.eclipse.emf.ecoretools.design/description/ecore.odesign
@@ -1544,6 +1544,9 @@
</ifs>
</controls>
<style barStyle="NO_TITLE" toggleStyle="NONE" expandedByDefault="true"/>
+ <conditionalStyles preconditionExpression="aql:self.removeSemanticElementsToHide(input.getAllSemanticElements(),input.context().semanticDecorator())->size() > 1">
+ <style toggleStyle="NONE" expandedByDefault="true"/>
+ </conditionalStyles>
</groups>
<groups name="genmodel opposite instance" labelExpression="aql:self.eClass().name" semanticCandidateExpression="aql:self.eInverse()->select( g | g.eClass().ePackage.nsURI->includes('http://www.eclipse.org/emf/2002/GenModel'))->asSet()" preconditionExpression="" extends="//@extensions.0/@categories.0/@groups.0">
<style expandedByDefault="true"/>