public interface Project extends DocumentsContainer, Persistent, ExtendedPropertiesSupport, PropertiesSupport
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILE_BAK |
static java.lang.String |
FILE_EXTENSION |
static java.lang.String |
PROJECT_PANEL_PAGE_GROUP |
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 listener) |
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.util.List<java.lang.Exception> |
getLoadErrors() |
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)
Deprecated.
|
void |
remove(Document document)
Deprecated.
use removeDocument
|
ProjectExtent |
removeExtent(int arg0) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
saveState(java.io.File out)
Deprecated.
|
void |
saveState(java.io.File out,
java.awt.image.BufferedImage preview) |
void |
saveState(java.io.OutputStream out)
Deprecated.
|
void |
saveState(java.io.OutputStream out,
java.io.File rootFolder)
Deprecated.
|
void |
setComments(java.lang.String comments)
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, getActiveWindow, getDocument, getDocument, getDocument, getDocuments, getDocuments, getDocuments, getDocuments, getFirstDocument, getOpenDocuments, getOpenDocuments, getOpenDocuments, isEmpty, iterator, removeDocument
addObserver, deleteObserver, deleteObservers
loadFromState, saveToState
getExtendedProperties, getProperty, setProperty
getProperties, getProperty, setProperty
static final java.lang.String PROJECT_PANEL_PAGE_GROUP
static final java.lang.String PROJECT_PROPERTIES_PAGE_GROUP
static final java.lang.String FILE_EXTENSION
static final java.lang.String FILE_BAK
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
java.lang.String getCreationDate()
java.lang.String getName()
void setName(java.lang.String name)
name
- java.lang.String getComments()
void setComments(java.lang.String comments)
comments
- as stringjava.lang.String getModificationDate()
java.lang.String getOwner()
void setOwner(java.lang.String owner)
owner
- java.awt.Color getSelectionColor()
void setSelectionColor(java.lang.String selectionColor)
selectionColor
- void setSelectionColor(java.awt.Color selectionColor)
selectionColor
- IProjection 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, java.awt.image.BufferedImage preview)
@Deprecated void saveState(java.io.File out) throws PersistenceException
PersistenceException
@Deprecated void saveState(java.io.OutputStream out) throws PersistenceException
PersistenceException
@Deprecated void saveState(java.io.OutputStream out, java.io.File rootFolder) throws PersistenceException
PersistenceException
@Deprecated void 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()
java.util.List<java.lang.Exception> getLoadErrors()