Project

General

Profile

« Previous | Next » 

Revision bdb4e94a

Added by Andreas Müller over 2 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/BulkEditorLables.java
1 1
/**
2
	* Copyright (C) 2016 EDIT
3
	* European Distributed Institute of Taxonomy
4
	* http://www.e-taxonomy.eu
5
	*
6
	* The contents of this file are subject to the Mozilla Public License Version 1.1
7
	* See LICENSE.TXT at the top of this package for the full license terms.
8
	*/
9

  
2
* Copyright (C) 2016 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
10 9
package eu.etaxonomy.taxeditor.bulkeditor;
11 10
/**
12 11
 * @author kluther
13 12
 * @date 29 Feb 2016
14
 *
15 13
 */
16 14
public interface BulkEditorLables {
17
	
18

  
19 15

  
20 16
	    public static final String CONVERT_TEAM_2_PERSON_LABEL = "Convert Team to Person";
21 17
	    public static final String CONVERT_PERSON_2_TEAM_LABEL = "Convert Person to Team";
......
28 24
	    public static final String NO_CONVERT_PERSON_TO_TEAM_MESSAGE = "Can not convert Person into a Team.";
29 25
	    public static final String TRANSFORMATION_NOT_POSSIBLE_PERSON_PART_OF_TEAM_MESSAGE = "Person can not be transformed into team as it is already part of a team.";
30 26
	    public static final String NO_CONVERT_TEAM_TO_PERSON_MESSAGE = "Can not convert Team to Person";
31
	   
32
	   
27

  
28

  
33 29
	    public static final String UNSAVED_CHANGES_MESSAGE = "There are unsaved changes in the source taxon. Please save first.";
34 30
		public static final String SINGLE_PERSON_SELECTION_MESSAGE = "The chosen operation is available only for a single person";
35 31
		public static final String SINGLE_TEAM_SELECTION_MESSAGE = "The chosen operation is available only for a single team";
......
39 35
		public static final String ONLY_TEAM_SELECTION_MESSAGE = "Only a team can be converted into a person.";
40 36
		public static final String ONLY_FOR_BULKEDITOR_MESSAGE = "You have to choose a line in the bulkeditor to perform this operation.";
41 37

  
42

  
43

  
44
	
45

  
46
}
38
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/identificationkey/AbstractIdentificaitonKeyWizard.java
1
/**
2
 * 
3
 */
4
package eu.etaxonomy.taxeditor.identificationkey;
5

  
6
import org.eclipse.jface.wizard.Wizard;
7

  
8
/**
9
 * @author n.hoffmann
10
 *
11
 */
12
public class AbstractIdentificaitonKeyWizard extends Wizard {
13

  
14
	/* (non-Javadoc)
15
	 * @see org.eclipse.jface.wizard.Wizard#performFinish()
16
	 */
17
	@Override
18
	public boolean performFinish() {
19
		return false;
20
	}
21

  
22
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/identificationkey/AbstractIdentificationKeyWizard.java
1
/**
2
* Copyright (C) 2020 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.taxeditor.identificationkey;
10

  
11
import org.eclipse.jface.wizard.Wizard;
12

  
13
/**
14
 * @author n.hoffmann
15
 */
16
public class AbstractIdentificationKeyWizard extends Wizard {
17

  
18
	@Override
19
	public boolean performFinish() {
20
	    return false;
21
	}
22
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/ImportManager.java
6 6
 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
 * See LICENSE.TXT at the top of this package for the full license terms.
8 8
 */
9

  
10 9
package eu.etaxonomy.taxeditor.io;
11 10

  
12 11
import java.io.File;
......
58 57
import eu.etaxonomy.taxeditor.ui.dialog.ReportTextDialog;
59 58

  
60 59
/**
61
 * <p>
62
 * ImportHandler class.
63
 * </p>
64
 *
65 60
 * @author n.hoffmann
66 61
 * @created Sep 11, 2009
67
 * @version 1.0
68 62
 */
69 63
public class ImportManager extends AbstractIOManager<IImportConfigurator> implements IPostMoniteredOperationEnabled {
70 64

  
71 65
	String importSuccessMessage = "The import was successful.";
72 66
	String updateSuccessMessage = "The update was successful.";
73 67

  
74
	/**
75
	 * @param applicationConfiguration
76
	 */
77 68
	private ImportManager(ICdmRepository applicationConfiguration) {
78 69
		super(applicationConfiguration);
79 70
	}
80 71

  
81
	/**
82
	 * <p>
83
	 * NewInstance
84
	 * </p>
85
	 *
86
	 * @param applicationConfiguration
87
	 *            a
88
	 *            {@link eu.etaxonomy.cdm.api.application.CdmApplicationController}
89
	 *            object.
90
	 * @return a {@link eu.etaxonomy.taxeditor.io.ImportManager} object.
91
	 */
92 72
	public static ImportManager NewInstance(
93 73
			ICdmRepository applicationConfiguration) {
94 74
		return new ImportManager(applicationConfiguration);

Also available in: Unified diff