public class KahinaProject extends KahinaObject
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
appID |
protected java.io.File |
mainFile |
protected java.lang.String |
name |
protected java.util.List<java.io.File> |
openedFiles |
protected KahinaPerspective |
perspective |
needsUpdate
Constructor and Description |
---|
KahinaProject(java.lang.String appID,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addOpenedFile(java.io.File file) |
KahinaProject |
copy() |
void |
copyDataInto(KahinaProject copy) |
void |
deregister()
Tells the project to deregister itself with its listeners.
|
org.w3c.dom.Element |
exportXML(org.w3c.dom.Document dom) |
java.io.File |
getMainFile() |
java.lang.String |
getName() |
java.util.List<java.io.File> |
getOpenedFiles() |
KahinaPerspective |
getPerspective() |
static KahinaProject |
importXML(org.w3c.dom.Element topEl,
KahinaProject project) |
void |
register()
Tells the project to register itself with the necessary listeners.
|
void |
setMainFile(java.io.File mainFile) |
void |
setName(java.lang.String name) |
void |
setPerspective(KahinaPerspective perspective) |
needsUpdate, requireUpdate
protected java.lang.String appID
protected java.io.File mainFile
protected java.util.List<java.io.File> openedFiles
protected java.lang.String name
protected KahinaPerspective perspective
public KahinaProject(java.lang.String appID, java.lang.String name)
public void register()
public void deregister()
public KahinaProject copy()
public void copyDataInto(KahinaProject copy)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.io.File getMainFile()
public void setMainFile(java.io.File mainFile)
public void addOpenedFile(java.io.File file)
public java.util.List<java.io.File> getOpenedFiles()
public void setPerspective(KahinaPerspective perspective)
public KahinaPerspective getPerspective()
public org.w3c.dom.Element exportXML(org.w3c.dom.Document dom)
public static KahinaProject importXML(org.w3c.dom.Element topEl, KahinaProject project)