public abstract class MetaManager extends ModelLoader
LOG, myProject
Modifier | Constructor and Description |
---|---|
protected |
MetaManager(Project project,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected MetaModel |
createModel(java.lang.Class<RadComponent> model,
java.lang.String target,
java.lang.String tag) |
protected PaletteGroup |
createPaletteGroup(java.lang.String name) |
protected DefaultPaletteItem |
createPaletteItem(Element palette) |
protected VariationPaletteItem |
createVariationPaletteItem(PaletteItem paletteItem,
MetaModel model,
Element itemElement) |
<K,V> java.util.Map<K,V> |
getCache(java.lang.Object key) |
MetaModel |
getModelByTag(java.lang.String tag) |
MetaModel |
getModelByTarget(java.lang.String target) |
java.util.List<PaletteGroup> |
getPaletteGroups() |
java.util.List<MetaModel> |
getWrapInModels() |
protected void |
loadDocument(Element rootElement) |
protected PaletteGroup |
loadGroup(Element element) |
protected MetaModel |
loadModel(java.lang.ClassLoader classLoader,
Element element,
java.util.Map<MetaModel,java.util.List<java.lang.String>> modelToMorphing) |
protected void |
loadOther(MetaModel meta,
Element element) |
protected void |
loadProperties(MetaModel meta,
Element properties) |
void |
setCache(java.lang.Object key,
java.lang.Object value) |
getProject, load
protected MetaManager(Project project, java.lang.String name)
protected void loadDocument(Element rootElement) throws java.lang.Exception
loadDocument
in class ModelLoader
java.lang.Exception
protected MetaModel loadModel(java.lang.ClassLoader classLoader, Element element, java.util.Map<MetaModel,java.util.List<java.lang.String>> modelToMorphing) throws java.lang.Exception
java.lang.Exception
protected MetaModel createModel(java.lang.Class<RadComponent> model, java.lang.String target, java.lang.String tag) throws java.lang.Exception
java.lang.Exception
protected DefaultPaletteItem createPaletteItem(Element palette)
protected VariationPaletteItem createVariationPaletteItem(PaletteItem paletteItem, MetaModel model, Element itemElement)
protected PaletteGroup createPaletteGroup(java.lang.String name)
protected void loadProperties(MetaModel meta, Element properties) throws java.lang.Exception
java.lang.Exception
protected void loadOther(MetaModel meta, Element element) throws java.lang.Exception
java.lang.Exception
protected PaletteGroup loadGroup(Element element) throws java.lang.Exception
java.lang.Exception
public <K,V> java.util.Map<K,V> getCache(java.lang.Object key)
public void setCache(java.lang.Object key, java.lang.Object value)
public MetaModel getModelByTag(java.lang.String tag)
public MetaModel getModelByTarget(java.lang.String target)
public java.util.List<MetaModel> getWrapInModels()
public java.util.List<PaletteGroup> getPaletteGroups()