2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.taxeditor
.store
.preference
;
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
;
25 public class CdmPreferences
extends PreferencePage
implements
26 IWorkbenchPreferencePage
{
28 public static final String PLUGIN_ID
= "eu.etaxonomy.taxeditor.preferences.cdm";
31 * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
34 protected Control
createContents(Composite parent
) {
36 Composite container
= new Composite(parent
, SWT
.NULL
);
37 container
.setLayout(new GridLayout());
44 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
46 public void init(IWorkbench workbench
) {