Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/preference/DescriptionPreferences.java | ||
---|---|---|
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 |
* @author p.ciardelli |
|
22 |
* @created 20.05.2008 |
|
23 |
* @version 1.0 |
|
24 |
*/ |
|
25 |
public class DescriptionPreferences extends PreferencePage implements |
|
26 |
IWorkbenchPreferencePage { |
|
27 |
|
|
28 |
public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.description"; |
|
29 |
|
|
30 |
/* (non-Javadoc) |
|
31 |
* @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite) |
|
32 |
*/ |
|
33 |
@Override |
|
34 |
protected Control createContents(Composite parent) { |
|
35 |
|
|
36 |
Composite container = new Composite(parent, SWT.NULL); |
|
37 |
container.setLayout(new GridLayout()); |
|
38 |
|
|
39 |
// |
|
40 |
return container; |
|
41 |
} |
|
42 |
|
|
43 |
/* (non-Javadoc) |
|
44 |
* @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) |
|
45 |
*/ |
|
46 |
public void init(IWorkbench workbench) { |
|
47 |
|
|
48 |
} |
|
49 |
} |
|
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>DescriptionPreferences class.</p> |
|
22 |
* |
|
23 |
* @author p.ciardelli |
|
24 |
* @created 20.05.2008 |
|
25 |
* @version 1.0 |
|
26 |
*/ |
|
27 |
public class DescriptionPreferences extends PreferencePage implements |
|
28 |
IWorkbenchPreferencePage { |
|
29 |
|
|
30 |
/** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.preferences.desc"{trunked}</code> */ |
|
31 |
public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.description"; |
|
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 |
} |
Also available in: Unified diff
performed javacscript:fix and worked on documentation