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