com.levigo.util.swing.menu
Interface MenuContributor

All Known Implementing Classes:
com.levigo.jadice.swing.internal.tool.AbstractBaseTool, AbstractSelectionRendererTool, AbstractSubmenuContributor, ActionFactoryMenuContributor, AnnotationTool, AnnotationVisibilityMenuContributor, AreaSelectionTool, CrossHairTool, DecorationTool, EmbeddedAnnotationVisibilityMenuContributor, GalleryNavigationTool, HoverLensTool, KeyBindingsTool, KeyboardNavigationTool, LensView.LensInputEventTool, LightboxThumbnailTool, com.levigo.jadice.swing.internal.tool.ls.MarkedContentFinderTool, MarkedContentFinderTool, com.levigo.jadice.swing.internal.tool.ls.MarkedContentHighlighterTool, MarkedContentHighlighterTool, MouseGestureTool, MouseWheelTool, MouseWheelZoomTool, PageView, PanTool, PDFPasswordProviderTool, PopupMenuTool, SelectionHighlighterTool, TextCursorTool, TextSelectionTool, ThumbnailNavigationTool, ThumbnailView, Tool, ViewComponent, VisibleBoundsTool

public interface MenuContributor

A MenuContributor is able to contribute entries to a menu.


Method Summary
 void contribute(ContributionContext context, MenuBuilder menuBuilder)
          This method is called in order to give the menu contributor a chance to contribute context menu entries via the supplied MenuBuilder.
 

Method Detail

contribute

@CallOnEDT
void contribute(ContributionContext context,
                          MenuBuilder menuBuilder)
This method is called in order to give the menu contributor a chance to contribute context menu entries via the supplied MenuBuilder.

Parameters:
context - the ContributionContext which provides contribution context informations
menuBuilder - the MenuBuilder to which the tool may contribute entries.


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