Skip to content
Discussion options

You must be logged in to vote

Hi, I tested your code sample and to me this looks like an issue with nested GNodes. If I change the implementation of gNodeChild to a compartment everything works as expected.

      GCompartmentImpl gNodeChild = new GCompartmentImpl();
      gNodeChild.setParent(compartmentNode);
      gNodeChild.setId("nodeChild");
      gNodeChild.setType("comp:comp");
      gNodeChild.setLayout(GConstants.Layout.VBOX);

@CamilleLetavernier You recently worked on improving the support of structured nodes in GLSP. Are you aware of that issue and/or have an idea why it occurs?

@sathya-1994 FYI: If you want to you can also use your fluent Builder API for creating new GModel elements e.g:

      GNode gNodeP…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@CamilleLetavernier
Comment options

Answer selected by tortmayr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants