public class ProductGrabberConfig extends Object
Constructor and Description |
---|
ProductGrabberConfig(PropertyMap configuration)
Creates a new instance with the given
PropertyMap . |
Modifier and Type | Method and Description |
---|---|
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.
|
public ProductGrabberConfig(PropertyMap configuration)
PropertyMap
.
The property map which is used to load and store the configuration.configuration
- the PropertyMap
.public void setRepositories(Repository[] repositories)
repositories
- the repositories.public Repository[] getRepositories()
public void setLastSelectedRepository(Repository repsository)
repsository
- the last selected repsoitory.public String getLastSelectedRepositoryDir()
null
.public void setWindowBounds(Rectangle windowBounds)
windowBounds
- the window bounds.public Rectangle getWindowBounds()
Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.