com.levigo.util.swing.flextree
Interface TreeContributionContext

All Superinterfaces:
ContributionContext

public interface TreeContributionContext
extends ContributionContext

An extended ContributionContext supplied to TreeContextMenuContributors.


Field Summary
 
Fields inherited from interface com.levigo.util.swing.menu.ContributionContext
TYPE_CONTEXT_MENU, TYPE_CONTEXT_TOOLBAR, TYPE_MAIN_MENU, TYPE_TOOLBAR
 
Method Summary
 TreePath[] getSelectedPaths()
           
 TreePath getTargetPath()
          The TreePath (which is normally also one of the selected paths) that was immediately under the mouse when the popup menu was triggered.
 FlexibleTree getTree()
           
 
Methods inherited from interface com.levigo.util.swing.menu.ContributionContext
getContext, getEvent, getMenuType
 

Method Detail

getTree

FlexibleTree getTree()

getSelectedPaths

TreePath[] getSelectedPaths()

getTargetPath

TreePath getTargetPath()
The TreePath (which is normally also one of the selected paths) that was immediately under the mouse when the popup menu was triggered.

Returns:


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.