/* * If a window of the pane gets (programmatically) deactived, we hide the * pane. */ void deactivateWindow(RDockableWindow window) { super.deactivateWindow(window); RLayoutPane layoutPane = getLayoutPane(); if (layoutPane != null) { layoutPane.resetActiveAutoHideItem(item); } }
/** Redocks the window(s) of this pane. */ void pinRequest() { int position = item.getPosition(); RLayoutPane layoutPane = getLayoutPane(); layoutPane.removeAutoHideItem(item); RDockableWindow[] windows = getWindows(); RDockableWindow selectedWindow = getSelectedWindow(); layoutPane.getLayoutContainer().redockWindows(position, windows, selectedWindow); }