N
- the widget nodepublic abstract class BaseToolBarRenderer<N> extends BaseItemContainerRenderer<org.eclipse.e4.ui.model.application.ui.menu.MToolBar,org.eclipse.e4.ui.model.application.ui.menu.MToolBarElement,WToolBar<N>>
MToolBar
ATTRIBUTE_localizedLabel, ATTRIBUTE_localizedTooltip, CALCULATED_VISIBILITY, CONTEXT_DOM_ELEMENT, CURRENT_VISIBLE_WHEN
Constructor and Description |
---|
BaseToolBarRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
do_childRendered(org.eclipse.e4.ui.model.application.ui.menu.MToolBar parentElement,
org.eclipse.e4.ui.model.application.ui.MUIElement element)
Called to render the child
|
void |
do_hideChild(org.eclipse.e4.ui.model.application.ui.menu.MToolBar container,
org.eclipse.e4.ui.model.application.ui.MUIElement changedObj)
Called to hide a child
|
protected void |
do_init(org.eclipse.e4.core.services.events.IEventBroker eventBroker)
Called to init
|
void |
doProcessContent(org.eclipse.e4.ui.model.application.ui.menu.MToolBar element)
Process the content of an element
|
void |
handleChildrenAddition(org.eclipse.e4.ui.model.application.ui.menu.MToolBar parent,
java.util.Collection<org.eclipse.e4.ui.model.application.ui.menu.MToolBarElement> elements)
Called when children are added
|
void |
handleChildrenRemove(org.eclipse.e4.ui.model.application.ui.menu.MToolBar parent,
java.util.Collection<org.eclipse.e4.ui.model.application.ui.menu.MToolBarElement> elements)
Called when children are removed
|
childRendered, hideChild, isShowing, skipEnablementCheck
activate, bindWidget, checkVisibleWhen, createWidget, destroyWidget, engineCreateWidget, engineCreateWidget, focus, getContextForParent, getLogger, getModelContext, getPresentationEngine, getRenderedIndex, getRenderingContext, getVisibleWhen, getWidget, getWidgetClass, inContentProcessing, inContextModification, initContext, initRenderingContext, initWidget, inUIModification, isChildAndRenderedVisible, postProcess, preDestroy, processContent, registerEventListener, setupRenderingContext, syncUIModifications
protected void do_init(org.eclipse.e4.core.services.events.IEventBroker eventBroker)
BaseItemContainerRenderer
do_init
in class BaseItemContainerRenderer<org.eclipse.e4.ui.model.application.ui.menu.MToolBar,org.eclipse.e4.ui.model.application.ui.menu.MToolBarElement,WToolBar<N>>
eventBroker
- the event brokerpublic void doProcessContent(org.eclipse.e4.ui.model.application.ui.menu.MToolBar element)
BaseRenderer
doProcessContent
in class BaseRenderer<org.eclipse.e4.ui.model.application.ui.menu.MToolBar,WToolBar<N>>
element
- the elementpublic void do_childRendered(org.eclipse.e4.ui.model.application.ui.menu.MToolBar parentElement, org.eclipse.e4.ui.model.application.ui.MUIElement element)
BaseItemContainerRenderer
do_childRendered
in class BaseItemContainerRenderer<org.eclipse.e4.ui.model.application.ui.menu.MToolBar,org.eclipse.e4.ui.model.application.ui.menu.MToolBarElement,WToolBar<N>>
parentElement
- the parentelement
- the elementpublic void do_hideChild(org.eclipse.e4.ui.model.application.ui.menu.MToolBar container, org.eclipse.e4.ui.model.application.ui.MUIElement changedObj)
BaseItemContainerRenderer
do_hideChild
in class BaseItemContainerRenderer<org.eclipse.e4.ui.model.application.ui.menu.MToolBar,org.eclipse.e4.ui.model.application.ui.menu.MToolBarElement,WToolBar<N>>
container
- the containerchangedObj
- the child hiddenpublic void handleChildrenAddition(org.eclipse.e4.ui.model.application.ui.menu.MToolBar parent, java.util.Collection<org.eclipse.e4.ui.model.application.ui.menu.MToolBarElement> elements)
EventProcessor.ChildrenHandler
parent
- the parentelements
- the child elementspublic void handleChildrenRemove(org.eclipse.e4.ui.model.application.ui.menu.MToolBar parent, java.util.Collection<org.eclipse.e4.ui.model.application.ui.menu.MToolBarElement> elements)
EventProcessor.ChildrenHandler
parent
- the parentelements
- the child elements