|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.visat.actions.pgrab.model.dataprovider.ProductSizeProvider
public class ProductSizeProvider
| Constructor Summary | |
|---|---|
ProductSizeProvider()
|
|
| Method Summary | |
|---|---|
void |
cleanUp(RepositoryEntry entry,
Repository repository)
Implementation should delete all stored data. |
void |
createData(RepositoryEntry entry,
Repository repository)
Implementation should create the data this DataProvider provides. |
Comparator |
getComparator()
Returns the Comparator for the data provided by this DataProvider. |
Object |
getData(RepositoryEntry entry,
Repository repository)
Returns the data which is provided by this implementation. |
TableColumn |
getTableColumn()
Returns a TableColumn which defines the UI representation of the provided data within a
Table. |
boolean |
mustCreateData(RepositoryEntry entry,
Repository repository)
Implementation should check if the data this DataProvider provides must be created, or if it is
already stored. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProductSizeProvider()
| Method Detail |
|---|
public boolean mustCreateData(RepositoryEntry entry,
Repository repository)
DataProviderDataProvider provides must be created, or if it is
already stored.
mustCreateData in interface DataProviderentry - the entry for which the data shall be provided.repository - the repsoitory containing the entry.
public void createData(RepositoryEntry entry,
Repository repository)
throws IOException
DataProviderDataProvider provides.
Also the created should be stored for performance reasons.
Created data can be stored into a PropertyMap retrieved by calling
Repository.getPropertyMap()
or in a directory retrieved from
Repository.getStorageDir().
createData in interface DataProviderentry - the entry for which the data shall be provided.repository - the repository containing the entry. // todo - (from nf) for what? entry knows it repository!
IOException - if an error occurs during creating the data.
public Object getData(RepositoryEntry entry,
Repository repository)
throws IOException
DataProvider
getData in interface DataProviderentry - the entry for which the data shall be provided.repository - the repository containing the entry. // todo - (from nf) for what? entry knows it repository!
IOException - if an error occurs during providing the data.public Comparator getComparator()
DataProviderComparator for the data provided by this DataProvider.
getComparator in interface DataProvider
public void cleanUp(RepositoryEntry entry,
Repository repository)
DataProvider
cleanUp in interface DataProviderentry - the entry for which the data was provided.repository - the repository contained the entry. // todo - (from nf) for what? entry knows it repository!public TableColumn getTableColumn()
DataProviderTableColumn which defines the UI representation of the provided data within a
Table.
getTableColumn in interface DataProviderTableColumn.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||