public void canApply() throws ConfigurationException { for (ModuleConfigurationEditor editor : myEditors) { if (editor instanceof ModuleElementsEditor) { ((ModuleElementsEditor) editor).canApply(); } } }
@Override public void canApply() throws ConfigurationException { super.canApply(); if (myClasspathFormatPanel != null) { final String storageID = myClasspathFormatPanel.getSelectedClasspathFormat(); ClasspathStorage.getProvider(storageID).assertCompatible(getModel()); } }