/**
* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy
+* European Distributed Institute of Taxonomy
* http://www.e-taxonomy.eu
-*
+*
* The contents of this file are subject to the Mozilla Public License Version 1.1
* See LICENSE.TXT at the top of this package for the full license terms.
*/
private UndoContext defaultUndoContext;
private static final Class[] ADAPTER_LIST = new Class[] { IUndoContext.class };
-
+
/* (non-Javadoc)
* @see org.eclipse.core.runtime.IAdapterFactory#getAdapter(java.lang.Object, java.lang.Class)
*/
/** {@inheritDoc} */
- public Object getAdapter(Object adaptableObject, Class adapterType) {
- if (IUndoContext.class.equals(adapterType)) {
- return NavigationUtil.getWorkbenchUndoContext();
- }
+ @Override
+ public Object getAdapter(Object adaptableObject, Class adapterType) {
+// if (IUndoContext.class.equals(adapterType)) {
+// return NavigationUtil.getWorkbenchUndoContext();
+// }
return null;
}
*
* @return an array of {@link java.lang.Class} objects.
*/
- public Class[] getAdapterList() {
+ @Override
+ public Class[] getAdapterList() {
return ADAPTER_LIST;
}
}