public InstallPkgsWizard( final ITool rTool, final IRPkgManager.Ext manager, final int mode, final RPkgResolver plan) { fRTool = rTool; fRPkgManager = manager; fMode = mode; switch (fMode) { case MODE_INSTALL: fTitle = "Install Selected R Packages"; break; case MODE_UPDATE: fTitle = "Update Selected R Packages"; break; case MODE_REINSTALL: fTitle = "Reinstall R Packages"; break; default: throw new IllegalArgumentException("mode"); // $NON-NLS-1$ } fResolver = plan; setWindowTitle("R Package Manager"); setNeedsProgressMonitor(true); setDialogSettings( DialogUtil.getDialogSettings(RUIPlugin.getDefault(), "pkgmanager/InstallPkgsWizard")); }
public LoadHistoryWizard(final ToolProcess process) { super(); fProcess = process; setDialogSettings(DialogUtil.getDialogSettings(NicoUIPlugin.getDefault(), STORE_SECTION)); setWindowTitle(NicoUIMessages.LoadHistory_title); // setDefaultPageImageDescriptor(); setNeedsProgressMonitor(true); }
public NewRFileCreationWizard() { setDialogSettings( DialogUtil.getDialogSettings(RUIPlugin.getDefault(), "NewElementWizard")); // $NON-NLS-1$ setDefaultPageImageDescriptor(RUI.getImageDescriptor(RUIPlugin.IMG_WIZBAN_NEWRFILE)); setWindowTitle(Messages.NewRScriptFileWizard_title); }
@Override protected IDialogSettings getDialogBoundsSettings() { return DialogUtil.getDialogSettings( StatetUIPlugin.getDefault(), "TaskTagEditDialog"); // $NON-NLS-1$ }
protected IDialogSettings getDialogSettings() { return DialogUtil.getDialogSettings( NicoUIPlugin.getDefault(), IToolEventHandler.SELECTFILE_EVENT_ID + "-Wizard"); }
public void saveSettings() { final IDialogSettings settings = getDialogSettings(); DialogUtil.saveHistorySettings(settings, fHistoryId, (String) fNewLocationString.getValue()); }
protected IDialogSettings getDialogSettings() { return DialogUtil.getDialogSettings(RConsoleUIPlugin.getDefault(), SETTINGS_DIALOG_ID); }
public NewRProjectWizard() { setDialogSettings( DialogUtil.getDialogSettings(RUIPlugin.getDefault(), "NewElementWizard")); // $NON-NLS-1$ setDefaultPageImageDescriptor(RUI.getImageDescriptor(RUIPlugin.IMG_WIZBAN_NEW_RPROJECT)); setWindowTitle(Messages.NewRProjectWizard_title); }