Project

General

Profile

« Previous | Next » 

Revision c7a6e70f

Added by Andreas Müller about 2 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/featuretree/e4/operation/AddOntologyTermOperation.java
31 31
/**
32 32
 * @author pplitzner
33 33
 * @since Apr 30, 2018
34
 *
35 34
 */
36 35
public class AddOntologyTermOperation extends AbstractPostOperation<TermNode> {
37 36

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/e4/in/ImportFromFileDataSourceWizardPage.java
29 29
import eu.etaxonomy.cdm.common.CdmUtils;
30 30

  
31 31
/**
32
 *
33 32
 * @author pplitzner
34 33
 * @since Oct 5, 2017
35
 *
36 34
 */
37 35
public class ImportFromFileDataSourceWizardPage extends WizardPage {
38 36

  
......
61 59
        this.extensions = extensions;
62 60
    }
63 61

  
64
	/** {@inheritDoc} */
65 62
	@Override
66 63
    public void createControl(Composite parent) {
67 64
		composite = new Composite(parent, SWT.NULL);
......
98 95
		            setPageComplete(isPageComplete());
99 96
		        }
100 97
		    }
101

  
102 98
		});
103 99

  
104

  
105 100
        setControl(composite);
106 101
	}
107 102

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/e4/in/excel/distribution/ExcelDistributionUpdateWizardE4.java
53 53
        super(context, partService);
54 54
    }
55 55

  
56
    /** {@inheritDoc} */
57 56
    @Override
58 57
    public ExcelDistributionUpdateConfigurator getConfigurator() {
59 58
              return configurator;
60 59
    }
61 60

  
62
    /** {@inheritDoc} */
63 61
    @Override
64 62
    public boolean performFinish() {
65 63
        URI source = dataSourcePage.getUri();
......
89 87
        return true;
90 88
    }
91 89

  
92
    /** {@inheritDoc} */
93 90
    @Override
94 91
    public void init() {
95 92
        configurator =  CdmStore.getImportManager().ExcelDistributionUpdateConfigurator();
96 93

  
97 94
    }
98 95

  
99
    /** {@inheritDoc} */
100 96
    @Override
101 97
    public void addPages() {
102 98
        addDataSourcePage();
......
121 117
        dataSourcePage = ContextInjectionFactory.make(ImportFromFileAndChooseVocIdWizardPageE4.class, context);
122 118
        addPage(dataSourcePage);
123 119
    }
124

  
125

  
126
}
120
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/e4/in/ris/RISImportWizardE4.java
37 37
/**
38 38
 * @author k.luther
39 39
 * @date 12.05.2017
40
 *
41 40
 */
42 41
public class RISImportWizardE4 extends AbstractImportWizardE4<RisReferenceImportConfigurator>{
43 42

  
......
52 51
        super(context, partService);
53 52
    }
54 53

  
55
    /** {@inheritDoc} */
56 54
    @Override
57 55
    public RisReferenceImportConfigurator getConfigurator() {
58 56
        return configurator;
59 57
    }
60 58

  
61
    /** {@inheritDoc} */
62 59
    @Override
63 60
    public boolean performFinish() {
64 61
        URI source = dataSourcePage.getUri();
......
83 80
        return true;
84 81
    }
85 82

  
86
    /** {@inheritDoc} */
87 83
    @Override
88 84
    public void init() {
89 85
        configurator = RisReferenceImportConfigurator.NewInstance();
90 86

  
91 87
    }
92 88

  
93
    /** {@inheritDoc} */
94 89
    @Override
95 90
    public void addPages() {
96 91
        addDataSourcePage();
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/e4/in/tcs/TcsImportWizardE4.java
31 31
import eu.etaxonomy.taxeditor.store.CdmStore;
32 32

  
33 33
/**
34
 *
35 34
 * @author pplitzner
36 35
 * @since Oct 5, 2017
37
 *
38 36
 */
39 37
public class TcsImportWizardE4 extends AbstractImportWizardE4<TcsXmlImportConfigurator> {
40 38

  
41

  
42 39
    private TcsXmlImportConfigurator configurator;
43 40

  
44 41
	private ImportFromFileDataSourceWithReferenceWizardPage dataSourcePage;
......
48 45
	    super(context, partService);
49 46
	}
50 47

  
51
	/** {@inheritDoc} */
52 48
	@Override
53 49
	public boolean performFinish() {
54 50
	    URI source = dataSourcePage.getUri();
......
61 57
	    return true;
62 58
	}
63 59

  
64
	/** {@inheritDoc} */
65 60
	@Override
66 61
    public void init() {
67 62
		configurator = CdmStore.getImportManager().TcsConfigurator();
68 63
	}
69 64

  
70
	/** {@inheritDoc} */
71 65
	@Override
72 66
	public TcsXmlImportConfigurator getConfigurator() {
73 67
		return configurator;
......
82 76
         addPage(pageConfiguration);
83 77
    }
84 78

  
85

  
86

  
87
	/** {@inheritDoc} */
88 79
	@Override
89 80
	public void addPages() {
90 81
		dataSourcePage = ContextInjectionFactory.make(ImportFromFileDataSourceWithReferenceWizardPage.class, context);
91 82
		addPage(dataSourcePage);
92 83
		super.addPages();
93 84
	}
94
}
85
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/RISImportWizard.java
30 30
/**
31 31
 * @author k.luther
32 32
 * @date 12.05.2017
33
 *
34 33
 */
35 34
public class RISImportWizard extends AbstractImportWizard<RisReferenceImportConfigurator>{
36 35
    private RisReferenceImportConfigurator configurator;
......
39 38

  
40 39
    private static final Logger logger = Logger.getLogger(ExcelDistributionUpdateWizard.class);
41 40

  
42
    /* (non-Javadoc)
43
     * @see eu.etaxonomy.taxeditor.io.wizard.AbstractImportWizard#getConfigurator()
44
     */
45
    /** {@inheritDoc} */
46 41
    @Override
47 42
    public RisReferenceImportConfigurator getConfigurator() {
48 43
        return configurator;
49 44
    }
50 45

  
51
    /* (non-Javadoc)
52
     * @see org.eclipse.jface.wizard.Wizard#performFinish()
53
     */
54
    /** {@inheritDoc} */
55 46
    @Override
56 47
    public boolean performFinish() {
57 48
        URI source = dataSourcePage.getUri();
......
85 76

  
86 77
        //CdmStore.getImportManager().runMoniteredOperation(configurator, new File(source), SOURCE_TYPE.INPUTSTREAM);
87 78

  
88

  
89 79
        return true;
90 80
    }
91 81

  
92
    /* (non-Javadoc)
93
     * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
94
     */
95
    /** {@inheritDoc} */
96 82
    @Override
97 83
    public void init(IWorkbench workbench, IStructuredSelection selection) {
98 84
        super.init(workbench, selection);
99 85
        configurator = RisReferenceImportConfigurator.NewInstance();
100

  
101 86
    }
102 87

  
103
    /* (non-Javadoc)
104
     * @see eu.etaxonomy.taxeditor.io.wizard.AbstractImportWizard#addPages()
105
     */
106
    /** {@inheritDoc} */
107 88
    @Override
108 89
    public void addPages() {
109 90
        //addConfiguratorPage();
110 91
        addDataSourcePage();
111

  
112

  
113 92
    }
93
    
114 94
    @Override
115 95
    protected void addConfiguratorPage(){
116 96
        List<String> ignoreMethods = new ArrayList<>();
......
126 106
                "Please choose an xls file in the Distribution Update format.", new String[]{"*.txt"});
127 107
        addPage(dataSourcePage);
128 108
    }
129

  
130
}
109
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/ImageFileElement.java
82 82
            }
83 83
            return Status.OK_STATUS;
84 84
        }
85

  
86 85
    }
87 86

  
88 87
	private NumberWithLabelElement text_height;

Also available in: Unified diff