se.kmr.scam.editor.tree
Class DocumentNode
java.lang.Object
se.kmr.scam.editor.tree.DocumentNode
- All Implemented Interfaces:
- EventListener, PropertyChangeListener
- Direct Known Subclasses:
- ManifestNode
- public class DocumentNode
- extends Object
- implements PropertyChangeListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentNode
public DocumentNode(Document doc,
DocumentFactory fac)
setContext
public void setContext(DocumentNode c)
getDocument
public Document getDocument()
getDocumentFactory
public DocumentFactory getDocumentFactory()
getContent
public Document getContent()
setContent
public void setContent(Document doc)
getName
public String getName()
retrieveContentDocument
protected void retrieveContentDocument()
forceRefresh
public void forceRefresh()
- Forced refresh refreshes the document as well
as updates this node and it's content.
refresh
public void refresh()
- Refresh updates this node if needed, i.e. if somebody marked the node
as refreshNeeded == true. It doesn't call the documents refresh,
i.e. it doesn't reload anything from disk or database.
refreshImpl
protected void refreshImpl(boolean force)
contentSaved
public void contentSaved()
documentSaved
public void documentSaved()
removeFromModel
public void removeFromModel()
propertyChange
public void propertyChange(PropertyChangeEvent pce)
- Specified by:
propertyChange
in interface PropertyChangeListener
Copyright © 2003 SCAM. All Rights Reserved.