コード例 #1
0
 public void canApply() throws ConfigurationException {
   for (ModuleConfigurationEditor editor : myEditors) {
     if (editor instanceof ModuleElementsEditor) {
       ((ModuleElementsEditor) editor).canApply();
     }
   }
 }
コード例 #2
0
 public void updateCompilerOutputPathChanged(String baseUrl, String moduleName) {
   if (myGenericSettingsPanel == null) return; // wasn't initialized yet
   for (final ModuleConfigurationEditor myEditor : myEditors) {
     if (myEditor instanceof ModuleElementsEditor) {
       ((ModuleElementsEditor) myEditor).moduleCompileOutputChanged(baseUrl, moduleName);
     }
   }
 }
コード例 #3
0
ファイル: ClasspathEditor.java プロジェクト: novokrest/JBIDEA
 @Override
 public void canApply() throws ConfigurationException {
   super.canApply();
   if (myClasspathFormatPanel != null) {
     final String storageID = myClasspathFormatPanel.getSelectedClasspathFormat();
     ClasspathStorage.getProvider(storageID).assertCompatible(getModel());
   }
 }
コード例 #4
0
  public void init(History history) {
    myHistory = history;

    for (ModuleConfigurationEditor each : myEditors) {
      if (each instanceof ModuleElementsEditor) {
        ((ModuleElementsEditor) each).setHistory(myHistory);
      }
    }

    restoreSelectedEditor();
  }