org.gla.bisb.structure
Class ProjectAdapterFactory
java.lang.Object
org.gla.bisb.structure.ProjectAdapterFactory
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdapterFactory
public class ProjectAdapterFactory
- extends java.lang.Object
- implements org.eclipse.core.runtime.IAdapterFactory
This class provides tree content for project structure. It converts the project structural
representation by creating IWorkbenchAdapter
s.
- Author:
- Vladislav Vyshemirsky
Method Summary |
java.lang.Object |
getAdapter(java.lang.Object adaptableObject,
java.lang.Class adapterType)
Provides the adapters for project representation. |
java.lang.Class[] |
getAdapterList()
Returns the list of classes it can adapt a Category to. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectAdapterFactory
public ProjectAdapterFactory()
getAdapter
public java.lang.Object getAdapter(java.lang.Object adaptableObject,
java.lang.Class adapterType)
- Provides the adapters for project representation.
- Specified by:
getAdapter
in interface org.eclipse.core.runtime.IAdapterFactory
- See Also:
IAdapterFactory.getAdapter(java.lang.Object, java.lang.Class)
getAdapterList
public java.lang.Class[] getAdapterList()
- Returns the list of classes it can adapt a Category to.
Just the
IWorkbenchAdapter
class is returned.
- Specified by:
getAdapterList
in interface org.eclipse.core.runtime.IAdapterFactory
- See Also:
IAdapterFactory.getAdapterList()