public class ToolWindowEP extends java.lang.Object implements PluginAware
Modifier and Type | Field and Description |
---|---|
java.lang.String |
anchor
The side of the screen on which the toolwindow is displayed ("left", "right" or "bottom").
|
boolean |
canCloseContents |
java.lang.String |
conditionClass
Deprecated.
Implement
ToolWindowFactory.isApplicable(Project) instead. |
static ExtensionPointName<ToolWindowEP> |
EP_NAME |
java.lang.String |
factoryClass
The name of the class implementing
ToolWindowFactory , used to create the toolwindow contents. |
java.lang.String |
icon
The resource path of the icon displayed on the toolwindow button.
|
java.lang.String |
id |
boolean |
isDoNotActivateOnStart
Tool window saves its state on project close and restore on when project opens.
|
boolean |
secondary |
boolean |
side |
Constructor and Description |
---|
ToolWindowEP() |
Modifier and Type | Method and Description |
---|---|
Condition<Project> |
getCondition()
Deprecated.
Do not use ToolWindowEP.
|
Condition<Project> |
getCondition(PluginDescriptor pluginDescriptor) |
java.lang.Class<? extends ToolWindowFactory> |
getFactoryClass(PluginDescriptor pluginDescriptor) |
PluginDescriptor |
getPluginDescriptor() |
ToolWindowFactory |
getToolWindowFactory()
Deprecated.
Do not use ToolWindowEP.
|
ToolWindowFactory |
getToolWindowFactory(PluginDescriptor pluginDescriptor) |
void |
setPluginDescriptor(PluginDescriptor value)
Called by extensions framework when extension is loaded from plugin.xml descriptor.
|
java.lang.String |
toString() |
public static final ExtensionPointName<ToolWindowEP> EP_NAME
public java.lang.String id
public java.lang.String anchor
public boolean side
public java.lang.String icon
public boolean isDoNotActivateOnStart
true
if Tool Window should not be activated on start even if was opened previously.
false
otherwise. Please note that active (visible and focused) tool window would be activated on start in any case.public java.lang.String factoryClass
ToolWindowFactory
, used to create the toolwindow contents.@Deprecated public java.lang.String conditionClass
ToolWindowFactory.isApplicable(Project)
instead.public boolean secondary
public boolean canCloseContents
public final PluginDescriptor getPluginDescriptor()
public final void setPluginDescriptor(PluginDescriptor value)
PluginAware
If this method is implemented in a bean class
extension point and it also exposes the stored plugin description via getPluginDescriptor
method, you must annotate the latter
with @Transient
to ensure that serialization engine won't try to deserialize this property.
setPluginDescriptor
in interface PluginAware
value
- descriptor of the plugin that provided this particular extension.@Deprecated public ToolWindowFactory getToolWindowFactory()
public ToolWindowFactory getToolWindowFactory(PluginDescriptor pluginDescriptor)
public java.lang.Class<? extends ToolWindowFactory> getFactoryClass(PluginDescriptor pluginDescriptor)
@Deprecated public Condition<Project> getCondition()
public Condition<Project> getCondition(PluginDescriptor pluginDescriptor)
public java.lang.String toString()
toString
in class java.lang.Object