Interface MenuContributor

All Known Subinterfaces:
JadicePageView, PageView, ThumbnailView, ViewComponent
All Known Implementing Classes:
AnnotationPropertyEditor, AnnotationTool, AnnotationVisibilityMenuContributor, AreaSelectionTool, ColorEditor, CrossHairTool, DoubleTapZoomTool, FontFaceEditor, FontSizeEditor, GalleryNavigationTool, GoogleMapsTool, GoogleSearchTool, GridTool, HighlightTool, HorizontalAlignmentEditor, HoverLensTool, IconifiedTextEditor, KeyboardNavigationTool, LineWidthEditor, LinkTool, MouseWheelScrollTool, MouseWheelZoomTool, PageNavigationMenuContributor, PanForceMouseTool, PanForceTool, PanForceTouchTool, PanTool, PDFSignatureBoxTool, PopupMenuTool, PopupSubMenuTool, RotationMenuContributor, SelectPageTool, SetCurrentPageTool, TextEditor, TextSearchTool, TextSelectionTool, TextSelectionTouchTool, TextToSpeechTool, ThumbnailTool, ToggleEditor, Tool, TransparencyEditor, TwoFingerGestureTool, VisibleBoundsTool, WidgetBasedAnnotationPropertyEditor, WikipediaSearchTool, ZoomMenuContributor

public interface MenuContributor
A MenuContributor is able to contribute entries to a menu.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called in order to give the menu contributor a chance to contribute context menu entries via the supplied MenuBuilder.
  • Method Details

    • contribute

      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.