Project

General

Profile

Revision 74b3870f

ID74b3870faf6dfdcd37af245071b28c59cdefcce1
Parent 07a97068
Child b69e7618

Added by Andreas Müller about 2 months ago

cleanup

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/e4/ReconnectHandlerE4.java
25 25
import eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog;
26 26

  
27 27
/**
28
 *
29 28
 * @author pplitzner
30 29
 * @date 10.10.2017
31
 *
32 30
 */
33 31
public class ReconnectHandlerE4 {
34 32

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java
58 58
import eu.etaxonomy.taxeditor.store.CdmStore;
59 59

  
60 60
/**
61
 * <p>
62 61
 * ExportToFileDestinationWizardPage class.
63
 * </p>
64 62
 *
65 63
 * @author n.hoffmann
66 64
 * @created 15.06.2009
67
 * @version 1.0
68 65
 */
69 66
public class ExportToFileDestinationWizardPage extends WizardPage implements SelectionListener {
70 67

  
......
149 146
		   case DWCA_EXPORT:
150 147
			   dwcaExport = true;
151 148
			   break;
152

  
153 149
		}
154 150
		this.extension = extension;
155 151
		this.setTitle(title);
......
248 244
		if (outputModelExport || dwcaExport){
249 245
            checkExportUnpublished = new Button(composite,  SWT.CHECK);
250 246
            checkExportUnpublished.setText("Export unpublished taxa");
251
            Label label = new Label(composite, SWT.NONE);
247
            @SuppressWarnings("unused")
248
            Label nope = new Label(composite, SWT.NONE);
252 249

  
253 250
            Label separator = new Label(composite, SWT.HORIZONTAL | SWT.SEPARATOR);
254 251
            GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
......
397 394
                    @Override
398 395
                    public void widgetDefaultSelected(SelectionEvent e) {
399 396
                        // TODO Auto-generated method stub
400

  
401 397
                    }
402 398
                });
403

  
404 399
			}
405 400

  
406

  
407 401
			if (checkUseSelectedtaxonNode != null){
408

  
409 402
				if (checkUseSelectedtaxonNode.getSelection()){
410 403
					 classificationSelectionCombo.setEnabled(false);
411 404
				}
......
464 457
	    				true, false));
465 458
		}
466 459

  
467

  
468 460
		// make the composite the wizard pages control
469 461
		setControl(composite);
470 462
	}
......
531 523
		classificationSelectionCombo.setLayoutData(gridData);
532 524
		for(Classification tree : classifications){
533 525
			classificationSelectionCombo.add(tree.getName().getText(), classifications.indexOf(tree));
534

  
535 526
		}
536 527

  
537 528
		classificationSelectionCombo.select(classifications.indexOf(selectedClassification));
......
539 530
		// TODO remember last selection
540 531
		classificationSelectionCombo.addSelectionListener(this);
541 532

  
542

  
543

  
544 533
		//return classificationSelection;
545 534
	}
546 535

  
......
551 540
	@Override
552 541
	public void widgetSelected(SelectionEvent e) {
553 542
		selectedClassification = classifications.get(classificationSelectionCombo.getSelectionIndex());
554

  
555 543
	}
556 544

  
557 545
	@Override
558 546
	public void widgetDefaultSelected(SelectionEvent e) {
559 547
		//not needed here
560

  
561 548
	}
562 549

  
563 550
	public UUID getSelectedClassificationUUID() {
564

  
565 551
		return selectedClassification.getUuid();
566 552
	}
567 553

  
......
579 565
	}
580 566

  
581 567
	public Set<UUID> getAllClassificationUuids(){
582
		Set<UUID> allClassificationUuids = new HashSet();
568
		Set<UUID> allClassificationUuids = new HashSet<>();
583 569
		for (Classification classification: this.classifications){
584 570
			allClassificationUuids.add(classification.getUuid());
585 571
		}
......
588 574

  
589 575
	@Override
590 576
	public boolean canFlipToNextPage() {
591
        return  getFolderText() != null;
577
        return getFolderText() != null;
592 578
    }
593

  
594 579
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)