public abstract class LightToolWindowManager extends java.lang.Object implements Disposable
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EDITOR_MODE |
java.lang.String |
myEditorModeKey |
protected Project |
myProject |
protected ToolWindow |
myToolWindow |
Modifier | Constructor and Description |
---|---|
protected |
LightToolWindowManager(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
bind(DesignerEditorPanelFacade designer) |
protected abstract LightToolWindow |
createContent(DesignerEditorPanelFacade designer) |
protected LightToolWindow |
createContent(DesignerEditorPanelFacade designer,
LightToolWindowContent content,
java.lang.String title,
javax.swing.Icon icon,
javax.swing.JComponent component,
javax.swing.JComponent focusedComponent,
int defaultWidth,
AnAction [] actions) |
AnAction |
createGearActions() |
protected abstract ToggleEditorModeAction |
createToggleAction(ToolWindowAnchor anchor) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
dispose(DesignerEditorPanelFacade designer) |
protected void |
disposeContent(DesignerEditorPanelFacade designer) |
DesignerEditorPanelFacade |
getActiveDesigner() |
protected abstract ToolWindowAnchor |
getAnchor() |
protected java.lang.String |
getComponentName() |
protected java.lang.Object |
getContent(DesignerEditorPanelFacade designer) |
protected abstract DesignerEditorPanelFacade |
getDesigner(FileEditor editor) |
ToolWindowAnchor |
getEditorMode() |
protected void |
initGearActions() |
protected abstract void |
initToolWindow() |
protected boolean |
isEditorMode() |
protected void |
setEditorMode(ToolWindowAnchor newState) |
protected abstract void |
updateToolWindow(DesignerEditorPanelFacade designer) |
public static final java.lang.String EDITOR_MODE
protected final Project myProject
protected volatile ToolWindow myToolWindow
public final java.lang.String myEditorModeKey
protected LightToolWindowManager(Project project)
protected abstract DesignerEditorPanelFacade getDesigner(FileEditor editor)
public DesignerEditorPanelFacade getActiveDesigner()
protected abstract void initToolWindow()
protected abstract void updateToolWindow(DesignerEditorPanelFacade designer)
protected final void initGearActions()
protected abstract ToolWindowAnchor getAnchor()
public AnAction createGearActions()
protected abstract ToggleEditorModeAction createToggleAction(ToolWindowAnchor anchor)
public final void bind(DesignerEditorPanelFacade designer)
public final void dispose(DesignerEditorPanelFacade designer)
protected final java.lang.Object getContent(DesignerEditorPanelFacade designer)
protected abstract LightToolWindow createContent(DesignerEditorPanelFacade designer)
protected final LightToolWindow createContent(DesignerEditorPanelFacade designer, LightToolWindowContent content, java.lang.String title, javax.swing.Icon icon, javax.swing.JComponent component, javax.swing.JComponent focusedComponent, int defaultWidth, AnAction [] actions)
protected final void disposeContent(DesignerEditorPanelFacade designer)
protected final boolean isEditorMode()
public final ToolWindowAnchor getEditorMode()
protected final void setEditorMode(ToolWindowAnchor newState)
public void dispose()
Disposable
dispose
in interface Disposable
protected java.lang.String getComponentName()