Project

General

Profile

« Previous | Next » 

Revision 672874ab

Added by Patrick Plitzner about 6 years ago

ref #7268 Implement own extension point for preferences

Conflicts:

eu.etaxonomy.taxeditor.workbench/fragment.e4xmi

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/MatchingPreferences.java
1 1
/**
2 2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy 
3
* European Distributed Institute of Taxonomy
4 4
* http://www.e-taxonomy.eu
5
* 
5
*
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
9 9

  
10 10
package eu.etaxonomy.taxeditor.preference;
11 11

  
12
import org.eclipse.jface.preference.PreferencePage;
13 12
import org.eclipse.swt.SWT;
14 13
import org.eclipse.swt.layout.GridLayout;
15 14
import org.eclipse.swt.widgets.Composite;
16 15
import org.eclipse.swt.widgets.Control;
17
import org.eclipse.ui.IWorkbench;
18
import org.eclipse.ui.IWorkbenchPreferencePage;
16

  
17
import eu.etaxonomy.taxeditor.preference.menu.CdmPreferencePage;
19 18

  
20 19
/**
21 20
 * <p>MatchingPreferences class.</p>
......
24 23
 * @created Jan 22, 2010
25 24
 * @version 1.0
26 25
 */
27
public class MatchingPreferences extends PreferencePage implements
28
	IWorkbenchPreferencePage  {
26
public class MatchingPreferences extends CdmPreferencePage  {
29 27

  
30
	/* (non-Javadoc)
31
	 * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
32
	 */
33 28
	/** {@inheritDoc} */
34 29
	@Override
35 30
	protected Control createContents(Composite parent) {
......
40 35
		return container;
41 36
	}
42 37

  
43
	/* (non-Javadoc)
44
	 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
45
	 */
46
	/** {@inheritDoc} */
47
	public void init(IWorkbench workbench) {
48
		
49
	}
50
	
51
	
52 38
}

Also available in: Unified diff