Package org.eclipse.jface.internal
Class MenuManagerEventHelper
java.lang.Object
org.eclipse.jface.internal.MenuManagerEventHelper
- Since:
- 3.8.100
-
Method Summary
Modifier and TypeMethodDescriptionstatic MenuManagerEventHelper
void
hideEventPostHelper
(MenuManager manager) Do hide post-processing.void
hideEventPreHelper
(MenuManager manager) Do hide pre-processing.void
setHideHelper
(IMenuListener2 hideHelper) Uses IMenuListener2 to do some processing before (menuAboutToShow) and after (menuAboutToHide) the SWT.Hide event.void
setShowHelper
(IMenuListener2 showHelper) Uses IMenuListener2 to do some processing before (menuAboutToShow) and after (menuAboutToHide) the SWT.Show event.void
showEventPostHelper
(MenuManager manager) Do show post-processing.void
showEventPreHelper
(MenuManager manager) Do show pre-processing.
-
Method Details
-
getInstance
- Returns:
- singleton instance
-
setShowHelper
Uses IMenuListener2 to do some processing before (menuAboutToShow) and after (menuAboutToHide) the SWT.Show event. -
getShowHelper
- Returns:
- the show helper
-
setHideHelper
Uses IMenuListener2 to do some processing before (menuAboutToShow) and after (menuAboutToHide) the SWT.Hide event. -
getHideHelper
- Returns:
- the hide helper
-
showEventPreHelper
Do show pre-processing. -
showEventPostHelper
Do show post-processing. -
hideEventPreHelper
Do hide pre-processing. -
hideEventPostHelper
Do hide post-processing.
-