Esempio n. 1
0
 public static RunPubAction createPubInstallOfflineAction(IWorkbenchWindow window) {
   RunPubAction action = new RunPubAction(window, RunPubJob.INSTALL_OFFLINE_COMMAND);
   action.setText(NLS.bind(ActionMessages.RunPubAction_commandText, "Get Offline"));
   action.setDescription(
       NLS.bind(ActionMessages.RunPubAction_commandDesc, RunPubJob.INSTALL_COMMAND));
   return action;
 }
Esempio n. 2
0
 public static RunPubAction createPubUpdateAction(IWorkbenchWindow window) {
   RunPubAction action = new RunPubAction(window, RunPubJob.UPDATE_COMMAND);
   action.setText(NLS.bind(ActionMessages.RunPubAction_commandText, "Upgrade"));
   action.setDescription(
       NLS.bind(ActionMessages.RunPubAction_commandDesc, RunPubJob.UPDATE_COMMAND));
   return action;
 }
Esempio n. 3
0
 public static RunPubAction createPubDeployAction(IWorkbenchWindow window) {
   RunPubAction action = new RunPubAction(window, RunPubJob.BUILD_COMMAND);
   action.setText(NLS.bind(ActionMessages.RunPubAction_commandText, "Build (generates JS)"));
   action.setDescription(
       NLS.bind(ActionMessages.RunPubAction_commandDesc, RunPubJob.BUILD_COMMAND));
   return action;
 }