use of org.jabref.model.cleanup.FieldFormatterCleanups in project jabref by JabRef.
the class FieldFormatterCleanupsPanel method storeSettings.
public void storeSettings(MetaData metaData) {
Objects.requireNonNull(metaData);
FieldFormatterCleanups formatterCleanups = getFormatterCleanups();
// if all actions have been removed, remove the save actions from the MetaData
if (formatterCleanups.getConfiguredActions().isEmpty()) {
metaData.clearSaveActions();
return;
}
metaData.setSaveActions(formatterCleanups);
}
Aggregations