public final class RunnerContentUi extends java.lang.Object implements ContentUI, Disposable, CellTransform.Facade, ViewContextEx, java.beans.PropertyChangeListener, QuickActionProvider, DockContainer.Dialog, Activatable
| Modifier and Type | Class and Description |
|---|---|
static class |
RunnerContentUi.ShowDebugContentAction |
Disposable.ParentDockContainer.ContentResponse, DockContainer.Dialog, DockContainer.Listener, DockContainer.PersistentActivatable.Adapter| Modifier and Type | Field and Description |
|---|---|
static DataKey<RunnerContentUi> |
KEY |
static Key<java.lang.Boolean> |
LIGHTWEIGHT_CONTENT_MARKER |
CELL_POPUP_PLACE, CELL_TOOLBAR_PLACE, CONTENT_KEY, CONTEXT_KEY, TAB_POPUP_PLACE, TAB_TOOLBAR_PLACE| Constructor and Description |
|---|
RunnerContentUi(Project project,
RunnerLayoutUi ui,
ActionManager actionManager,
IdeFocusManager focusManager,
RunnerLayout settings,
java.lang.String sessionName,
java.lang.String runnerId) |
RunnerContentUi(RunnerContentUi ui,
RunnerContentUi original,
int window) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCycleRootgetAcceptAreaFallback, startDropOverpublic static final DataKey<RunnerContentUi> KEY
public static final Key<java.lang.Boolean> LIGHTWEIGHT_CONTENT_MARKER
public RunnerContentUi(Project project, RunnerLayoutUi ui, ActionManager actionManager, IdeFocusManager focusManager, RunnerLayout settings, java.lang.String sessionName, java.lang.String runnerId)
public RunnerContentUi(RunnerContentUi ui, RunnerContentUi original, int window)
public void setLeftToolbar(ActionGroup group, java.lang.String place)
public ActionGroup getCellPopupGroup(java.lang.String place)
getCellPopupGroup in interface ViewContextExpublic boolean isOriginal()
isOriginal in interface ViewContextExpublic int getWindow()
getWindow in interface ViewContextExpublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerpublic ActionCallback detachTo(int window, GridCell cell)
detachTo in interface ViewContextExpublic RelativeRectangle getAcceptArea()
getAcceptArea in interface DockContainerpublic DockContainer.ContentResponse getContentResponse(DockableContent content, RelativePoint point)
getContentResponse in interface DockContainerpublic javax.swing.JComponent getComponent()
getComponent in interface ContentUIgetComponent in interface QuickActionProviderpublic javax.swing.JComponent getContainerComponent()
getContainerComponent in interface DockContainerpublic void add(DockableContent dockable, RelativePoint dropTarget)
add in interface DockContainerpublic void closeAll()
DockContainercloseAll in interface DockContainerpublic void addListener(DockContainer.Listener listener, Disposable parent)
addListener in interface DockContainerpublic boolean isEmpty()
isEmpty in interface DockContainerpublic java.awt.Image processDropOver(DockableContent dockable, RelativePoint dropTarget)
processDropOver in interface DockContainerpublic void toggleContentPopup(JBTabs tabs)
public java.util.List<Content> getPopupContents()
public void resetDropOver(DockableContent content)
resetDropOver in interface DockContainerpublic boolean isDisposeWhenEmpty()
isDisposeWhenEmpty in interface DockContainerpublic void setManager(ContentManager manager)
setManager in interface ContentUIpublic ContentManager getContentManager(Content content)
public GridCell findCellFor(Content content)
findCellFor in interface ViewContextpublic void saveUiState()
saveUiState in interface ViewContextpublic Tab getTabFor(Grid grid)
getTabFor in interface ViewContextpublic void showNotify()
showNotify in interface Activatablepublic void hideNotify()
hideNotify in interface Activatablepublic Grid findGridFor(Content content)
findGridFor in interface ViewContextpublic boolean isSingleSelection()
isSingleSelection in interface ContentUIpublic boolean isToSelectAddedContent()
isToSelectAddedContent in interface ContentUIpublic boolean canBeEmptySelection()
canBeEmptySelection in interface ContentUIpublic void beforeDispose()
beforeDispose in interface ContentUIpublic boolean canChangeSelectionTo(Content content, boolean implicit)
canChangeSelectionTo in interface ContentUIpublic java.lang.String getCloseActionName()
getCloseActionName in interface ContentUIpublic java.lang.String getCloseAllButThisActionName()
getCloseAllButThisActionName in interface ContentUIpublic java.lang.String getPreviousContentActionName()
getPreviousContentActionName in interface ContentUIpublic java.lang.String getNextContentActionName()
getNextContentActionName in interface ContentUIpublic void dispose()
Disposabledispose in interface Disposablepublic void restoreLayout()
restoreLayout in interface ViewContextpublic boolean isStateBeingRestored()
isStateBeingRestored in interface ViewContextpublic void setStateIsBeingRestored(boolean restoredNow,
java.lang.Object requestor)
setStateIsBeingRestored in interface ViewContextpublic void updateActionsImmediately()
public boolean isMinimizeActionEnabled()
isMinimizeActionEnabled in interface ViewContextpublic boolean isMoveToGridActionEnabled()
isMoveToGridActionEnabled in interface ViewContextpublic void setPolicy(java.lang.String contentId,
LayoutAttractionPolicy policy)
public Content findContent(java.lang.String key)
public void restoreContent(java.lang.String key)
public boolean isToDisposeRemovedContent()
isToDisposeRemovedContent in interface ViewContextpublic void attract(Content content, boolean afterInitialized)
public static boolean ensureValid(javax.swing.JComponent c)
public void minimize(Content content, CellTransform.Restore restore)
minimize in interface CellTransform.Facadepublic void restore(Content content)
public Project getProject()
getProject in interface ViewContextpublic CellTransform.Facade getCellTransform()
getCellTransform in interface ViewContextpublic ContentManager getContentManager()
getContentManager in interface ViewContextpublic ActionManager getActionManager()
getActionManager in interface ViewContextpublic RunnerLayout getLayoutSettings()
getLayoutSettings in interface ViewContextExpublic View getStateFor(Content content)
getStateFor in interface ViewContextpublic ActionCallback select(Content content, boolean requestFocus)
select in interface ViewContextpublic void validate(Content content, ActiveRunnable toRestore)
validate in interface ViewContextpublic IdeFocusManager getFocusManager()
getFocusManager in interface ViewContextpublic RunnerLayoutUi getRunnerLayoutUi()
getRunnerLayoutUi in interface ViewContextpublic java.lang.String getName()
getName in interface QuickActionProviderpublic java.util.List<AnAction> getActions(boolean originalProvider)
getActions in interface QuickActionProvider