public final class TaggingPresetNameTemplateList extends java.lang.Object implements TaggingPresetListener
Modifier and Type | Field and Description |
---|---|
private static TaggingPresetNameTemplateList |
instance |
private java.util.List<TaggingPreset> |
presetsWithPattern |
Modifier | Constructor and Description |
---|---|
private |
TaggingPresetNameTemplateList() |
Modifier and Type | Method and Description |
---|---|
private void |
buildPresetsWithPattern() |
TaggingPreset |
findPresetTemplate(IPrimitive primitive)
Finds and returns the first occurrence of preset with template name matching the given primitive
|
static TaggingPresetNameTemplateList |
getInstance()
Replies the unique instance.
|
void |
taggingPresetsModified()
Called after list of tagging presets has been modified.
|
private static TaggingPresetNameTemplateList instance
private final java.util.List<TaggingPreset> presetsWithPattern
private TaggingPresetNameTemplateList()
public static TaggingPresetNameTemplateList getInstance()
private void buildPresetsWithPattern()
public TaggingPreset findPresetTemplate(IPrimitive primitive)
primitive
- The primitive to matchpublic void taggingPresetsModified()
TaggingPresetListener
taggingPresetsModified
in interface TaggingPresetListener