Package intellijcoder.main

Examples of intellijcoder.main.IntelliJCoderApplication


public class LaunchArenaAction extends AnAction {

    public void actionPerformed(AnActionEvent event) {
        try {
            Project project = DataKeys.PROJECT.getData(event.getDataContext());
            IntelliJCoderApplication application = Injector.injectIntelliJCoderApplication(project);
            application.launch();
        } catch (IntelliJCoderException e) {
            IntelliJIDEA.showErrorMessage("Failed to start Competition Arena. " + e.getMessage());
        }
    }
View Full Code Here


    private static IntelliJCoderApplication intelliJCoderInstance;

    static synchronized IntelliJCoderApplication injectIntelliJCoderApplication(Project project) {
        if(intelliJCoderInstance == null) {
            intelliJCoderInstance = new IntelliJCoderApplication(
                injectArenaAppletProvider(),
                injectArenaProcessLauncher(),
                injectIntelliJCoderServer(project),
                injectArenaConfigManager());
            injectIntelliJIDEAApplication().addApplicationListener(injectIntelliJCoderFinalizer(intelliJCoderInstance));
View Full Code Here

TOP

Related Classes of intellijcoder.main.IntelliJCoderApplication

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.