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
.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
;
21 * <p>DescriptionPreferences class.</p>
27 public class DescriptionPreferences
extends PreferencePage
implements
28 IWorkbenchPreferencePage
{
30 /** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.preferences.desc"{trunked}</code> */
31 public static final String PLUGIN_ID
= "eu.etaxonomy.taxeditor.preferences.description";
34 * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
38 protected Control
createContents(Composite parent
) {
40 Composite container
= new Composite(parent
, SWT
.NULL
);
41 container
.setLayout(new GridLayout());
48 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
51 public void init(IWorkbench workbench
) {