Revision 37887 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/ExporttoSwingProviderFactory.java
ExporttoSwingProviderFactory.java | ||
---|---|---|
45 | 45 |
public boolean support(int providerType) throws ServiceException; |
46 | 46 |
|
47 | 47 |
/** |
48 |
* @return a description for the provider factory |
|
48 |
* Returns a description of the provider. |
|
49 |
* |
|
50 |
* @return a description for the provider |
|
49 | 51 |
*/ |
50 | 52 |
public String getDescription(); |
53 |
|
|
54 |
/** |
|
55 |
* Returns a label or short description for the provider. |
|
56 |
* |
|
57 |
* @return a label or short description for the provider |
|
58 |
*/ |
|
59 |
public String getLabel(); |
|
60 |
|
|
61 |
/** |
|
62 |
* If the provider this factory creates is enabled. This option might |
|
63 |
* be used as a way to show or not some providers to the user. |
|
64 |
* |
|
65 |
* @return if the provider is enabled |
|
66 |
*/ |
|
67 |
public boolean isEnabled(); |
|
68 |
|
|
69 |
/** |
|
70 |
* Enable or disable this provider factory. |
|
71 |
* |
|
72 |
* @param value |
|
73 |
* if to enable or disable the factory |
|
74 |
*/ |
|
75 |
public void setEnabled(boolean value); |
|
51 | 76 |
} |
Also available in: Unified diff