use of org.rstudio.core.client.command.Handler in project rstudio by rstudio.
the class WorkbenchScreen method onActivateHelp.
@Handler
void onActivateHelp() {
paneManager_.activateTab(Tab.Help);
fireEventDelayed(new ActivateHelpEvent(), 200);
}
use of org.rstudio.core.client.command.Handler in project rstudio by rstudio.
the class Console method onLayoutZoomConsole.
@Handler
public void onLayoutZoomConsole() {
onActivateConsole();
events_.fireEvent(new ZoomPaneEvent("Console"));
}
use of org.rstudio.core.client.command.Handler in project rstudio by rstudio.
the class Application method onLogFocusedElement.
@Handler
public void onLogFocusedElement() {
Element el = DomUtils.getActiveElement();
DomUtils.dump(el, "Focused Element: ");
}
use of org.rstudio.core.client.command.Handler in project rstudio by rstudio.
the class ApplicationQuit method onRestartR.
@Handler
public void onRestartR() {
boolean saveChanges = saveAction_.getAction() != SaveAction.NOSAVE;
eventBus_.fireEvent(new SuspendAndRestartEvent(SuspendOptions.createSaveMinimal(saveChanges), null));
}
use of org.rstudio.core.client.command.Handler in project rstudio by rstudio.
the class DesktopApplicationHeader method onDiagnosticsReport.
@Handler
void onDiagnosticsReport() {
eventBus_.fireEvent(new SendToConsoleEvent("rstudioDiagnosticsReport()", true));
new Timer() {
@Override
public void run() {
Desktop.getFrame().showFolder("~/rstudio-diagnostics");
}
}.schedule(1000);
}
Aggregations