Example #1
0
    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();
    }
Example #2
0
 String getProjectCompilerOptions() {
   return includeProjectCompileParametersCheckBox.isSelected()
       ? projectCompileParameters.getText()
       : "";
 }
Example #3
0
 boolean doRun() {
   return doRun.isSelected();
 }
Example #4
0
 private void setSelectedProjectCompile() {
   boolean b = includeProjectCompileParametersCheckBox.isSelected();
   projectCompileParameters.setEditable(b);
   projectCompileParameters.setEnabled(b);
 }