public void canApply() throws ConfigurationException {
   for (ModuleConfigurationEditor editor : myEditors) {
     if (editor instanceof ModuleElementsEditor) {
       ((ModuleElementsEditor) editor).canApply();
     }
   }
 }
 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);
     }
   }
 }
Esempio n. 3
0
 @Override
 public void canApply() throws ConfigurationException {
   super.canApply();
   if (myClasspathFormatPanel != null) {
     final String storageID = myClasspathFormatPanel.getSelectedClasspathFormat();
     ClasspathStorage.getProvider(storageID).assertCompatible(getModel());
   }
 }
  public void init(History history) {
    myHistory = history;

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

    restoreSelectedEditor();
  }