Project

General

Profile

Download (1.12 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2018 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.preferencePage;
10

    
11
import org.eclipse.swt.SWT;
12
import org.eclipse.swt.layout.GridLayout;
13
import org.eclipse.swt.widgets.Composite;
14
import org.eclipse.swt.widgets.Control;
15

    
16
import eu.etaxonomy.taxeditor.preference.menu.CdmPreferencePage;
17

    
18
/**
19
 * @author k.luther
20
 * @since 29.05.2018
21
 *
22
 */
23
public class GeneralAdminPreferencePage extends CdmPreferencePage implements IE4AdminPreferencePage {
24

    
25
    /**
26
     * {@inheritDoc}
27
     */
28
    @Override
29
    protected Control createContents(Composite parent) {
30
        final Composite composite = new Composite(parent, SWT.NULL);
31

    
32
        GridLayout gridLayout = new GridLayout();
33
        composite.setLayout(gridLayout);
34
        return composite;
35
    }
36

    
37
    @Override
38
    public void createControl(Composite parent){
39
        super.createControl(parent);
40
        getControl().setVisible(false);
41
    }
42

    
43
}
(4-4/10)