org.gvsig.daltransform
Interface DataTransformManager

All Known Implementing Classes:
DefaultDataTransformManager

public interface DataTransformManager

This singleton provides a centralized access to register DataTransformGui that is a class to establish a relationship between a tranformation and a user interface.

Author:
Jorge Piera

Method Summary
 JDataTransformList createJDataTransformList(org.gvsig.fmap.dal.feature.FeatureStore featureStore)
           
 JDialogDataTransformList createJDialogDataTransformList()
           
 DataTransformWizard createWizard()
          Creates a wizard that can be used to apply the transformations.
 DataTransformWizard createWizard(java.lang.String transformName)
          It creates a wizard and selects the transformation specified by the parameter.
 java.util.List<DataTransformGui> getDataTransforms()
          Returns a list of the registered data transformations.
 void registerDataTransform(java.lang.String name, java.lang.Class<?> dataTransformGui)
          Register a data transformation
 void registerDataTransformWizard(java.lang.Class<?> dataTransformWizard)
          Register the GUI that is used to apply transformations.
 

Method Detail

registerDataTransform

void registerDataTransform(java.lang.String name,
                           java.lang.Class<?> dataTransformGui)
Register a data transformation

Parameters:
name - the name used to register the transformation
featureTransformGui - the class that contains the relationship between a transformation and its user interface. This class has to be an instance of DataTransformGui

registerDataTransformWizard

void registerDataTransformWizard(java.lang.Class<?> dataTransformWizard)
Register the GUI that is used to apply transformations.

Parameters:
dataTransformWizard - the class that implements the GUI. This class has to be an instance of DataTransformWizard

getDataTransforms

java.util.List<DataTransformGui> getDataTransforms()
Returns a list of the registered data transformations.

Returns:
A list of the registered data transformations.

createWizard

DataTransformWizard createWizard()
                                 throws CreateWizardException
Creates a wizard that can be used to apply the transformations.

Returns:
The wizard.
Throws:
CreateWizardException

createWizard

DataTransformWizard createWizard(java.lang.String transformName)
                                 throws CreateWizardException,
                                        NotRegisteredTransformException
It creates a wizard and selects the transformation specified by the parameter.

Parameters:
transformName - The name of the transformation to apply.
Returns:
The wizard.
Throws:
CreateWizardException
NotRegisteredTransformException

createJDataTransformList

JDataTransformList createJDataTransformList(org.gvsig.fmap.dal.feature.FeatureStore featureStore)

createJDialogDataTransformList

JDialogDataTransformList createJDialogDataTransformList()


Copyright © 2004-2013 gvSIG. All Rights Reserved.