@Override public void initializeFrom(ILaunchConfiguration configuration) { JavaLaunchConfig cfg = new JavaLaunchConfig(configuration); try { compileBeforeCheckbox.setSelection(!cfg.getCompileBefore()); ignoreMissingFLIClassesCheckbox.setSelection(cfg.getIgnoreMissingFLIClasses()); } catch (CoreException e) { standardExceptionHandling(e); showErrorMessage("Fatal error!"); } }
@Override public void performApply(ILaunchConfigurationWorkingCopy configuration) { JavaLaunchConfig cfg = new JavaLaunchConfig(configuration); cfg.setCompileBefore(!compileBeforeCheckbox.getSelection()); cfg.setIgnoreMissingFLIClasses(ignoreMissingFLIClassesCheckbox.getSelection()); }