Robert Walter

Avatar
  • Total activity 260
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 18
  • Subscriptions 80
  • Edited

    Write access for node from JComponent leads to IDE exception

    Hi, back in this thread, I learned that, at least under MPS 3.3, the correct way to write nodes via a JComponent is using the "write action with" construct, i.e., if you have a CheckBox to set and ...
    • 2 followers
    • 4 comments
    • 0 votes
  • Edited

    Node under $COPY_SRCL$ macro should have multiple cardinality

    Hello, I have written the following code in a reduction rule for a swing compoennt:   I use the $COPY_SRCL$ macro in several instances to fill in the body statements from the model. For example, t...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    Cannot load project: Fatal error initializing 'jetbrains.mps.project.MPSProject'

    Hi, I migrated my projects to MPS 3.4.2, everything worked automatically. After I restarted MPS, I cannot open any project anymore:  I re-installed MPS, with the same result, any ideas?  
    • 2 followers
    • 2 comments
    • 0 votes
  • Edited

    Programmatically read language version

    Hi, I have the requirement to generate a comment into each class that tells which language version was used for modelling. Is there a way (via smodel language, for example), to access the language ...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    How to test substitution actions?

    Hello, how can I write a test to verify that my node substitution actions are working correctly? I have four actions implemented. remove all defaults: clears the substitution menu (btw. the conflu...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    BaseVariableDeclaration: type is not a reference, why?

    Hi, I'm extending BaseVariableDeclaration from baseLanguag ein my DSL. I'd like to have some scoping logic that allows me to limit the possible types the user of my DSL can select as a type. I was ...
    • 3 followers
    • 8 comments
    • 0 votes
  • Created

    Review Request: Generating boolean expression from "list of switches"

    Hi,This is less a question than a review request for more veteran MPS users, but maybe it is also interesting for others.Imagine a language where users can declare Switches like so:foo is onbar is ...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    Generating list of variables

    Hello,I try to create reduction rules that reduce a model structure like this,root: Root|_    switchCollection: SwitchCollection[1]    |_        switches: Switch[1..n](where a Switch implements INa...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    Possible layout bug with JCheckBox

    I've created my own CheckBox. It can use a set of custom icons depending on the "style" the user of the checkbox chooses. In the editor, however, the text of the CheckBox does not respect the width...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    Exporting language plugin

    Hi,I try to follow https://confluence.jetbrains.com/display/MPSD31/Building+MPS+language+plugins and https://confluence.jetbrains.com/display/MPSD31/Building+IntelliJ+IDEA+language+plugins to build...
    • 1 follower
    • 0 comments
    • 1 vote