本文整理匯總了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}