salman rahman

Avatar
  • Total activity 44
  • Last activity
  • Member since
  • Following 1 user
  • Followed by 0 users
  • Votes 4
  • Subscriptions 11
  • Created

    Adding editor Component by Code

    Hello all,   I have been trying to add swing components dynamically by code for my project, I have tried to add editor cells by using the following code from an intention: execute(node, editorConte...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Evaluate dot expression

    Hi all,   I would like to evaluate the following expression in MPS:   model/<modelname>/ in global repository.rootsIncludingImported(RequirementChunk).first.name.equals("reqChunk")   i used the eva...
    • 2 followers
    • 2 comments
    • 0 votes
  • Edited

    Getting node<> from node<AbstractConceptDeclaration>

    Hi all, I have a model holding node<ConceptIdRefExpression> which points to a concept, As I checked, node<ConceptIdRefExpression> has  reference to node<ConceptDeclaration>. The node<ConceptDeclara...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    Accessing language classes from a model

    Hi all,  I would like to access the classes defined in the behavior aspect of the language and invoke them when necessary. However, I could not find any method to do that yet? Could anyone show me ...
    • 2 followers
    • 7 comments
    • 0 votes
  • Created

    Creating Transformation menu by code

    Hi all,  I have been working on a use case where I have to crate transformation menu (context assistant section) on the fly and I would really like to create them by code. So far I have looked into...
    • 2 followers
    • 6 comments
    • 0 votes
  • Edited

    Getting error descriptions associated with a node

    Answered
    Hi, I have been looking for ways to query the number of errors and error types associated with a certain node in a model. In other words, I would like to get the descriptions of model checker and t...
    • 3 followers
    • 2 comments
    • 0 votes
  • Created

    running textgen by an intention

    Hi,  I have been trying to generate Textgen files for multiple file of same concept. So, I was thinking about using an intention to find all the instances of the concept and run Textgen. Is there a...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    EMF exporter for MPS

    Hi all, I need to export the language model from MPS to EMF domain. Is there any feature in MPS or anywhere else that I can use? Thanks a lot in advance.
    • 2 followers
    • 4 comments
    • 0 votes
  • Edited

    debugging plugin API

    Hi all, I am using a .jar plugin in MPS and trying to use the API of the plugin. However, I can not debug the plugin and see the Sytem.out.println logs. Could anyone say how can I see the plugin lo...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    getting command line output from mps

    i have used to following code to run a jar file from and mps intention. My question is, how can I get the output stream in mps?   Runtimeruntime=Runtime.getRuntime(); stringcommandString="cmd /c ja...
    • 2 followers
    • 2 comments
    • 0 votes