Revision 37780 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 | ||
---|---|---|
45 | 45 |
|
46 | 46 |
/** |
47 | 47 |
* @return |
48 |
* the list of providers that has been registered.
|
|
48 |
* the list of providers that has been registered. |
|
49 | 49 |
*/ |
50 | 50 |
public List<String> getProviderNames(); |
51 | 51 |
|
52 | 52 |
/** |
53 |
* Returns a list of providers that support all the
|
|
53 |
* Returns a list of providers that support all the |
|
54 | 54 |
* provider types. |
55 |
* @param |
|
56 |
* a list of provider types, that are constants |
|
57 |
* defined in the {@link ExporttoSwingManager}. |
|
55 |
* |
|
56 |
* @param a |
|
57 |
* list of provider types, that are constants |
|
58 |
* defined in the {@link ExporttoSwingManager}. |
|
58 | 59 |
* @return |
59 |
* the list of providers that has been registered.
|
|
60 |
* the list of providers that has been registered. |
|
60 | 61 |
*/ |
61 | 62 |
public List<String> getProviderNames(int[] providerTypes); |
62 | 63 |
|
63 | 64 |
/** |
64 | 65 |
* Returns the description for a concrete provider |
66 |
* |
|
65 | 67 |
* @param providerName |
66 |
* the exportto provider. |
|
68 |
* the exportto provider.
|
|
67 | 69 |
* @return |
68 |
* the description of the provider. |
|
70 |
* the description of the provider.
|
|
69 | 71 |
*/ |
70 | 72 |
public String getDescription(String providerName); |
71 | 73 |
|
72 | 74 |
/** |
73 | 75 |
* Return if a provider supports a data type. |
76 |
* |
|
74 | 77 |
* @param providerName |
75 |
* the provider name. |
|
78 |
* the provider name.
|
|
76 | 79 |
* @param providerType |
77 |
* the provider type. One of the constants defined in the |
|
78 |
* {@link ExporttoSwingManager}. |
|
80 |
* the provider type. One of the constants defined in the
|
|
81 |
* {@link ExporttoSwingManager}.
|
|
79 | 82 |
* @return |
80 |
* if the provider supports a dataType. |
|
81 |
* @throws ServiceException
|
|
83 |
* if the provider supports a dataType.
|
|
84 |
* @throws ServiceException |
|
82 | 85 |
*/ |
83 |
public boolean support(String providerName, int providerType) throws ServiceException; |
|
86 |
public boolean support(String providerName, int providerType) |
|
87 |
throws ServiceException; |
|
84 | 88 |
|
85 | 89 |
/** |
86 |
* Creates a {@link ExporttoSwingProvider} that is used to export a {@link FeatureSet}. |
|
90 |
* Creates a {@link ExporttoSwingProvider} that is used to export a |
|
91 |
* {@link FeatureSet}. |
|
92 |
* |
|
87 | 93 |
* @param providerName |
88 |
* the name of the provider that has to be created. |
|
94 |
* the name of the provider that has to be created.
|
|
89 | 95 |
* @param featureStore |
90 |
* the source feature store. It can be used to fix some parameters like the |
|
91 |
* {@link FeatureType} of the destination {@link FeatureStore}. |
|
96 |
* the source feature store. It can be used to fix some |
|
97 |
* parameters like the {@link FeatureType} of the destination |
|
98 |
* {@link FeatureStore}. |
|
92 | 99 |
* @param projection |
93 |
* the projection of the {@link OutputDeviceAssigned} store. |
|
100 |
* the projection of the {@link OutputDeviceAssigned} store.
|
|
94 | 101 |
* @return |
95 |
* a provider that has to be used to export a {@link FeatureSet}.
|
|
102 |
* a provider that has to be used to export a {@link FeatureSet}.
|
|
96 | 103 |
*/ |
97 |
public ExporttoSwingProvider createExporttoSwingProvider(String providerName, FeatureStore featureStore, IProjection projection) throws ServiceException; |
|
104 |
public ExporttoSwingProvider createExporttoSwingProvider( |
|
105 |
String providerName, FeatureStore featureStore, IProjection projection) |
|
106 |
throws ServiceException; |
|
98 | 107 |
|
99 | 108 |
} |
Also available in: Unified diff