2 comments
Comment actions Permalink

RunManager.getInstance(project).getConfigurationsList().

--
Nikolay Chashnikov
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink
see my screencast https://www.youtube.com/watch?v=TidljhHusRY&feature=youtu.be, there is "Ex" in popup, but when i use following, i can't get "Ex"

// Plugin.groovy

 
package ro.test

import com.intellij.execution.RunManager
import com.intellij.execution.impl.RunManagerImpl
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent

/**
* Created by roroco on 4/6/15.
*/
class
Plugin extends AnAction {

    @Override
    void actionPerformed
(AnActionEvent e) {
        RunManagerImpl rm = RunManager.getInstance(e.getProject())
        def l = rm.getConfigurationsList(rm.getConfigurationType("Application"))
        l
    }
}
0

Please sign in to leave a comment.