Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.view.team
Class SystemTeamViewSubSystemFactoryNode

java.lang.Object
  extended bycom.ibm.etools.systems.core.ui.view.team.SystemTeamViewSubSystemFactoryNode
All Implemented Interfaces:
IAdaptable

public class SystemTeamViewSubSystemFactoryNode
extends Object
implements IAdaptable

This class represents a child node under category nodes, in the Team view. It represents expandable subsystem factories such as "Files" or "iSeries Objects".


Field Summary
static String copyright
           
 
Constructor Summary
SystemTeamViewSubSystemFactoryNode(SystemProfile profile, SystemTeamViewCategoryNode parentCategory, SubSystemFactory ssf)
          Constructor
 
Method Summary
 boolean equals(Object o)
          Compare this node to another.
 Object getAdapter(Class adapterType)
          This is the method required by the IAdaptable interface.
 ImageDescriptor getImageDescriptor()
          Return this node's image
 String getLabel()
          Return this node's label
 String getMementoHandle()
           
 SystemTeamViewCategoryNode getParentCategory()
          Return the parent category this is a child of.
 SystemProfile getProfile()
           
 SubSystemFactory getSubSystemFactory()
          Return the subsystem factory this node represents
 void setMementoHandle(String string)
          Set the untranslated value to store in the memento, to uniquely identify this node
 void setParentCategory(SystemTeamViewCategoryNode node)
          Set the parent category this is a child of.
 void setProfile(SystemProfile profile)
           
 void setSubSystemFactory(SubSystemFactory factory)
          Set the subsystem factory this node represents
 String toString()
          Convert to string.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SystemTeamViewSubSystemFactoryNode

public SystemTeamViewSubSystemFactoryNode(SystemProfile profile,
                                          SystemTeamViewCategoryNode parentCategory,
                                          SubSystemFactory ssf)
Constructor

Method Detail

getAdapter

public Object getAdapter(Class adapterType)
This is the method required by the IAdaptable interface. Given an adapter class type, return an object castable to the type, or null if this is not possible.

Specified by:
getAdapter in interface IAdaptable

equals

public boolean equals(Object o)
Compare this node to another.


getImageDescriptor

public ImageDescriptor getImageDescriptor()
Return this node's image

Returns:
the image to show in the tree, for this node

getLabel

public String getLabel()
Return this node's label

Returns:
the translated label to show in the tree, for this node

toString

public String toString()
Convert to string. We call getLabel()


getProfile

public SystemProfile getProfile()
Returns:
profile this category is associated with

setProfile

public void setProfile(SystemProfile profile)
Parameters:
profile - ... the profile this category is associated with

getMementoHandle

public String getMementoHandle()
Returns:
the untranslated value to store in the memento, to uniquely identify this node

setMementoHandle

public void setMementoHandle(String string)
Set the untranslated value to store in the memento, to uniquely identify this node

Parameters:
string - - untranslated value

getSubSystemFactory

public SubSystemFactory getSubSystemFactory()
Return the subsystem factory this node represents


setSubSystemFactory

public void setSubSystemFactory(SubSystemFactory factory)
Set the subsystem factory this node represents


getParentCategory

public SystemTeamViewCategoryNode getParentCategory()
Return the parent category this is a child of.


setParentCategory

public void setParentCategory(SystemTeamViewCategoryNode node)
Set the parent category this is a child of.


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.