RSE
Release 1.0

org.eclipse.rse.ui.view.team
Class SystemTeamViewSubSystemConfigurationNode

java.lang.Object
  extended byorg.eclipse.rse.ui.view.team.SystemTeamViewSubSystemConfigurationNode
All Implemented Interfaces:
IAdaptable

public class SystemTeamViewSubSystemConfigurationNode
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".


Constructor Summary
SystemTeamViewSubSystemConfigurationNode(ISystemProfile profile, SystemTeamViewCategoryNode parentCategory, ISubSystemConfiguration 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.
 ISystemProfile getProfile()
           
 ISubSystemConfiguration getSubSystemConfiguration()
          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(ISystemProfile profile)
           
 void setSubSystemConfiguration(ISubSystemConfiguration 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
 

Constructor Detail

SystemTeamViewSubSystemConfigurationNode

public SystemTeamViewSubSystemConfigurationNode(ISystemProfile profile,
                                                SystemTeamViewCategoryNode parentCategory,
                                                ISubSystemConfiguration 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 ISystemProfile getProfile()
Returns:
profile this category is associated with

setProfile

public void setProfile(ISystemProfile 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

getSubSystemConfiguration

public ISubSystemConfiguration getSubSystemConfiguration()
Return the subsystem factory this node represents


setSubSystemConfiguration

public void setSubSystemConfiguration(ISubSystemConfiguration 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.


RSE
Release 1.0

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