Search in sources :

Example 1 with PrimaryWindowFrame

use of org.rstudio.core.client.theme.PrimaryWindowFrame in project rstudio by rstudio.

the class PaneManager method createConsole.

private LogicalWindow createConsole() {
    PrimaryWindowFrame frame = new PrimaryWindowFrame("Console", null);
    ToolbarButton goToWorkingDirButton = commands_.goToWorkingDir().createToolbarButton();
    goToWorkingDirButton.addStyleName(ThemeResources.INSTANCE.themeStyles().windowFrameToolbarButton());
    LogicalWindow logicalWindow = new LogicalWindow(frame, new MinimizedWindowFrame("Console"));
    consoleTabPanel_ = new ConsoleTabPanel(frame, logicalWindow, consolePane_, compilePdfTab_, findOutputTab_, sourceCppTab_, renderRmdTab_, deployContentTab_, markersTab_, terminalTab_, eventBus_, goToWorkingDirButton);
    return logicalWindow;
}
Also used : ToolbarButton(org.rstudio.core.client.widget.ToolbarButton) MinimizedWindowFrame(org.rstudio.core.client.theme.MinimizedWindowFrame) LogicalWindow(org.rstudio.core.client.layout.LogicalWindow) PrimaryWindowFrame(org.rstudio.core.client.theme.PrimaryWindowFrame)

Aggregations

LogicalWindow (org.rstudio.core.client.layout.LogicalWindow)1 MinimizedWindowFrame (org.rstudio.core.client.theme.MinimizedWindowFrame)1 PrimaryWindowFrame (org.rstudio.core.client.theme.PrimaryWindowFrame)1 ToolbarButton (org.rstudio.core.client.widget.ToolbarButton)1