Revision 35745 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
ExporttoSwingProviderManager.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
import org.cresques.cts.IProjection; |
29 | 29 |
|
30 |
import org.gvsig.exportto.swing.ExporttoSwingManager; |
|
30 | 31 |
import org.gvsig.fmap.dal.feature.FeatureSet; |
31 | 32 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
32 | 33 |
import org.gvsig.fmap.dal.feature.FeatureType; |
... | ... | |
41 | 42 |
* @version $Id$ |
42 | 43 |
*/ |
43 | 44 |
public interface ExporttoSwingProviderManager extends ProviderManager { |
44 |
|
|
45 |
|
|
45 | 46 |
/** |
46 | 47 |
* @return |
47 | 48 |
* the list of providers that has been registered. |
... | ... | |
50 | 51 |
public List getProviderNames(); |
51 | 52 |
|
52 | 53 |
/** |
54 |
* Returns a list of providers that support all the |
|
55 |
* provider types. |
|
56 |
* @param |
|
57 |
* a list of provider types, that are constants |
|
58 |
* defined in the {@link ExporttoSwingManager}. |
|
59 |
* @return |
|
60 |
* the list of providers that has been registered. |
|
61 |
*/ |
|
62 |
@SuppressWarnings("rawtypes") |
|
63 |
public List getProviderNames(int[] providerTypes); |
|
64 |
|
|
65 |
/** |
|
66 |
* Return if a provider supports a data type. |
|
67 |
* @param providerName |
|
68 |
* the provider name. |
|
69 |
* @param providerType |
|
70 |
* the provider type. One of the constants defined in the |
|
71 |
* {@link ExporttoSwingManager}. |
|
72 |
* @return |
|
73 |
* if the provider supports a dataType. |
|
74 |
* @throws ServiceException |
|
75 |
*/ |
|
76 |
public boolean support(String providerName, int providerType) throws ServiceException; |
|
77 |
|
|
78 |
/** |
|
53 | 79 |
* Creates a {@link ExporttoSwingProvider} that is used to export a {@link FeatureSet}. |
54 | 80 |
* @param providerName |
55 | 81 |
* the name of the provider that has to be created. |
Also available in: Unified diff