remove zip file check box on file selection dialog
authorKatja Luther <k.luther@bgbm.org>
Wed, 5 Jul 2017 08:29:13 +0000 (10:29 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Thu, 6 Jul 2017 12:55:26 +0000 (14:55 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java

index ac8bbb1fd89c8cfe14d7b7444e85eb7bdfd6f51d..222f32c74c9f61eeee54a0ad8d38b568957db59e 100644 (file)
@@ -350,25 +350,8 @@ public class ExportToFileDestinationWizardPage extends WizardPage implements Sel
                                }
                        }
                });
-               if (outputModelExport){
-                        Label zipLabel = new Label(composite, SWT.NONE);
-                       zipLabel.setText("Create zip-File");
-                  Button zip = new Button(composite, SWT.CHECK);
-                  zip.addSelectionListener(new SelectionAdapter() {
-                               /*
-                                * (non-Javadoc)
-                                *
-                                * @see
-                                * org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse
-                                * .swt.events.SelectionEvent)
-                                */
-                               @Override
-                               public void widgetSelected(SelectionEvent e) {
-                                       super.widgetSelected(e);
-                                       ((CdmLightExportConfigurator)configurator).setCreateZipFile(zip.getSelection());
-                               }
-                       });
-               }else {
+               if (!outputModelExport){
+                       
                         Label fileLabel = new Label(composite, SWT.NONE);
                        fileLabel.setText("File");
                        text_exportFileName = new Text(composite, SWT.BORDER);