Class PostGISSaveDataSourceQueryChooser
java.lang.Object
org.openjump.core.ui.plugin.datastore.postgis.PostGISSaveDataSourceQueryChooser
- All Implemented Interfaces:
DataSourceQueryChooser
A DataSourceQueryChooser for writing to a PostGIS data source.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPostGISSaveDataSourceQueryChooser(SaveToPostGISDataSource dataSource, PlugInContext context) Creates a new query chooser. -
Method Summary
Modifier and TypeMethodDescriptionprotected SaveToPostGISDataSourceSince the ui does not allow for loading of multiple tables, the returned collection only contains a single element.protected MapReads all the connection + query properties from the ui.booleanChecks that user input is valid.toString()Returns the String displayed in the Format Chooser.
-
Field Details
-
KEY
-
-
Constructor Details
-
PostGISSaveDataSourceQueryChooser
Creates a new query chooser.- Parameters:
dataSource- DataSource object to be queried against.
-
-
Method Details
-
getComponent
- Specified by:
getComponentin interfaceDataSourceQueryChooser- See Also:
-
getDataSourceQueries
Since the ui does not allow for loading of multiple tables, the returned collection only contains a single element.- Specified by:
getDataSourceQueriesin interfaceDataSourceQueryChooser- See Also:
-
isInputValid
public boolean isInputValid()Checks that user input is valid.- Specified by:
isInputValidin interfaceDataSourceQueryChooser- See Also:
-
getProperties
Reads all the connection + query properties from the ui. -
getDataSource
-
toString
Returns the String displayed in the Format Chooser.- Specified by:
toStringin interfaceDataSourceQueryChooser- Overrides:
toStringin classObject- Returns:
- a brief description of the dataset type, suitable for display in a combo box.
-