protected void doOKAction() { lastRunStatus = doRun.isSelected(); final CppSupportLoader loader = CppSupportLoader.getInstance(project); loader.setIncludeProjectSettings(includeProjectCompileParametersCheckBox.isSelected()); String s = compileProperties.getText(); int index = s.lastIndexOf(CompileHandler.MARKER); if (index != -1) s = s.substring(0, index).trim(); loader.setAdditionalCompileParameters(s.length() > 0 ? s : null); lastOptions = getCompiler(); super.doOKAction(); }
String getProjectCompilerOptions() { return includeProjectCompileParametersCheckBox.isSelected() ? projectCompileParameters.getText() : ""; }
boolean doRun() { return doRun.isSelected(); }
private void setSelectedProjectCompile() { boolean b = includeProjectCompileParametersCheckBox.isSelected(); projectCompileParameters.setEditable(b); projectCompileParameters.setEnabled(b); }