Class MenuManagerEventHelper

java.lang.Object
org.eclipse.jface.internal.MenuManagerEventHelper

@NoInstantiate @NoReference public final class MenuManagerEventHelper extends Object
Since:
3.8.100
  • Method Details

    • getInstance

      public static MenuManagerEventHelper getInstance()
      Returns:
      singleton instance
    • setShowHelper

      public void setShowHelper(IMenuListener2 showHelper)
      Uses IMenuListener2 to do some processing before (menuAboutToShow) and after (menuAboutToHide) the SWT.Show event.
    • getShowHelper

      public IMenuListener2 getShowHelper()
      Returns:
      the show helper
    • setHideHelper

      public void setHideHelper(IMenuListener2 hideHelper)
      Uses IMenuListener2 to do some processing before (menuAboutToShow) and after (menuAboutToHide) the SWT.Hide event.
    • getHideHelper

      public IMenuListener2 getHideHelper()
      Returns:
      the hide helper
    • showEventPreHelper

      public void showEventPreHelper(MenuManager manager)
      Do show pre-processing.
    • showEventPostHelper

      public void showEventPostHelper(MenuManager manager)
      Do show post-processing.
    • hideEventPreHelper

      public void hideEventPreHelper(MenuManager manager)
      Do hide pre-processing.
    • hideEventPostHelper

      public void hideEventPostHelper(MenuManager manager)
      Do hide post-processing.