Revision 35745 branches/v2_0_0_prep/libraries/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.impl/src/main/java/org/gvsig/exportto/swing/impl/DefaultJExporttoServicePanel.java
DefaultJExporttoServicePanel.java | ||
---|---|---|
82 | 82 |
|
83 | 83 |
//Used to get the new feature store parameters |
84 | 84 |
private ExporttoSwingProvider exporttoSwingProvider; |
85 |
|
|
86 |
//Provider types that will be displayed |
|
87 |
private int[] providerTypes; |
|
85 | 88 |
|
86 | 89 |
//Wizards used to create the main wizard |
87 | 90 |
private ExporterSelectionWizard exporterSelectionWizard = null; |
... | ... | |
95 | 98 |
|
96 | 99 |
//Action to execute at the end of the export process |
97 | 100 |
ExporttoServiceFinishAction exporttoServiceFinishAction; |
98 |
|
|
101 |
|
|
99 | 102 |
public DefaultJExporttoServicePanel(DefaultExporttoSwingManager uimanager, FeatureStore featureStore, IProjection projection, |
100 |
ExporttoServiceFinishAction exporttoServiceFinishAction) { |
|
103 |
ExporttoServiceFinishAction exporttoServiceFinishAction, int[] providerTypes) {
|
|
101 | 104 |
this.featureStore = featureStore; |
102 | 105 |
this.projection = projection; |
103 | 106 |
this.uimanager = uimanager; |
104 | 107 |
this.exporttoServiceFinishAction = exporttoServiceFinishAction; |
108 |
this.providerTypes = providerTypes; |
|
105 | 109 |
|
106 | 110 |
URL iconURL = getClass().getClassLoader().getResource("org/gvsig/exportto/swing/impl/images/exporttoicon.png"); |
107 | 111 |
ImageIcon icon = new ImageIcon(iconURL); |
108 | 112 |
wizardPanelWithLogo = new WizardPanelWithLogo(icon); |
109 | 113 |
|
110 | 114 |
//Initialize the wizards |
111 |
exporterSelectionWizard = new ExporterSelectionWizard(this); |
|
115 |
exporterSelectionWizard = new ExporterSelectionWizard(this, providerTypes);
|
|
112 | 116 |
exportFilterWizard = new ExportFilterWizard(this); |
113 | 117 |
exporttoProgressWizard = new ExporttoProgressWizard(this); |
114 | 118 |
|
Also available in: Unified diff