1
|
/**
|
2
|
*
|
3
|
*/
|
4
|
package eu.etaxonomy.taxeditor.editor;
|
5
|
|
6
|
import org.eclipse.core.runtime.IAdapterFactory;
|
7
|
|
8
|
/**
|
9
|
* TODO remove this class
|
10
|
*
|
11
|
* @author n.hoffmann
|
12
|
* @version $Id: $
|
13
|
*/
|
14
|
public class MultiPageTaxonEditorAdapterFactory implements IAdapterFactory {
|
15
|
|
16
|
/* (non-Javadoc)
|
17
|
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapter(java.lang.Object, java.lang.Class)
|
18
|
*/
|
19
|
/** {@inheritDoc} */
|
20
|
public Object getAdapter(Object adaptableObject, Class adapterType) {
|
21
|
|
22
|
// if((adaptableObject instanceof MultiPageTaxonEditor) && adapterType.equals(DuplicateArbitrator.class)){
|
23
|
// return null;// new DuplicateArbitrator((MultiPageTaxonEditor) adaptableObject);
|
24
|
// }
|
25
|
|
26
|
return null;
|
27
|
}
|
28
|
|
29
|
/* (non-Javadoc)
|
30
|
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapterList()
|
31
|
*/
|
32
|
/**
|
33
|
* <p>getAdapterList</p>
|
34
|
*
|
35
|
* @return an array of {@link java.lang.Class} objects.
|
36
|
*/
|
37
|
public Class[] getAdapterList() {
|
38
|
return new Class[]{
|
39
|
// DuplicateArbitrator.class
|
40
|
};
|
41
|
}
|
42
|
|
43
|
}
|