org.esa.beam.visat.actions.pgrab.model
Class ProductGrabberConfig

java.lang.Object
  extended by org.esa.beam.visat.actions.pgrab.model.ProductGrabberConfig

public class ProductGrabberConfig
extends Object

This class handles the configuration of the ProductGrabber.


Constructor Summary
ProductGrabberConfig(PropertyMap configuration)
          Creates a new instance with the given PropertyMap.
 
Method Summary
 String getLastSelectedRepositoryDir()
          Retrieves thelast selected repository.
 Repository[] getRepositories()
          Retrieves the stored repositories.
 Rectangle getWindowBounds()
          Retrieves the window bounds of the ProductGrabber dialog.
 void setLastSelectedRepository(Repository repsository)
          Sets the last selected repository.
 void setRepositories(Repository[] repositories)
          Sets the repositories.
 void setWindowBounds(Rectangle windowBounds)
          Sets the window bounds of the ProductGrabber dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductGrabberConfig

public ProductGrabberConfig(PropertyMap configuration)
Creates a new instance with the given PropertyMap. The property map which is used to load and store the configuration.

Parameters:
configuration - the PropertyMap.
Method Detail

setRepositories

public void setRepositories(Repository[] repositories)
Sets the repositories.

Parameters:
repositories - the repositories.

getRepositories

public Repository[] getRepositories()
Retrieves the stored repositories.

Returns:
the stored repositories.

setLastSelectedRepository

public void setLastSelectedRepository(Repository repsository)
Sets the last selected repository.

Parameters:
repsository - the last selected repsoitory.

getLastSelectedRepositoryDir

public String getLastSelectedRepositoryDir()
Retrieves thelast selected repository.

Returns:
the last selected repsoitory, maybe null.

setWindowBounds

public void setWindowBounds(Rectangle windowBounds)
Sets the window bounds of the ProductGrabber dialog.

Parameters:
windowBounds - the window bounds.

getWindowBounds

public Rectangle getWindowBounds()
Retrieves the window bounds of the ProductGrabber dialog.

Returns:
the window bounds.


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.