Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.view
Class SystemViewAdapterFactory

java.lang.Object
  extended bycom.ibm.etools.systems.core.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.


Field Summary
static String copyright
           
 
Constructor Summary
SystemViewAdapterFactory()
           
 
Method Summary
 Object getAdapter(Object adaptableObject, Class adapterType)
           
 Class[] getAdapterList()
           
 SystemTeamViewCategoryAdapter getCategoryAdapter()
          Return adapter for category nodes in team view
 SystemTeamViewCompileCommandAdapter getCompileCommandAdapter()
          Return adapter for compile command nodes in team view
 SystemTeamViewCompileTypeAdapter getCompileTypeAdapter()
          Return adapter for compile type nodes in team view
 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.
 SystemTeamViewSubSystemFactoryAdapter getSubSystemFactoryAdapter()
          Return adapter for subsystem factory nodes in team view
 SystemTeamViewUserActionAdapter getUserActionAdapter()
          Return adapter for user actions nodes in team view
 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
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
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.


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()
Return adapter for category nodes in team view


getSubSystemFactoryAdapter

public SystemTeamViewSubSystemFactoryAdapter getSubSystemFactoryAdapter()
Return adapter for subsystem factory nodes in team view


getUserActionAdapter

public SystemTeamViewUserActionAdapter getUserActionAdapter()
Return adapter for user actions nodes in team view


getCompileTypeAdapter

public SystemTeamViewCompileTypeAdapter getCompileTypeAdapter()
Return adapter for compile type nodes in team view


getCompileCommandAdapter

public SystemTeamViewCompileCommandAdapter getCompileCommandAdapter()
Return adapter for compile command 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

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.