void doReset(RunnerAndConfigurationSettings settings) { myRunConfiguration = settings.getConfiguration(); originalTasks.clear(); RunManagerImpl runManager = RunManagerImpl.getInstanceImpl(myRunConfiguration.getProject()); originalTasks.addAll(runManager.getBeforeRunTasks(myRunConfiguration)); myModel.replaceAll(originalTasks); myShowSettingsBeforeRunCheckBox.setSelected(settings.isEditBeforeRun()); myShowSettingsBeforeRunCheckBox.setEnabled(!(isUnknown())); myPanel.setVisible(checkBeforeRunTasksAbility(false)); updateText(); }
@Override public void reset() { List<ProjectExternalDependency> dependencies = myDependenciesManager.getAllDependencies(); myListModel.replaceAll(dependencies); }
public void resetTo(ApplicationSettings settings) { myLastSelected = -1; myRulesModel.replaceAll(settings.getLibraryBundlificationRules()); myRulesList.setSelectedIndex(0); updateFields(); }