public interface Project extends DocumentsContainer, Persistent, ExtendedPropertiesSupport
Modifier and Type | Field and Description |
---|---|
static String |
FILE_EXTENSION |
static String |
PROJECT_PROPERTIES_PAGE_GROUP |
Modifier and Type | Method and Description |
---|---|
void |
add(Document document)
Deprecated.
use addDocument
|
void |
addExtent(ProjectExtent arg1) |
void |
addPropertyChangeListener(PropertyChangeListener arg0) |
boolean |
canImportDocuments(String data,
String doctype) |
String |
exportDocumentsAsText(List<Document> documents) |
String |
getComments()
Return the comments associateds with the project
|
String |
getCreationDate()
Return the creation date of the project
|
ProjectExtent[] |
getExtents() |
File |
getFile() |
String |
getModificationDate()
Retuen the modification date of the project.
|
String |
getName()
Return the name of the project
|
String |
getOwner()
Return the author of the project,
|
IProjection |
getProjection() |
Color |
getSelectionColor()
Obtiene el color de selecci�n que se usar� en el proyecto
|
Set<String> |
getUnloadedObjects() |
String |
getViewName(FLayer layer)
Return the view that contains the especified layer.
|
boolean |
hasChanged() |
void |
importDocuments(String data,
String doctype) |
void |
loadState(File in) |
void |
loadState(InputStream in) |
void |
remove(Document document)
Deprecated.
use removeDocument
|
ProjectExtent |
removeExtent(int arg0) |
void |
saveState(File out) |
void |
saveState(OutputStream out) |
void |
setComments(String string)
Set the comments associateds with the project
|
void |
setModified(boolean modified)
Sets the modified state of project.
|
void |
setName(String name)
Set the name of he project.
|
void |
setOwner(String owner)
Sets the author of the project
|
void |
setProjection(IProjection projection) |
void |
setSelectionColor(Color selectionColor)
Sets the selecction color
|
void |
setSelectionColor(String selectionColor)
Sets the selecction color
|
addDocument, createDocument, getActiveDocument, getActiveDocument, getActiveDocument, getDocument, getDocument, getDocuments, getDocuments, isEmpty, iterator, removeDocument
addObserver, deleteObserver, deleteObservers
loadFromState, saveToState
getExtendedProperties, getProperty, setProperty
static final String PROJECT_PROPERTIES_PAGE_GROUP
static final String FILE_EXTENSION
void addPropertyChangeListener(PropertyChangeListener arg0)
String getCreationDate()
String getName()
void setName(String name)
string
- String getComments()
void setComments(String string)
comments
- as stringString getModificationDate()
String getOwner()
void setOwner(String owner)
author
- name as stringColor getSelectionColor()
void setSelectionColor(String selectionColor)
selection
- color as stringvoid setSelectionColor(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 DocumentString getViewName(FLayer layer)
layer
- 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(File out) throws PersistenceException
PersistenceException
void saveState(OutputStream out) throws PersistenceException
PersistenceException
void loadState(InputStream in)
void loadState(File in)
File getFile()