RSE
Release 1.0

org.eclipse.rse.ui.view
Class SystemViewAdapterFactory

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

public class SystemViewAdapterFactory
extends Object
implements IAdapterFactory

This factory maps requests for an adapter object from a given element object.


Constructor Summary
SystemViewAdapterFactory()
           
 
Method Summary
 Object getAdapter(Object adaptableObject, Class adapterType)
           
 Class[] getAdapterList()
           
 SystemTeamViewCategoryAdapter getCategoryAdapter()
           
 SystemViewConnectionAdapter getConnectionAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemViewFilterAdapter getFilterAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemViewFilterPoolAdapter getFilterPoolAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemViewFilterPoolReferenceAdapter getFilterPoolReferenceAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemViewFilterReferenceAdapter getFilterReferenceAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemViewFilterStringAdapter getFilterStringAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemViewMessageAdapter getMsgAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemTeamViewProfileAdapter getProfileAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemViewPromptableAdapter getPromptAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemViewRootInputAdapter getRootInputAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemViewSubSystemAdapter getSubSystemAdapter()
          Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.
 SystemTeamViewSubSystemConfigurationAdapter getSubSystemConfigurationAdapter()
           
 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

SystemViewAdapterFactory

public SystemViewAdapterFactory()
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.

Parameters:
manager - the adapter manager controlling this factory

getAdapter

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

getRootInputAdapter

public SystemViewRootInputAdapter getRootInputAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for root inputs to the RSE

Returns:
SystemViewRootInputAdapter

getConnectionAdapter

public SystemViewConnectionAdapter getConnectionAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for connection objects

Returns:
SystemViewConnectionAdapter

getProfileAdapter

public SystemTeamViewProfileAdapter getProfileAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for profile objects

Returns:
SystemViewProfileAdapter

getFilterAdapter

public SystemViewFilterAdapter getFilterAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for filters

Returns:
SystemViewFilterAdapter

getFilterPoolAdapter

public SystemViewFilterPoolAdapter getFilterPoolAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for filter pools

Returns:
SystemViewFilterPoolAdapter

getFilterPoolReferenceAdapter

public SystemViewFilterPoolReferenceAdapter getFilterPoolReferenceAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for filter pool references, which are what we actually see in the RSE.

Returns:
SystemViewFilterPoolReferenceAdapter

getFilterReferenceAdapter

public SystemViewFilterReferenceAdapter getFilterReferenceAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for filter references, which are what we actually see in the RSE

Returns:
SystemViewFilterReferenceAdapter

getMsgAdapter

public SystemViewMessageAdapter getMsgAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for messages shown in the RSE as child objects

Returns:
SystemViewMessageAdapter

getPromptAdapter

public SystemViewPromptableAdapter getPromptAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for promptable objects the run an action when expanded

Returns:
SystemViewPromptableAdapter

getSubSystemAdapter

public SystemViewSubSystemAdapter getSubSystemAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for subsystems

Returns:
SystemViewSubSystemAdapter

getCategoryAdapter

public SystemTeamViewCategoryAdapter getCategoryAdapter()
Returns:
adapter for category nodes in team view

getSubSystemConfigurationAdapter

public SystemTeamViewSubSystemConfigurationAdapter getSubSystemConfigurationAdapter()
Returns:
adapter for subsystem factory nodes in team view

getFilterStringAdapter

public SystemViewFilterStringAdapter getFilterStringAdapter()
Because we use singletons for our adapters, it is possible to speed up access to them by simply returning them from here.

This method returns the RSE adapter for filter strings

Returns:
SystemViewFilterStringAdapter

RSE
Release 1.0

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