void () { final Object o = ((ErrorsConfigurable)getConfigurable()).getSelectedObject(); if (o instanceof InspectionProfile) { myManager.setProfile(((InspectionProfile)o).getName()); } super.doOKAction(); }