|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.reload.moonunit.schema.ReloadSchemaController
uk.ac.reload.editor.ReloadEditorSchemaController
The Reload Editor Schema Controller
Field Summary | |
protected ReloadHelperProfile |
_helperProfile
The Helper Profile |
Fields inherited from class uk.ac.reload.moonunit.schema.ReloadSchemaController |
_reloadSchema, _schemaFile, _schemaHelper, _version, _vocab |
Constructor Summary | |
ReloadEditorSchemaController()
Constructor |
|
ReloadEditorSchemaController(java.io.File fileSchema,
java.io.File fileHelper,
java.io.File fileVocab)
Constructor |
Method Summary | |
abstract javax.swing.Icon |
getClosedIcon(org.jdom.Element element)
Get The Closed Icon (for the Full View Tree) |
abstract javax.swing.Icon |
getClosedIcon(ReloadSchemaElement schemaElement)
Get The Closed Icon (for the Full View Tree) |
abstract javax.swing.Icon |
getLeafIcon(org.jdom.Element element)
Get The Leaf Icon (for the Full View Tree) |
abstract javax.swing.Icon |
getLeafIcon(ReloadSchemaElement schemaElement)
Get The Leaf Icon (for the Full View Tree) |
abstract javax.swing.Icon |
getOpenIcon(org.jdom.Element element)
Get The Open Icon (for the Full View Tree) |
abstract javax.swing.Icon |
getOpenIcon(ReloadSchemaElement schemaElement)
Get The Open Icon (for the Full View Tree) |
ReloadHelperProfile |
getReloadHelperProfile()
Get the Reload Helper profile |
static ReloadSchemaController |
getReloadSchemaController(org.jdom.Document doc,
org.jdom.Namespace ns)
Get an appropriate ReloadSchemaController for a given Namespace in an Instance ReloadDocument |
static ReloadSchemaController |
getReloadSchemaController(java.lang.String schemaVersion)
Get a Schema Controller depending on a Schema version |
void |
loadSchema(java.io.File fileSchema)
Load the Schema and warn if need be |
void |
loadSchemaHelper(java.io.File fileHelper)
Load the Schema Helper and warn if need be |
void |
loadVocab(java.io.File fileVocab)
Load the Vocab and warn if need be |
void |
setHelperProfile(ReloadHelperProfile profile)
Set new Profile but keep original Schema |
protected static void |
showWarningMessage(java.lang.String msg)
Warn the user that we can't cope with an old version |
Methods inherited from class uk.ac.reload.moonunit.schema.ReloadSchemaController |
getDefaultValue, getElementFriendlyName, getElementHelperValue, getElementTip, getFacetValue, getReloadSchema, getReloadSchemaNode, getRootElementName, getSchemaFile, getSchemaHelper, getVersion, getVocabularyList, getVocabularyList, getVocabularyList, getWidgetType, setDefaultVocabLanguage, setVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ReloadHelperProfile _helperProfile
Constructor Detail |
public ReloadEditorSchemaController()
public ReloadEditorSchemaController(java.io.File fileSchema, java.io.File fileHelper, java.io.File fileVocab)
Method Detail |
public void setHelperProfile(ReloadHelperProfile profile)
public void loadSchema(java.io.File fileSchema)
loadSchema
in class ReloadSchemaController
fileSchema
- the schema filepublic void loadSchemaHelper(java.io.File fileHelper)
loadSchemaHelper
in class ReloadSchemaController
fileHelper
- the schema helper filepublic void loadVocab(java.io.File fileVocab)
loadVocab
in class ReloadSchemaController
fileVocab
- the vocabulary helper filepublic static ReloadSchemaController getReloadSchemaController(org.jdom.Document doc, org.jdom.Namespace ns)
doc
- the ReloadDocument instance
ns the Namespace in the document
public static ReloadSchemaController getReloadSchemaController(java.lang.String schemaVersion)
schemaVersion
- the schema version
protected static void showWarningMessage(java.lang.String msg)
public ReloadHelperProfile getReloadHelperProfile()
public abstract javax.swing.Icon getLeafIcon(org.jdom.Element element)
element
- the leaf element
public abstract javax.swing.Icon getClosedIcon(org.jdom.Element element)
element
- the closed element
public abstract javax.swing.Icon getOpenIcon(org.jdom.Element element)
element
- the open element
public abstract javax.swing.Icon getLeafIcon(ReloadSchemaElement schemaElement)
schemaElement
- the leaf schema element
public abstract javax.swing.Icon getClosedIcon(ReloadSchemaElement schemaElement)
schemaElement
- the closed schemaElement
public abstract javax.swing.Icon getOpenIcon(ReloadSchemaElement schemaElement)
schemaElement
- the open schema element
|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |