Project

General

Profile

Download (1.21 KB) Statistics
| Branch: | Tag: | Revision:
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
package eu.etaxonomy.taxeditor.databaseAdmin.wizard;
10

    
11
import org.eclipse.jface.preference.FieldEditor;
12
import org.eclipse.swt.widgets.Composite;
13

    
14
/**
15
 * @author k.luther
16
 * @date 19.12.2016
17
 *
18
 */
19
public class SpacerFieldEditor extends FieldEditor {
20
        public SpacerFieldEditor(Composite parent) {
21
            super("", "", parent);
22
        }
23

    
24
        @Override
25
        protected void adjustForNumColumns(int numColumns) {
26
            // do nothing
27
        }
28

    
29
        @Override
30
        protected void doFillIntoGrid(Composite parent, int numColumns) {
31
            getLabelControl(parent);
32
        }
33

    
34
        @Override
35
        protected void doLoad() {
36
            // do nothing
37
        }
38

    
39
        @Override
40
        protected void doLoadDefault() {
41
            // do nothing
42
        }
43

    
44
        @Override
45
        protected void doStore() {
46
            // do nothing
47
        }
48

    
49
        @Override
50
        public int getNumberOfControls() {
51
            return 0;
52
        }
53

    
54

    
55

    
56
}
(7-7/8)