1
|
/**
|
2
|
* Copyright (C) 2007 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
|
|
10
|
package eu.etaxonomy.taxeditor.preference;
|
11
|
|
12
|
import org.eclipse.jface.preference.PreferencePage;
|
13
|
import org.eclipse.swt.SWT;
|
14
|
import org.eclipse.swt.layout.GridLayout;
|
15
|
import org.eclipse.swt.widgets.Composite;
|
16
|
import org.eclipse.swt.widgets.Control;
|
17
|
import org.eclipse.ui.IWorkbench;
|
18
|
import org.eclipse.ui.IWorkbenchPreferencePage;
|
19
|
|
20
|
/**
|
21
|
* <p>CdmPreferences class.</p>
|
22
|
*
|
23
|
* @author p.ciardelli
|
24
|
* @created 20.05.2008
|
25
|
* @version 1.0
|
26
|
*/
|
27
|
public class CdmPreferences extends PreferencePage implements
|
28
|
IWorkbenchPreferencePage {
|
29
|
|
30
|
/** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.preferences.cdm"</code> */
|
31
|
public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.cdm";
|
32
|
|
33
|
/* (non-Javadoc)
|
34
|
* @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
|
35
|
*/
|
36
|
/** {@inheritDoc} */
|
37
|
@Override
|
38
|
protected Control createContents(Composite parent) {
|
39
|
|
40
|
Composite container = new Composite(parent, SWT.NULL);
|
41
|
container.setLayout(new GridLayout());
|
42
|
|
43
|
//
|
44
|
return container;
|
45
|
}
|
46
|
|
47
|
/* (non-Javadoc)
|
48
|
* @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
|
49
|
*/
|
50
|
/** {@inheritDoc} */
|
51
|
public void init(IWorkbench workbench) {
|
52
|
|
53
|
}
|
54
|
}
|