public abstract class Executor
extends java.lang.Object
ExecutorRegistry
Modifier and Type | Class and Description |
---|---|
static interface |
Executor.ActionWrapper |
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<Executor> |
EXECUTOR_EXTENSION_NAME |
Constructor and Description |
---|
Executor() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getActionName() |
abstract java.lang.String |
getContextActionId() |
abstract java.lang.String |
getDescription()
Returns the action description (text displayed in the status bar) for the toolbar button corresponding to the executor.
|
abstract javax.swing.Icon |
getDisabledIcon()
Returns the 16x16 icon for the disabled toolbar button corresponding to the executor.
|
abstract java.lang.String |
getHelpId() |
abstract javax.swing.Icon |
getIcon()
Returns the 16x16 icon for the toolbar button corresponding to the executor.
|
abstract java.lang.String |
getId()
Returns the unique ID of the executor.
|
abstract java.lang.String |
getStartActionText() |
java.lang.String |
getStartActionText(java.lang.String configurationName) |
abstract javax.swing.Icon |
getToolWindowIcon() |
abstract java.lang.String |
getToolWindowId()
Returns the ID of the toolwindow in which the run tabs created by this executor will be displayed.
|
boolean |
isApplicable(Project project)
Return false to suppress action visibility for given project.
|
Executor.ActionWrapper |
runnerActionsGroupExecutorActionCustomizer()
Returns the way to customize ExecutorAction (or ExecutorGroupActionGroup) created for this Executor by ExecutorRegistryImpl
|
static java.lang.String |
shortenNameIfNeed(java.lang.String name)
Deprecated.
use
shortenNameIfNeeded(String) instead |
static java.lang.String |
shortenNameIfNeeded(java.lang.String name)
Too long names don't fit into UI controls and have to be trimmed
|
public static final ExtensionPointName<Executor> EXECUTOR_EXTENSION_NAME
public abstract java.lang.String getToolWindowId()
ToolWindowId.RUN
or
ToolWindowId.DEBUG
).public abstract javax.swing.Icon getToolWindowIcon()
public abstract javax.swing.Icon getIcon()
public abstract javax.swing.Icon getDisabledIcon()
public abstract java.lang.String getDescription()
public abstract java.lang.String getActionName()
public abstract java.lang.String getId()
public abstract java.lang.String getStartActionText()
public abstract java.lang.String getContextActionId()
public abstract java.lang.String getHelpId()
public Executor.ActionWrapper runnerActionsGroupExecutorActionCustomizer()
ExecutorRegistryImpl.ExecutorAction
(or ExecutorRegistryImpl.ExecutorGroupActionGroup
) created for this Executor,
that will be shown in ExecutorRegistryImpl.RUNNERS_GROUP
group on main toolbarpublic java.lang.String getStartActionText(java.lang.String configurationName)
public boolean isApplicable(Project project)
public static java.lang.String shortenNameIfNeeded(java.lang.String name)
@Deprecated public static java.lang.String shortenNameIfNeed(java.lang.String name)
shortenNameIfNeeded(String)
instead