Slavastap

Avatar
  • Total activity 74
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 8
  • Subscriptions 28
  • Created

    Send F5 programmatically to the Project Tree

    Good evening. I have an MPS plugin that creates a new root node in ApplicationManager.getApplication().invokeLater block (because I need to show AWT windows with FIle Chooser). My problem is that t...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    How to install an MPS plugin manually

    Hi all. Currently, I'm trying to install an MPS plugin manually. "Manually" means outside the MPS by placing files in a proper dir. I'm trying to use not the MPS installation dir but the user MPS f...
    • 3 followers
    • 2 comments
    • 0 votes
  • Created

    "Using third-party plugins Privacy Note" on MPS plugin installation

    Hello. I have a plugin that consists of two plugins inside. When I install it I see the "Using third-party plugins Privacy Note": I'm trying to avoid this window but I don't know how. I've tried t...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    Migration scripts best practice

    Good afternoon. I have a question about migration scripts: what are the best practices to maintain migration scripts? For example, we have a language with more than 50 migration scripts. We can't g...
    • 4 followers
    • 3 comments
    • 0 votes
  • Created

    Generics for return type of behavior method

    Hello all. My question is: can I somehow use generics for the behavior methods return type? Or maybe can I have any workaround for this? I am trying to have a common method that traverses a model t...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Reference presentation with a knowledge about the cell that will own reference presentation

    Good afternoon. I have a case when I have a common editor component for reference. This editor component should be used in different places with different grammatical cases (like Dative, Genetive e...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Get instance from GenericNewExpression

    Hello. I have a concept that contains one child of type Expression. The idea is to be able to define java.awt.Color instance as a child. It works fine but Expression can also be like "new Color(230...
    • 2 followers
    • 1 comment
    • 0 votes
  • Edited

    Check node constraint programmatically

    Good afternoon. I have a node N1 that is a part of the collection inside another node N2. Also, my N1 node has a constraint of type "Can be a child". I would like to check this constraint programma...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    Concept name and description getting : create 'hook'

    Good afternoon. I would like to "hook" into process of getting name and description of concepts from my Language. Previously I've done some investigations and found a workaround for my task with Tr...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    How to create new SContainmentLink for non-existent role?

    Good afternoon. I want to create a util method to be able to create invalid data inside already created nodes. For example, I would like to create a child node with role that is not defined in the ...
    • 2 followers
    • 2 comments
    • 0 votes