Package org.gvsig.app.project
Interface Project
- All Superinterfaces:
DocumentsContainer,org.gvsig.fmap.mapcontext.layers.ExtendedPropertiesSupport,Iterable<Document>,org.gvsig.tools.observer.Observable,org.gvsig.tools.persistence.Persistent,org.gvsig.tools.util.PropertiesSupport
- All Known Implementing Classes:
DefaultProject
public interface Project
extends DocumentsContainer, org.gvsig.tools.persistence.Persistent, org.gvsig.fmap.mapcontext.layers.ExtendedPropertiesSupport, org.gvsig.tools.util.PropertiesSupport
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a document to the projectvoidaddExtent(ProjectExtent arg1) voidbooleancanImportDocuments(String data, String doctype) exportDocumentsAsText(List<Document> documents) Return the comments associateds with the projectReturn the creation date of the projectgetFile()Retuen the modification date of the project.getName()Return the name of the projectgetOwner()Return the author of the project,org.gvsig.crs.projection.lib.ProjectionObtiene el color de selecci�n que se usar� en el proyectogetViewName(org.gvsig.fmap.mapcontext.layers.FLayer layer) Return the view that contains the especified layer.booleanvoidimportDocuments(String data, String doctype) voidvoidloadState(InputStream in) Deprecated.voidRemove a document of the projectremoveExtent(int arg0) voidvoidDeprecated.voidsaveState(File out, BufferedImage preview) voidsaveState(OutputStream out) Deprecated.voidsaveState(OutputStream out, File rootFolder) Deprecated.voidsetComments(String comments) Set the comments associateds with the projectvoidsetModified(boolean modified) Sets the modified state of project.voidSet the name of he project.voidSets the author of the projectvoidsetProjection(org.gvsig.crs.projection.lib.Projection projection) voidsetSelectionColor(Color selectionColor) Sets the selecction colorvoidsetSelectionColor(String selectionColor) Sets the selecction colorMethods inherited from interface org.gvsig.app.project.DocumentsContainer
addDocument, createDocument, getActiveDocument, getActiveDocument, getActiveDocument, getActiveWindow, getDocument, getDocument, getDocument, getDocuments, getDocuments, getDocuments, getDocuments, getFirstDocument, getOpenDocuments, getOpenDocuments, getOpenDocuments, isEmpty, iterator, removeDocumentMethods inherited from interface org.gvsig.fmap.mapcontext.layers.ExtendedPropertiesSupport
getExtendedProperties, getProperty, setPropertyMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.gvsig.tools.observer.Observable
addObserver, deleteObserver, deleteObserversMethods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToStateMethods inherited from interface org.gvsig.tools.util.PropertiesSupport
getProperties, getProperty, setProperty
-
Field Details
-
PROJECT_PANEL_PAGE_GROUP
- See Also:
-
PROJECT_PROPERTIES_PAGE_GROUP
- See Also:
-
FILE_EXTENSION
- See Also:
-
FILE_BAK
- See Also:
-
-
Method Details
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getCreationDate
String getCreationDate()Return the creation date of the project- Returns:
-
getName
String getName()Return the name of the project- Returns:
-
setName
Set the name of he project.- Parameters:
name-
-
getComments
String getComments()Return the comments associateds with the project- Returns:
- comments
-
setComments
Set the comments associateds with the project- Parameters:
comments- as string
-
getModificationDate
String getModificationDate()Retuen the modification date of the project.- Returns:
- modification date as string
-
getOwner
String getOwner()Return the author of the project,- Returns:
- author as string
-
setOwner
Sets the author of the project- Parameters:
owner-
-
getSelectionColor
Color getSelectionColor()Obtiene el color de selecci�n que se usar� en el proyecto- Returns:
-
setSelectionColor
Sets the selecction color- Parameters:
selectionColor-
-
setSelectionColor
Sets the selecction color- Parameters:
selectionColor-
-
getProjection
org.gvsig.crs.projection.lib.Projection getProjection() -
setProjection
void setProjection(org.gvsig.crs.projection.lib.Projection projection) -
setModified
void setModified(boolean modified) Sets the modified state of project. Can't set to not modified.- Parameters:
modified- as boolean
-
hasChanged
boolean hasChanged() -
add
Adds a document to the project- Parameters:
document- as IProjectDocument
-
remove
Remove a document of the project- Parameters:
document- as Document
-
getViewName
Return the view that contains the especified layer.- Parameters:
layer-- Returns:
- name of the view that contains the layer
- Throws:
RuntimeException- Si la capa que se pasa como par�metro no se encuentra en ninguna vista
-
addExtent
-
removeExtent
-
getExtents
ProjectExtent[] getExtents() -
saveState
-
saveState
@Deprecated void saveState(File out) throws org.gvsig.tools.persistence.exception.PersistenceException Deprecated.- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
saveState
@Deprecated void saveState(OutputStream out) throws org.gvsig.tools.persistence.exception.PersistenceException Deprecated.- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
saveState
@Deprecated void saveState(OutputStream out, File rootFolder) throws org.gvsig.tools.persistence.exception.PersistenceException Deprecated.- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
loadState
Deprecated. -
loadState
-
exportDocumentsAsText
-
importDocuments
-
canImportDocuments
-
getFile
File getFile() -
getUnloadedObjects
-
getLoadErrors
-