Advices on Swing Components

Hi, I am trying to use Swing Components in Editor.

Are you aware on material/documentation/tutorials on this topic?

I would like in this component to refer to other cells in the same editor. In particular I would like to update the component when other cells are updated (I want the component to be as large as the larger cell in the editor and represent the component  as a line long as the whole cell)

Federico

1 comment
Comment actions Permalink

Hi!

You can pass other editor nodes/properties as a parameters to your custom (swing) editor cell. I think, corresponding editor cell will be re-created automatically then any of passed nodes/properties are modified. See editor for EntitySet concept from jetbrains.mps.xmlSchema language - simple custom swing component editor cell is used there.

0

Please sign in to leave a comment.