public interface Project extends DocumentsContainer, Persistent, ExtendedPropertiesSupport
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILE_EXTENSION |
static java.lang.String |
PROJECT_PROPERTIES_PAGE_GROUP |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Document document)
Deprecated.
use addDocument
|
void |
addExtent(ProjectExtent arg1) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener arg0) |
boolean |
canImportDocuments(java.lang.String data,
java.lang.String doctype) |
java.lang.String |
exportDocumentsAsText(java.util.List<Document> documents) |
java.lang.String |
getComments()
Return the comments associateds with the project
|
java.lang.String |
getCreationDate()
Return the creation date of the project
|
ProjectExtent[] |
getExtents() |
java.io.File |
getFile() |
java.lang.String |
getModificationDate()
Retuen the modification date of the project.
|
java.lang.String |
getName()
Return the name of the project
|
java.lang.String |
getOwner()
Return the author of the project,
|
IProjection |
getProjection() |
java.awt.Color |
getSelectionColor()
Obtiene el color de selecci�n que se usar� en el proyecto
|
java.util.Set<java.lang.String> |
getUnloadedObjects() |
java.lang.String |
getViewName(FLayer layer)
Return the view that contains the especified layer.
|
boolean |
hasChanged() |
void |
importDocuments(java.lang.String data,
java.lang.String doctype) |
void |
loadState(java.io.File in) |
void |
loadState(java.io.InputStream in) |
void |
remove(Document document)
Deprecated.
use removeDocument
|
ProjectExtent |
removeExtent(int arg0) |
void |
saveState(java.io.File out) |
void |
saveState(java.io.OutputStream out) |
void |
setComments(java.lang.String string)
Set the comments associateds with the project
|
void |
setModified(boolean modified)
Sets the modified state of project.
|
void |
setName(java.lang.String name)
Set the name of he project.
|
void |
setOwner(java.lang.String owner)
Sets the author of the project
|
void |
setProjection(IProjection projection) |
void |
setSelectionColor(java.awt.Color selectionColor)
Sets the selecction color
|
void |
setSelectionColor(java.lang.String selectionColor)
Sets the selecction color
|
addDocument, createDocument, getActiveDocument, getActiveDocument, getActiveDocument, getDocument, getDocument, getDocuments, getDocuments, isEmpty, iterator, removeDocumentaddObserver, deleteObserver, deleteObserversloadFromState, saveToStategetExtendedProperties, getProperty, setPropertystatic final java.lang.String PROJECT_PROPERTIES_PAGE_GROUP
static final java.lang.String FILE_EXTENSION
void addPropertyChangeListener(java.beans.PropertyChangeListener arg0)
java.lang.String getCreationDate()
java.lang.String getName()
void setName(java.lang.String name)
string - java.lang.String getComments()
void setComments(java.lang.String string)
comments - as stringjava.lang.String getModificationDate()
java.lang.String getOwner()
void setOwner(java.lang.String owner)
author - name as stringjava.awt.Color getSelectionColor()
void setSelectionColor(java.lang.String selectionColor)
selection - color as stringvoid setSelectionColor(java.awt.Color selectionColor)
selection - color as ColorIProjection getProjection()
void setProjection(IProjection projection)
void setModified(boolean modified)
modified - as booleanboolean hasChanged()
void add(Document document)
document - as IProjectDocumentvoid remove(Document document)
document - as Documentjava.lang.String getViewName(FLayer layer)
layer - java.lang.RuntimeException - Si la capa que se pasa como par�metro no se encuentra en
ninguna vistavoid addExtent(ProjectExtent arg1)
ProjectExtent removeExtent(int arg0)
ProjectExtent[] getExtents()
void saveState(java.io.File out)
throws PersistenceException
PersistenceExceptionvoid saveState(java.io.OutputStream out)
throws PersistenceException
PersistenceExceptionvoid loadState(java.io.InputStream in)
void loadState(java.io.File in)
java.lang.String exportDocumentsAsText(java.util.List<Document> documents)
void importDocuments(java.lang.String data,
java.lang.String doctype)
boolean canImportDocuments(java.lang.String data,
java.lang.String doctype)
java.io.File getFile()
java.util.Set<java.lang.String> getUnloadedObjects()