Search in sources :

Example 1 with MinimizedWindowFrame

use of org.rstudio.core.client.theme.MinimizedWindowFrame 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)

Example 2 with MinimizedWindowFrame

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

the class PaneManager method createSource.

private LogicalWindow createSource() {
    WindowFrame sourceFrame = new WindowFrame();
    sourceFrame.setFillWidget(source_.asWidget());
    source_.forceLoad();
    return sourceLogicalWindow_ = new LogicalWindow(sourceFrame, new MinimizedWindowFrame("Source"));
}
Also used : MinimizedWindowFrame(org.rstudio.core.client.theme.MinimizedWindowFrame) LogicalWindow(org.rstudio.core.client.layout.LogicalWindow) MinimizedWindowFrame(org.rstudio.core.client.theme.MinimizedWindowFrame) PrimaryWindowFrame(org.rstudio.core.client.theme.PrimaryWindowFrame) WindowFrame(org.rstudio.core.client.theme.WindowFrame)

Aggregations

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