Package com.intellij.execution.configurations

Examples of com.intellij.execution.configurations.RunProfile


                        RunContentDescriptor descriptor = session.getRunContentDescriptor();

                        if (callback != null) callback.processStarted(descriptor);

                        if (true /*LocalHistoryConfiguration.getInstance().ADD_LABEL_ON_RUNNING*/) {
                            RunProfile runProfile = environment.getRunProfile();
                            LocalHistory.getInstance().putSystemLabel(project, executor.getId() + " " + runProfile.getName());
                        }

                        ExecutionManager.getInstance(project).getContentManager().showRunContent(executor, descriptor);
                        ProcessHandler processHandler = descriptor.getProcessHandler();
                        if (processHandler != null) processHandler.startNotify();
View Full Code Here


import org.jetbrains.annotations.NotNull;

public class CfmlRunner extends DefaultProgramRunner {
  @Override
  protected RunContentDescriptor doExecute(@NotNull RunProfileState state, @NotNull ExecutionEnvironment env) throws ExecutionException {
    final RunProfile runProfileRaw = env.getRunProfile();
    if (runProfileRaw instanceof CfmlRunConfiguration) {
      FileDocumentManager.getInstance().saveAllDocuments();
      final CfmlRunConfiguration runProfile = (CfmlRunConfiguration)runProfileRaw;
      final CfmlRunnerParameters params = runProfile.getRunnerParameters();
      BrowserLauncher.getInstance().browse(params.getUrl(), params.getNonDefaultBrowser(), env.getProject());
View Full Code Here

TOP

Related Classes of com.intellij.execution.configurations.RunProfile

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.