Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java | ||
---|---|---|
28 | 28 |
import eu.etaxonomy.taxeditor.datasource.CdmDataSourceRepository; |
29 | 29 |
|
30 | 30 |
/** |
31 |
* <p>ExportToFileDestinationWizardPage class.</p> |
|
32 |
* |
|
31 | 33 |
* @author n.hoffmann |
32 | 34 |
* @created 15.06.2009 |
33 | 35 |
* @version 1.0 |
34 | 36 |
*/ |
35 | 37 |
public class ExportToFileDestinationWizardPage extends WizardPage{ |
36 | 38 |
|
39 |
/** Constant <code>DATE_FORMAT_NOW="yyyyMMddHHmm"</code> */ |
|
37 | 40 |
public static final String DATE_FORMAT_NOW = "yyyyMMddHHmm"; |
38 | 41 |
|
42 |
/** Constant <code>JAXB_EXPORT="JAXB_EXPORT"</code> */ |
|
39 | 43 |
public static final String JAXB_EXPORT = "JAXB_EXPORT"; |
40 | 44 |
|
45 |
/** Constant <code>TCS_EXPORT="TCS_EXPORT"</code> */ |
|
41 | 46 |
public static final String TCS_EXPORT = "TCS_EXPORT"; |
42 | 47 |
|
48 |
/** Constant <code>SDD_EXPORT="SDD_EXPORT"</code> */ |
|
43 | 49 |
public static final String SDD_EXPORT = "SDD_EXPORT"; |
44 | 50 |
|
45 | 51 |
private DirectoryDialog folderDialog; |
... | ... | |
63 | 69 |
this.setDescription("Exports the contents of the currently selected database into the cdm jaxb format."); |
64 | 70 |
} |
65 | 71 |
|
72 |
/** |
|
73 |
* <p>Jaxb</p> |
|
74 |
* |
|
75 |
* @return a {@link eu.etaxonomy.taxeditor.io.wizard.ExportToFileDestinationWizardPage} object. |
|
76 |
*/ |
|
66 | 77 |
public static ExportToFileDestinationWizardPage Jaxb(){ |
67 | 78 |
return new ExportToFileDestinationWizardPage(JAXB_EXPORT, "jaxb", "JAXB Export", "Exports the contents of the currently selected database into the cdm jaxb format."); |
68 | 79 |
} |
69 | 80 |
|
81 |
/** |
|
82 |
* <p>Tcs</p> |
|
83 |
* |
|
84 |
* @return a {@link eu.etaxonomy.taxeditor.io.wizard.ExportToFileDestinationWizardPage} object. |
|
85 |
*/ |
|
70 | 86 |
public static ExportToFileDestinationWizardPage Tcs(){ |
71 | 87 |
return new ExportToFileDestinationWizardPage(TCS_EXPORT, "tcs", "Tcs Export", "Export the contents of the currently selected database into TCS format."); |
72 | 88 |
} |
73 | 89 |
|
90 |
/** |
|
91 |
* <p>Sdd</p> |
|
92 |
* |
|
93 |
* @return a {@link eu.etaxonomy.taxeditor.io.wizard.ExportToFileDestinationWizardPage} object. |
|
94 |
*/ |
|
74 | 95 |
public static ExportToFileDestinationWizardPage Sdd(){ |
75 | 96 |
return new ExportToFileDestinationWizardPage(SDD_EXPORT, "sdd", "Sdd Export", "Export the contents of the currently selected database into SDD format."); |
76 | 97 |
} |
... | ... | |
79 | 100 |
/* (non-Javadoc) |
80 | 101 |
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite) |
81 | 102 |
*/ |
103 |
/** {@inheritDoc} */ |
|
82 | 104 |
public void createControl(Composite parent) { |
83 | 105 |
|
84 | 106 |
setPageComplete(false); |
... | ... | |
147 | 169 |
|
148 | 170 |
|
149 | 171 |
/** |
172 |
* <p>getExportFileName</p> |
|
173 |
* |
|
150 | 174 |
* @return the exportFileName |
151 | 175 |
*/ |
152 | 176 |
public String getExportFileName() { |
... | ... | |
155 | 179 |
|
156 | 180 |
|
157 | 181 |
/** |
182 |
* <p>getFolderText</p> |
|
183 |
* |
|
158 | 184 |
* @return the folderText |
159 | 185 |
*/ |
160 | 186 |
public String getFolderText() { |
Also available in: Unified diff
performed javacscript:fix and worked on documentation