use of org.rstudio.core.client.events.EnsureHeightEvent in project rstudio by rstudio.
the class SourceShim method onEnsureVisibleSourceWindow.
@Override
public void onEnsureVisibleSourceWindow(EnsureVisibleSourceWindowEvent e) {
if (source_.getView().getTabCount() > 0) {
fireEvent(new EnsureVisibleEvent());
fireEvent(new EnsureHeightEvent(EnsureHeightEvent.NORMAL));
}
}
use of org.rstudio.core.client.events.EnsureHeightEvent in project rstudio by rstudio.
the class SourceShim method onMaximizeSourceWindow.
@Override
public void onMaximizeSourceWindow(MaximizeSourceWindowEvent e) {
fireEvent(new EnsureVisibleEvent());
fireEvent(new EnsureHeightEvent(EnsureHeightEvent.MAXIMIZED));
}
Aggregations