N
- the native widget typepublic abstract class BaseTrimBarRenderer<N> extends BaseRenderer<org.eclipse.e4.ui.model.application.ui.basic.MTrimBar,WTrimBar<N>> implements EventProcessor.ChildrenHandler<org.eclipse.e4.ui.model.application.ui.basic.MTrimBar,org.eclipse.e4.ui.model.application.ui.basic.MTrimElement>
MTrimBar
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG_FILLSPACE
Tag to use when space should be filled
|
ATTRIBUTE_localizedLabel, ATTRIBUTE_localizedTooltip, CALCULATED_VISIBILITY, CONTEXT_DOM_ELEMENT, CURRENT_VISIBLE_WHEN
Constructor and Description |
---|
BaseTrimBarRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
childRendered(org.eclipse.e4.ui.model.application.ui.basic.MTrimBar 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.basic.MTrimBar element)
Process the content of an element
|
void |
handleChildrenAddition(org.eclipse.e4.ui.model.application.ui.basic.MTrimBar parent,
java.util.Collection<org.eclipse.e4.ui.model.application.ui.basic.MTrimElement> elements)
Called when children are added
|
void |
handleChildrenRemove(org.eclipse.e4.ui.model.application.ui.basic.MTrimBar parent,
java.util.Collection<org.eclipse.e4.ui.model.application.ui.basic.MTrimElement> elements)
Called when children are removed
|
void |
hideChild(org.eclipse.e4.ui.model.application.ui.basic.MTrimBar container,
org.eclipse.e4.ui.model.application.ui.MUIElement changedObj)
Hide the child of the element
|
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
public static final java.lang.String TAG_FILLSPACE
public void doProcessContent(org.eclipse.e4.ui.model.application.ui.basic.MTrimBar element)
BaseRenderer
doProcessContent
in class BaseRenderer<org.eclipse.e4.ui.model.application.ui.basic.MTrimBar,WTrimBar<N>>
element
- the elementpublic void childRendered(org.eclipse.e4.ui.model.application.ui.basic.MTrimBar parentElement, org.eclipse.e4.ui.model.application.ui.MUIElement element)
ElementRenderer
childRendered
in interface ElementRenderer<org.eclipse.e4.ui.model.application.ui.basic.MTrimBar,WTrimBar<N>>
parentElement
- the parentelement
- the child renderedpublic void hideChild(org.eclipse.e4.ui.model.application.ui.basic.MTrimBar container, org.eclipse.e4.ui.model.application.ui.MUIElement changedObj)
ElementRenderer
hideChild
in interface ElementRenderer<org.eclipse.e4.ui.model.application.ui.basic.MTrimBar,WTrimBar<N>>
container
- the element containerchangedObj
- the element to hidepublic void handleChildrenAddition(org.eclipse.e4.ui.model.application.ui.basic.MTrimBar parent, java.util.Collection<org.eclipse.e4.ui.model.application.ui.basic.MTrimElement> elements)
EventProcessor.ChildrenHandler
handleChildrenAddition
in interface EventProcessor.ChildrenHandler<org.eclipse.e4.ui.model.application.ui.basic.MTrimBar,org.eclipse.e4.ui.model.application.ui.basic.MTrimElement>
parent
- the parentelements
- the child elementspublic void handleChildrenRemove(org.eclipse.e4.ui.model.application.ui.basic.MTrimBar parent, java.util.Collection<org.eclipse.e4.ui.model.application.ui.basic.MTrimElement> elements)
EventProcessor.ChildrenHandler
handleChildrenRemove
in interface EventProcessor.ChildrenHandler<org.eclipse.e4.ui.model.application.ui.basic.MTrimBar,org.eclipse.e4.ui.model.application.ui.basic.MTrimElement>
parent
- the parentelements
- the child elements