Eclipse GMF Compartment Node (List Layout) - Every Compartment Collapsed at start

Viewed 207

I created a gmf model using eugenia with the following node in it:

     @gmf.node(label="name", border.width="0", margin="1", label.icon="false")
     class ShElement {
        attr String name;
        ref EObject element;

        @gmf.compartment(layout="list")
        val ShElement[*] subelements;
      }

It works fine but sadly it is completely expanded when inserting it into the graph.

So i would like to know if there is a possibility to add the Node and have it and all Childs collapsed at the beginning?

1 Answers

accordingly to GMF Documentation there is a collapsible variable that you can use to do so.

Related