csheets.ext.deptree
Class DependencyTreeUIExtension

java.lang.Object
  extended by csheets.ui.ext.UIExtension
      extended by csheets.ext.deptree.DependencyTreeUIExtension

public class DependencyTreeUIExtension
extends UIExtension

The user interface extension for dependency trees.

Author:
Einar Pehrson

Field Summary
 
Fields inherited from class csheets.ui.ext.UIExtension
extension, props, uiController
 
Constructor Summary
DependencyTreeUIExtension(DependencyTreeExtension extension, UIController uiController)
          Creates a new user interface extension..
 
Method Summary
 Icon getIcon()
          Returns an icon to display with the extension's name.
 JComponent getSideBar()
          Returns a panel in which a precedents tree and a dependents tree is displayed.
 
Methods inherited from class csheets.ui.ext.UIExtension
getCellDecorator, getEnabledProperty, getExtension, getMenu, getTableDecorator, getToolBar, setEnabledProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyTreeUIExtension

public DependencyTreeUIExtension(DependencyTreeExtension extension,
                                 UIController uiController)
Creates a new user interface extension..

Parameters:
extension - the extension for which components are provided
uiController - the user interface controller
Method Detail

getIcon

public Icon getIcon()
Returns an icon to display with the extension's name.

Overrides:
getIcon in class UIExtension
Returns:
an icon with a tree

getSideBar

public JComponent getSideBar()
Returns a panel in which a precedents tree and a dependents tree is displayed.

Overrides:
getSideBar in class UIExtension
Returns:
a panel with two dependency trees