RSE
Release 1.0

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

java.lang.Object
  extended byorg.eclipse.rse.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 MEMENTO_COMPILECMDS
           
static String MEMENTO_CONNECTIONS
           
static String MEMENTO_FILTERPOOLS
           
static String MEMENTO_TARGETS
           
static String MEMENTO_USERACTIONS
           
 
Constructor Summary
SystemTeamViewCategoryNode(ISystemProfile 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()
           
 ISystemProfile 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(ISystemProfile 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

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(ISystemProfile 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 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

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.


RSE
Release 1.0

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