project35.tabletDeployment
Class FileSpace
java.lang.Object
project35.tabletDeployment.FileSpace
public class FileSpace
- extends java.lang.Object
used to represent a file in TabletProject35Dialog. It was originally developed
to help TPD replace Project35's multiple window management with a mechanism
that only involved one open window.
Copyright (c) 2008 Kevin Garwood for Project35. The original code was
developed by Kevin Garwood for the University of Manchester. Revisions
have been made for Project35, a project that is independent of that
institution. This code is licensed under the Academic Free License
version 3.0. The code attribution for the original code is included here:
Copyright (c) Kevin Garwood and University of Manchester 2007.
All rights reserved. Licensed under the Academic Free License
version 3.0. For more information on the terms and conditions,
please see the file "LICENSE" that is included in this distribution.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSpace
public FileSpace(java.io.File file,
RecordModel currentRecordModel,
boolean isNewFile)
getModelObjectCommentRegistry
public ModelObjectCommentRegistry getModelObjectCommentRegistry()
- Returns:
- a record model comment registry which associates instances
of record model with a comment
isNewFile
public boolean isNewFile()
- used to help TPD save changes and name new files
getCurrentRecordModel
public RecordModel getCurrentRecordModel()
- Returns:
- the current record model in the data set
getFile
public java.io.File getFile()
- Returns:
- the file associated with this file space
getDocumentMetaData
public DocumentMetaData getDocumentMetaData()
saveChanges
public boolean saveChanges()
getOntologyContext
public OntologyContext getOntologyContext()
setModelObjectCommentRegistry
public void setModelObjectCommentRegistry(ModelObjectCommentRegistry modelObjectCommentRegistry)
setOntologyContext
public void setOntologyContext(OntologyContext ontologyContext)
setDocumentMetaData
public void setDocumentMetaData(DocumentMetaData documentMetaData)
setNewFile
public void setNewFile(boolean isNewFile)
setCurrentRecordModel
public void setCurrentRecordModel(RecordModel currentRecordModel)
setFile
public void setFile(java.io.File file)
setSaveChanges
public void setSaveChanges(boolean saveChanges)