233223332334233523362337233823392340
} @Handler void onShinyAppsDeploy() { events_.fireEvent(new ShinyAppsActionEvent( ShinyAppsActionEvent.ACTION_TYPE_DEPLOY, docUpdateSentinel_.getPath())); }
234023412342234323442345234623472348
} @Handler void onShinyAppsTerminate() { events_.fireEvent(new ShinyAppsActionEvent( ShinyAppsActionEvent.ACTION_TYPE_TERMINATE, docUpdateSentinel_.getPath())); }
7980818283848586878889
// deploy its parent) String deployPath = appParams_.getPath(); if (!deployPath.endsWith("/")) deployPath += "/"; deployPath += "server.R"; events_.fireEvent(new ShinyAppsActionEvent( ShinyAppsActionEvent.ACTION_TYPE_DEPLOY, deployPath)); } } });
191192193194195196197198199200201
new ClickHandler() { @Override public void onClick(ClickEvent evt) { events_.fireEvent(new ShinyAppsActionEvent( ShinyAppsActionEvent.ACTION_TYPE_DEPLOY, targetFile_.getPath())); } }); toolbar.addLeftWidget(deployButton_);