Slavastap

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

    Migrate MPS project (run Language migration) programmatically

    Hello.I would like to ask for some help for project migration from the code.My aim is to check from the code that passed MPS project should be migrated and run the migration. At the best case it wi...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    CellModel_Constant extension - how to create it?

    Good evening. I have an idea to create my own CellModel_Constant extension (i.e. concept that extends CellModel_Constant) to override something in behavior, constraint, and editor aspects. The reas...
    • 2 followers
    • 3 comments
    • 0 votes
  • 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