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
 boolean accept(org.gvsig.fmap.dal.feature.FeatureStore featureStore)
          Return if the transformation can be applied in a FeatureStore.
 org.gvsig.fmap.dal.feature.FeatureStoreTransform createFeatureStoreTransform(org.gvsig.fmap.dal.feature.FeatureStore featureStore)
          Creates a feature transformation from a feature store.
 java.util.List<DataTransformWizardPanel> createPanels()
          Creates a list of panels to set the parameters used on the transformation.
 java.lang.String getDescription()
           
 java.awt.Dimension getMinDimension()
          Returns the minimum size that has to be the wizard to display the forms.
 java.lang.String getName()
           
 

Method Detail

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 a FeatureStore.

Parameters:
featureStore - the original feature store
Returns:
true if the transformation can be applied.

createPanels

java.util.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

java.lang.String getName()
Returns:
the name that is displayed in the feature transformation list

getDescription

java.lang.String getDescription()
Returns:
a description of the feature transformation

getMinDimension

java.awt.Dimension getMinDimension()
Returns the minimum size that has to be the wizard to display the forms.

Returns:
The minimum size for the panels.


Copyright © 2004-2013 gvSIG. All Rights Reserved.