private void performEditMetaData(@NotNull Component context) {
    final Project project = CommonDataKeys.PROJECT.getData(DataManager.getInstance().getDataContext(context));
    final InspectionProfileModifiableModel profile = InspectionProfileUtil.getInspectionProfile(context);
    if (profile == null) {
      return;
    }
    final SSBasedInspection inspection = SSBasedInspection.getStructuralSearchInspection(profile);
    final InspectionMetaDataDialog dialog = inspection.createMetaDataDialog(project, profile.getDisplayName(), myMainConfiguration);
    if (isCleanupAllowed()) {
      dialog.showCleanupOption(myMainConfiguration.isCleanup());
    }
    if (!dialog.showAndGet()) {
      return;
    }
    final String name = dialog.getName();
    for (Configuration c : myConfigurations) {
      c.setName(name);
    }
    myMainConfiguration.setDescription(dialog.getDescription());
    myMainConfiguration.setProblemDescriptor(dialog.getProblemDescriptor());
    myMainConfiguration.setSuppressId(dialog.getSuppressId());
    myMainConfiguration.setCleanup(dialog.isCleanup());
    inspection.removeConfigurationsWithUuid(myMainConfiguration.getUuid());
    inspection.addConfigurations(myConfigurations);
    profile.setModified(true);
    CustomInspectionActions.fireProfileChanged(profile);
  }
private void performEditMetaData(@NotNull Component context)