com.tssap.util.ui.viewer.tree
Class SapAbstractTreeViewer

java.lang.Object
  |
  +--com.tssap.util.ui.viewer.SapViewer
        |
        +--com.tssap.util.ui.viewer.tree.SapAbstractTreeViewer
All Implemented Interfaces:
IContextMenuParticipant, ISapAbstractTreeViewer, ISapViewer
Direct Known Subclasses:
SapTreeViewer

public abstract class SapAbstractTreeViewer
extends SapViewer
implements ISapAbstractTreeViewer

Default implementation of a tree viewer.


Method Summary
 IViewerContext getCurrentViewerContext()
           
 org.eclipse.swt.widgets.Tree getTree()
           
 org.eclipse.jface.viewers.TreeViewer getTreeViewer()
           
 boolean isExpandSingleChildAutomatically()
           
 void refresh()
           
 void setExpandSingleChildAutomatically(boolean expand)
           
 void test()
           
 
Methods inherited from class com.tssap.util.ui.viewer.SapViewer
getContextMenu, setContextMenu
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.tssap.util.ui.menu.context.IContextMenuParticipant
getContextMenu, setContextMenu
 

Method Detail

getTreeViewer

public org.eclipse.jface.viewers.TreeViewer getTreeViewer()
Specified by:
getTreeViewer in interface ISapAbstractTreeViewer

getTree

public org.eclipse.swt.widgets.Tree getTree()
Specified by:
getTree in interface ISapAbstractTreeViewer

refresh

public void refresh()
Specified by:
refresh in interface ISapAbstractTreeViewer

test

public void test()

getCurrentViewerContext

public IViewerContext getCurrentViewerContext()
Overrides:
getCurrentViewerContext in class SapViewer
See Also:
SapViewer.getCurrentViewerContext()

isExpandSingleChildAutomatically

public boolean isExpandSingleChildAutomatically()
Specified by:
isExpandSingleChildAutomatically in interface ISapAbstractTreeViewer

setExpandSingleChildAutomatically

public void setExpandSingleChildAutomatically(boolean expand)
Specified by:
setExpandSingleChildAutomatically in interface ISapAbstractTreeViewer


Copyright © 2005 SAP AG. All Rights Reserved.