public class PresetManager extends Object
Constructor and Description |
---|
PresetManager() |
Modifier and Type | Method and Description |
---|---|
static void |
clearCustomPresets(String themeName) |
static void |
createCustomPreset(String themeName,
String presetName,
String category,
String value,
String label,
String description) |
static void |
deletePreset(String themeName,
String presetName) |
static void |
editPreset(String themeName,
String presetName,
String value) |
static String |
extractPresetName(String themeName,
String str) |
static List<Type> |
getAllPresets() |
static PresetType |
getCustomPreset(String themeName,
String presetName) |
static List<PresetType> |
getCustomPresets(String themeName) |
static List<PresetType> |
getCustomPresets(String themeName,
String category) |
static List<PresetType> |
getGlobalPresets(String group,
String category) |
static PresetType |
getPresetByName(String name) |
static List<String> |
getUnidentifiedPresetNames(String themeName) |
static void |
renamePreset(String themeName,
String oldName,
String newName) |
static String |
resolvePresets(String themeName,
String propertyValue) |
static void |
setPresetCategory(String themeName,
String presetName,
String category) |
public static PresetType getPresetByName(String name)
public static List<PresetType> getGlobalPresets(String group, String category)
public static PresetType getCustomPreset(String themeName, String presetName)
public static List<PresetType> getCustomPresets(String themeName)
public static List<PresetType> getCustomPresets(String themeName, String category)
public static void createCustomPreset(String themeName, String presetName, String category, String value, String label, String description)
public static void setPresetCategory(String themeName, String presetName, String category)
public static void renamePreset(String themeName, String oldName, String newName) throws ThemeException
ThemeException
public static void deletePreset(String themeName, String presetName) throws ThemeException
ThemeException
public static void clearCustomPresets(String themeName)
Copyright © 2015 Nuxeo SA. All rights reserved.