rss.gui
Class RSSTree

java.lang.Object
  extended by rss.gui.RSSTree

public class RSSTree
extends java.lang.Object

Handy composition of the SWT Tree to link tree items with TreeFolder and RootFolder

Author:
Jong-Moon Kim

Method Summary
 void addSelectionListener(SelectionListener listener)
          Adds a selection listener
 java.lang.Object getSelection()
          Retrieves the tree item that is selected
 void rebuild(RootFolder root)
          Reinitializes the tree given the new root object with its internal tree structure and objects
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

rebuild

public void rebuild(RootFolder root)
Reinitializes the tree given the new root object with its internal tree structure and objects

Parameters:
root -

addSelectionListener

public void addSelectionListener(SelectionListener listener)
Adds a selection listener

Parameters:
listener -

getSelection

public java.lang.Object getSelection()
Retrieves the tree item that is selected

Returns:
either a TreeFolder or a Feed, caller should differentiate