org.mactor.ui.gui.project
Class XmlFileProjectTreeNode

java.lang.Object
  extended by org.mactor.ui.gui.project.ProjectTreeNode
      extended by org.mactor.ui.gui.project.XmlProjectTreeNode
          extended by org.mactor.ui.gui.project.XmlFileProjectTreeNode

public class XmlFileProjectTreeNode
extends XmlProjectTreeNode


Field Summary
 
Fields inherited from class org.mactor.ui.gui.project.XmlProjectTreeNode
nodeTypeDictionary
 
Fields inherited from class org.mactor.ui.gui.project.ProjectTreeNode
childNodes, modelObject, nodeType, parentNode
 
Method Summary
static XmlProjectTreeNode buildFromDocument(java.io.File sourceFile, org.dom4j.Document doc, java.util.Map<java.lang.String,ProjectNodeType> nodeTypeDictionary, boolean isConfigFile)
           
static XmlProjectTreeNode buildFromFile(java.io.File sourceFile, java.util.Map<java.lang.String,ProjectNodeType> nodeTypeDictionary, boolean isConfigFile)
           
protected  ProjectTreeNode copy()
           
protected  void model_delete()
           
protected  void model_detatch()
           
protected  java.lang.String model_getName()
           
protected  boolean model_rename(java.lang.String newName)
           
protected  void model_save()
           
 
Methods inherited from class org.mactor.ui.gui.project.XmlProjectTreeNode
getModelElement, model_insert_child, model_remove_child
 
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
 

Method Detail

buildFromFile

public static XmlProjectTreeNode buildFromFile(java.io.File sourceFile,
                                               java.util.Map<java.lang.String,ProjectNodeType> nodeTypeDictionary,
                                               boolean isConfigFile)
                                        throws MactorException
Throws:
MactorException

buildFromDocument

public static XmlProjectTreeNode buildFromDocument(java.io.File sourceFile,
                                                   org.dom4j.Document doc,
                                                   java.util.Map<java.lang.String,ProjectNodeType> nodeTypeDictionary,
                                                   boolean isConfigFile)

model_delete

protected void model_delete()
                     throws MactorException
Overrides:
model_delete in class XmlProjectTreeNode
Throws:
MactorException

model_rename

protected boolean model_rename(java.lang.String newName)
                        throws MactorException
Overrides:
model_rename in class XmlProjectTreeNode
Throws:
MactorException

model_getName

protected java.lang.String model_getName()
Overrides:
model_getName in class XmlProjectTreeNode

copy

protected ProjectTreeNode copy()
                        throws MactorException
Overrides:
copy in class XmlProjectTreeNode
Throws:
MactorException

model_save

protected void model_save()
                   throws MactorException
Overrides:
model_save in class XmlProjectTreeNode
Throws:
MactorException

model_detatch

protected void model_detatch()
                      throws MactorException
Overrides:
model_detatch in class XmlProjectTreeNode
Throws:
MactorException


Copyright © 2008. All Rights Reserved.