RSE
Release 1.0

org.eclipse.rse.files.ui.view
Class SystemViewSearchResultAdapterFactory

java.lang.Object
  extended byorg.eclipse.rse.files.ui.view.SystemViewSearchResultAdapterFactory
All Implemented Interfaces:
IAdapterFactory

public class SystemViewSearchResultAdapterFactory
extends Object
implements IAdapterFactory

This factory maps requests for an adapter object from a given element object. A search result adapter factory maps a search result object to a search result adapter.


Constructor Summary
SystemViewSearchResultAdapterFactory()
           
 
Method Summary
 Object getAdapter(Object adaptableObject, Class adapterType)
           
 Class[] getAdapterList()
           
 void registerWithManager(IAdapterManager manager)
          Called by our plugin's startup method to register our adaptable object types with the platform.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemViewSearchResultAdapterFactory

public SystemViewSearchResultAdapterFactory()
Method Detail

getAdapterList

public Class[] getAdapterList()
Specified by:
getAdapterList in interface IAdapterFactory
See Also:
IAdapterFactory.getAdapterList()

registerWithManager

public void registerWithManager(IAdapterManager manager)
Called by our plugin's startup method to register our adaptable object types with the platform. We prefer to do it here to isolate/encapsulate all factory logic in this one place.


getAdapter

public Object getAdapter(Object adaptableObject,
                         Class adapterType)
Specified by:
getAdapter in interface IAdapterFactory
See Also:
IAdapterFactory.getAdapter(java.lang.Object, java.lang.Class)

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.