Package org.gvsig.daltransform.swing
Interface DataTransformGui
public interface DataTransformGui
This interface is used to establish a relationship between
feature transformations and their user interfaces. It creates
the panels that are used to set the parameters that the
transformation needs.
- Author:
- Jorge Piera
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(org.gvsig.fmap.dal.feature.FeatureStore featureStore) Return if the transformation can be applied in aFeatureStore.org.gvsig.fmap.dal.feature.FeatureStoreTransformcreateFeatureStoreTransform(org.gvsig.fmap.dal.feature.FeatureStore featureStore) Creates a feature transformation from a feature store.Creates a list of panels to set the parameters used on the transformation.Returns the minimum size that has to be the wizard to display the forms.getName()
-
Method Details
-
createFeatureStoreTransform
org.gvsig.fmap.dal.feature.FeatureStoreTransform createFeatureStoreTransform(org.gvsig.fmap.dal.feature.FeatureStore featureStore) throws org.gvsig.fmap.dal.exception.DataException Creates a feature transformation from a feature store. The class that implements this interface can create a transformation using this feature store and all the parameters that the user has selected. All these parameters must be known by this class- Parameters:
featureStore- The selected feature store- Returns:
- the transformation
- Throws:
org.gvsig.fmap.dal.exception.DataException
-
accept
boolean accept(org.gvsig.fmap.dal.feature.FeatureStore featureStore) Return if the transformation can be applied in aFeatureStore.- Parameters:
featureStore- the original feature store- Returns:
trueif the transformation can be applied.
-
createPanels
List<DataTransformWizardPanel> createPanels()Creates a list of panels to set the parameters used on the transformation.- Returns:
- a set of panels with the parameters of the transformation
-
getName
String getName()- Returns:
- the name that is displayed in the feature transformation list
-
getDescription
String getDescription()- Returns:
- a description of the feature transformation
-
getMinDimension
Dimension getMinDimension()Returns the minimum size that has to be the wizard to display the forms.- Returns:
- The minimum size for the panels.
-