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 Details

  • Method Details

    • addPropertyChangeListener

      void addPropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      void removePropertyChangeListener(PropertyChangeListener listener)
    • getCreationDate

      String getCreationDate()
      Return the creation date of the project
      Returns:
    • getName

      String getName()
      Return the name of the project
      Returns:
    • setName

      void setName(String name)
      Set the name of he project.
      Parameters:
      name -
    • getComments

      String getComments()
      Return the comments associateds with the project
      Returns:
      comments
    • setComments

      void setComments(String comments)
      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

      void setOwner(String owner)
      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

      void setSelectionColor(String selectionColor)
      Sets the selecction color
      Parameters:
      selectionColor -
    • setSelectionColor

      void setSelectionColor(Color selectionColor)
      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

      void add(Document document)
      Adds a document to the project
      Parameters:
      document - as IProjectDocument
    • remove

      void remove(Document document)
      Remove a document of the project
      Parameters:
      document - as Document
    • getViewName

      String getViewName(org.gvsig.fmap.mapcontext.layers.FLayer layer)
      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

      void addExtent(ProjectExtent arg1)
    • removeExtent

      ProjectExtent removeExtent(int arg0)
    • getExtents

      ProjectExtent[] getExtents()
    • saveState

      void saveState(File out, BufferedImage preview)
    • 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 void loadState(InputStream in)
      Deprecated.
    • loadState

      void loadState(File in)
    • exportDocumentsAsText

      String exportDocumentsAsText(List<Document> documents)
    • importDocuments

      void importDocuments(String data, String doctype)
    • canImportDocuments

      boolean canImportDocuments(String data, String doctype)
    • getFile

      File getFile()
    • getUnloadedObjects

      Set<String> getUnloadedObjects()
    • getLoadErrors

      List<Exception> getLoadErrors()