Remote Systems
v6.4.1

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

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

public class SystemTeamViewCategoryNode
extends Object
implements IAdaptable

This class represents a child node under a profile, in the Team view. It represents expandable categories such as "Connections", "Filter Pools", "User Actions" and "Compile Commands".


Field Summary
static String copyright
           
static String MEMENTO_COMPILECMDS
           
static String MEMENTO_CONNECTIONS
           
static String MEMENTO_FILTERPOOLS
           
static String MEMENTO_TARGETS
           
static String MEMENTO_USERACTIONS
           
 
Constructor Summary
SystemTeamViewCategoryNode(SystemProfile profile)
          Constructor
 
Method Summary
 Object getAdapter(Class adapterType)
          This is the method required by the IAdaptable interface.
 String getDescription()
          Return the description of this node.
 ImageDescriptor getImageDescriptor()
          Return this node's image
 String getLabel()
          Return this node's label
 String getMementoHandle()
           
 SystemProfile getProfile()
           
 void setDescription(String string)
          Set the description of this node.
 void setImageDescriptor(ImageDescriptor descriptor)
          Set the image for this node
 void setLabel(String string)
          Set the label for this node
 void setMementoHandle(String string)
          Set the untranslated value to store in the memento, to uniquely identify this node
 void setProfile(SystemProfile profile)
           
 String toString()
          Convert to string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

MEMENTO_CONNECTIONS

public static final String MEMENTO_CONNECTIONS
See Also:
Constant Field Values

MEMENTO_FILTERPOOLS

public static final String MEMENTO_FILTERPOOLS
See Also:
Constant Field Values

MEMENTO_USERACTIONS

public static final String MEMENTO_USERACTIONS
See Also:
Constant Field Values

MEMENTO_COMPILECMDS

public static final String MEMENTO_COMPILECMDS
See Also:
Constant Field Values

MEMENTO_TARGETS

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

SystemTeamViewCategoryNode

public SystemTeamViewCategoryNode(SystemProfile profile)
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

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

setImageDescriptor

public void setImageDescriptor(ImageDescriptor descriptor)
Set the image for this node

Parameters:
descriptor - ... the image to show in the tree, for this node

setLabel

public void setLabel(String string)
Set the label for this node

Parameters:
string - ... the 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

getDescription

public String getDescription()
Return the description of this node. Shown on status line.


setDescription

public void setDescription(String string)
Set the description of this node. Shown on status line.


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.