|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
eu.esdihumboldt.hale.ui.codelist.legacy.CodeListPreferenceInitializer
public class CodeListPreferenceInitializer
Code list preferences
Field Summary |
---|
Fields inherited from interface eu.esdihumboldt.hale.ui.codelist.legacy.CodeListPreferenceConstants |
---|
KEY_ATTRIBUTE_PREFIX, KEY_SEARCH_PATH_COUNT, KEY_SEARCH_PATH_PREFIX |
Constructor Summary | |
---|---|
CodeListPreferenceInitializer()
|
Method Summary | |
---|---|
static void |
assignCodeList(String attributeIdentifier,
URI codeListLocation)
Assign a code list location to an attribute |
static URI |
getAssignedCodeList(String attributeIdentifier)
Get the assigned code list location for an attribute |
static List<String> |
getSearchPath()
Get the search path from the preferences |
void |
initializeDefaultPreferences()
|
static void |
setSearchPath(List<String> searchPath)
Save the search path to the preferences |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CodeListPreferenceInitializer()
Method Detail |
---|
public void initializeDefaultPreferences()
initializeDefaultPreferences
in class org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
AbstractPreferenceInitializer.initializeDefaultPreferences()
public static void setSearchPath(List<String> searchPath)
searchPath
- the search pathpublic static List<String> getSearchPath()
public static void assignCodeList(String attributeIdentifier, URI codeListLocation)
attributeIdentifier
- the attribute identifiercodeListLocation
- the code list location or null
public static URI getAssignedCodeList(String attributeIdentifier)
attributeIdentifier
- the attribute identifier
null
if none is assigned
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |