Revision 37890

View differences:

branches/v2_0_0_prep/libraries/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.spi/src/main/java/org/gvsig/exportto/swing/spi/ExporttoSwingProviderManager.java
128 128
        String providerName, FeatureStore featureStore, IProjection projection)
129 129
        throws ServiceException;
130 130

  
131
    /**
132
     * Returns if the provider whose factory is provided is enabled.
133
     * 
134
     * @param factory
135
     *            of the provider to check
136
     * @return if the provider whose factory is provided is enabled
137
     */
131 138
    public boolean isProviderEnabled(ExporttoSwingProviderFactory factory);
132 139

  
133
    public void enableProvider(ExporttoSwingProviderFactory factory, boolean value);
140
    /**
141
     * Enables or disables an exportto provider.
142
     * 
143
     * @param factory
144
     *            of the provider to enable or disable
145
     * @param value
146
     *            if the provider must be enabled or disabled
147
     */
148
    public void enableProvider(ExporttoSwingProviderFactory factory,
149
        boolean value);
134 150

  
151
    /**
152
     * Returns the provider factory with the given name.
153
     * 
154
     * @param name
155
     *            of the provider
156
     * @return the provider factory
157
     * @throws ServiceException
158
     *             if there is an error getting the provider factory
159
     */
135 160
    public ExporttoSwingProviderFactory getExporttoSwingProviderFactory(
136 161
        String name) throws ServiceException;
137 162

  
163
    /**
164
     * Creates a preferences component to manage the export to properties.
165
     * 
166
     * @return a preferences component
167
     */
138 168
    public ExporttoSwingPreferencesComponent createExporttoSwingProvidersPreferences();
139 169
}

Also available in: Unified diff