N - the native widget typepublic abstract class BaseToolItemRenderer<N> extends BaseItemRenderer<org.eclipse.e4.ui.model.application.ui.menu.MToolItem,WToolItem<N>>
MToolItemVISIBLE_WHEN_RESULTATTRIBUTE_localizedLabel, ATTRIBUTE_localizedTooltip, CALCULATED_VISIBILITY, CONTEXT_DOM_ELEMENT, CURRENT_VISIBLE_WHEN| Constructor and Description |
|---|
BaseToolItemRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkEnablement(org.eclipse.e4.ui.model.application.ui.menu.MToolItem toolbarElement)
Check if the element is enabled
Might be called on ANY-Thread
|
void |
childRendered(org.eclipse.e4.ui.model.application.ui.menu.MToolItem parentElement,
org.eclipse.e4.ui.model.application.ui.MUIElement element)
Inform the that a direct child of the parentElement has been rendered
|
void |
doProcessContent(org.eclipse.e4.ui.model.application.ui.menu.MToolItem element)
Process the content of an element
|
void |
hideChild(org.eclipse.e4.ui.model.application.ui.menu.MToolItem container,
org.eclipse.e4.ui.model.application.ui.MUIElement changedObj)
Hide the child of the element
|
protected void |
initWidget(org.eclipse.e4.ui.model.application.ui.menu.MToolItem element,
WToolItem<N> widget)
Initialize the widget
|
canExecute, executeAction, generateParameterizedCommandactivate, bindWidget, checkVisibleWhen, createWidget, destroyWidget, engineCreateWidget, engineCreateWidget, focus, getContextForParent, getLogger, getModelContext, getPresentationEngine, getRenderedIndex, getRenderingContext, getVisibleWhen, getWidget, getWidgetClass, inContentProcessing, inContextModification, initContext, initRenderingContext, inUIModification, isChildAndRenderedVisible, postProcess, preDestroy, processContent, registerEventListener, setupRenderingContext, syncUIModificationsprotected void initWidget(org.eclipse.e4.ui.model.application.ui.menu.MToolItem element,
WToolItem<N> widget)
BaseRendererinitWidget in class BaseRenderer<org.eclipse.e4.ui.model.application.ui.menu.MToolItem,WToolItem<N>>element - the model elementwidget - the widgetpublic void checkEnablement(org.eclipse.e4.ui.model.application.ui.menu.MToolItem toolbarElement)
BaseItemRendererMight be called on ANY-Thread
checkEnablement in class BaseItemRenderer<org.eclipse.e4.ui.model.application.ui.menu.MToolItem,WToolItem<N>>toolbarElement - the model elementpublic void doProcessContent(org.eclipse.e4.ui.model.application.ui.menu.MToolItem element)
BaseRendererdoProcessContent in class BaseRenderer<org.eclipse.e4.ui.model.application.ui.menu.MToolItem,WToolItem<N>>element - the elementpublic void childRendered(org.eclipse.e4.ui.model.application.ui.menu.MToolItem parentElement,
org.eclipse.e4.ui.model.application.ui.MUIElement element)
ElementRendererparentElement - the parentelement - the child renderedpublic void hideChild(org.eclipse.e4.ui.model.application.ui.menu.MToolItem container,
org.eclipse.e4.ui.model.application.ui.MUIElement changedObj)
ElementRenderercontainer - the element containerchangedObj - the element to hide