當前位置: 首頁>>代碼示例>>Java>>正文


Java RunProfile.getName方法代碼示例

本文整理匯總了Java中com.intellij.execution.configurations.RunProfile.getName方法的典型用法代碼示例。如果您正苦於以下問題:Java RunProfile.getName方法的具體用法?Java RunProfile.getName怎麽用?Java RunProfile.getName使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在com.intellij.execution.configurations.RunProfile的用法示例。


在下文中一共展示了RunProfile.getName方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: RunContentDescriptor

import com.intellij.execution.configurations.RunProfile; //導入方法依賴的package包/類
public RunContentDescriptor(@NotNull RunProfile profile, @NotNull ExecutionResult executionResult, @NotNull RunnerLayoutUi ui) {
  this(executionResult.getExecutionConsole(),
       executionResult.getProcessHandler(),
       ui.getComponent(),
       profile.getName(),
       profile.getIcon(),
       null,
       executionResult instanceof DefaultExecutionResult ? ((DefaultExecutionResult)executionResult).getRestartActions() : null);
  myRunnerLayoutUi = ui;
}
 
開發者ID:jskierbi,項目名稱:intellij-ce-playground,代碼行數:11,代碼來源:RunContentDescriptor.java

示例2: create

import com.intellij.execution.configurations.RunProfile; //導入方法依賴的package包/類
@NotNull
public static ExecutionEnvironmentBuilder create(@NotNull Project project, @NotNull Executor executor, @NotNull RunProfile runProfile) throws ExecutionException {
  ExecutionEnvironmentBuilder builder = createOrNull(project, executor, runProfile);
  if (builder == null) {
    throw new ExecutionException("Cannot find runner for " + runProfile.getName());
  }
  return builder;
}
 
開發者ID:jskierbi,項目名稱:intellij-ce-playground,代碼行數:9,代碼來源:ExecutionEnvironmentBuilder.java

示例3: create

import com.intellij.execution.configurations.RunProfile; //導入方法依賴的package包/類
@Nonnull
public static ExecutionEnvironmentBuilder create(@Nonnull Project project, @Nonnull Executor executor, @Nonnull RunProfile runProfile) throws ExecutionException {
  ExecutionEnvironmentBuilder builder = createOrNull(project, executor, runProfile);
  if (builder == null) {
    throw new ExecutionException("Cannot find runner for " + runProfile.getName());
  }
  return builder;
}
 
開發者ID:consulo,項目名稱:consulo,代碼行數:9,代碼來源:ExecutionEnvironmentBuilder.java

示例4: MyRunContentDescriptor

import com.intellij.execution.configurations.RunProfile; //導入方法依賴的package包/類
public MyRunContentDescriptor(final RunProfile profile, final ExecutionResult executionResult, final JComponent component, @NotNull Disposable additionalDisposable) {
  super(executionResult.getExecutionConsole(), executionResult.getProcessHandler(), component, profile.getName(), profile.getIcon());
  myAdditionalDisposable = additionalDisposable;
}
 
開發者ID:lshain-android-source,項目名稱:tools-idea,代碼行數:5,代碼來源:RunContentBuilder.java

示例5: RunContentDescriptor

import com.intellij.execution.configurations.RunProfile; //導入方法依賴的package包/類
public RunContentDescriptor(@Nonnull RunProfile profile, @Nonnull ExecutionResult executionResult, @Nonnull RunnerLayoutUi ui) {
  this(executionResult.getExecutionConsole(), executionResult.getProcessHandler(), ui.getComponent(), profile.getName(), profile.getIcon(), null,
       executionResult instanceof DefaultExecutionResult ? ((DefaultExecutionResult)executionResult).getRestartActions() : null);
  myRunnerLayoutUi = ui;
}
 
開發者ID:consulo,項目名稱:consulo,代碼行數:6,代碼來源:RunContentDescriptor.java


注:本文中的com.intellij.execution.configurations.RunProfile.getName方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。