org.mactor.ui.gui.project
Class XmlProjectTreeNode

java.lang.Object
  extended by org.mactor.ui.gui.project.ProjectTreeNode
      extended by org.mactor.ui.gui.project.XmlProjectTreeNode
Direct Known Subclasses:
XmlFileProjectTreeNode

public class XmlProjectTreeNode
extends ProjectTreeNode


Field Summary
protected  java.util.Map<java.lang.String,ProjectNodeType> nodeTypeDictionary
           
 
Fields inherited from class org.mactor.ui.gui.project.ProjectTreeNode
childNodes, modelObject, nodeType, parentNode
 
Constructor Summary
XmlProjectTreeNode(ProjectNodeType nodeType, org.dom4j.Element modelElement, java.util.Map<java.lang.String,ProjectNodeType> nodeTypeDictionary)
           
 
Method Summary
protected  ProjectTreeNode copy()
           
protected  org.dom4j.Element getModelElement()
           
protected  void model_delete()
           
protected  void model_detatch()
           
protected  java.lang.String model_getName()
           
protected  void model_insert_child(int index, java.lang.Object modelObject)
           
protected  void model_remove_child(int index)
           
protected  boolean model_rename(java.lang.String newName)
           
protected  void model_save()
           
 
Methods inherited from class org.mactor.ui.gui.project.ProjectTreeNode
addChild, addChildAfter, detach, getCaption, getChildCount, getChildNode, getChildNodes, getIndexOfChild, getModelObject, getName, getNodeType, getParentNode, removeChild, rename, save, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeTypeDictionary

protected java.util.Map<java.lang.String,ProjectNodeType> nodeTypeDictionary
Constructor Detail

XmlProjectTreeNode

public XmlProjectTreeNode(ProjectNodeType nodeType,
                          org.dom4j.Element modelElement,
                          java.util.Map<java.lang.String,ProjectNodeType> nodeTypeDictionary)
Method Detail

getModelElement

protected org.dom4j.Element getModelElement()

copy

protected ProjectTreeNode copy()
                        throws MactorException
Specified by:
copy in class ProjectTreeNode
Throws:
MactorException

model_delete

protected void model_delete()
                     throws MactorException
Specified by:
model_delete in class ProjectTreeNode
Throws:
MactorException

model_detatch

protected void model_detatch()
                      throws MactorException
Specified by:
model_detatch in class ProjectTreeNode
Throws:
MactorException

model_getName

protected java.lang.String model_getName()
Specified by:
model_getName in class ProjectTreeNode

model_insert_child

protected void model_insert_child(int index,
                                  java.lang.Object modelObject)
Specified by:
model_insert_child in class ProjectTreeNode

model_remove_child

protected void model_remove_child(int index)
Specified by:
model_remove_child in class ProjectTreeNode

model_rename

protected boolean model_rename(java.lang.String newName)
                        throws MactorException
Specified by:
model_rename in class ProjectTreeNode
Throws:
MactorException

model_save

protected void model_save()
                   throws MactorException
Specified by:
model_save in class ProjectTreeNode
Throws:
MactorException


Copyright © 2008. All Rights Reserved.