N
- the native widget typepublic abstract class BasePlaceholderRenderer<N> extends BaseRenderer<org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder,WPlaceholderWidget>
MPlaceholder
ATTRIBUTE_localizedLabel, ATTRIBUTE_localizedTooltip, CALCULATED_VISIBILITY, CONTEXT_DOM_ELEMENT, CURRENT_VISIBLE_WHEN
Constructor and Description |
---|
BasePlaceholderRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
childRendered(org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder parentElement,
org.eclipse.e4.ui.model.application.ui.MUIElement element)
Inform the that a direct child of the parentElement has been rendered
|
void |
destroyWidget(org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder element)
Destroy the widget associated with the element
|
protected void |
doProcessContent(org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder element)
Process the content of an element
|
void |
hideChild(org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder 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.advanced.MPlaceholder element,
WPlaceholderWidget widget)
Initialize the widget
|
activate, bindWidget, checkVisibleWhen, createWidget, engineCreateWidget, engineCreateWidget, focus, getContextForParent, getLogger, getModelContext, getPresentationEngine, getRenderedIndex, getRenderingContext, getVisibleWhen, getWidget, getWidgetClass, inContentProcessing, inContextModification, initContext, initRenderingContext, inUIModification, isChildAndRenderedVisible, postProcess, preDestroy, processContent, registerEventListener, setupRenderingContext, syncUIModifications
protected void initWidget(org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder element, WPlaceholderWidget widget)
BaseRenderer
initWidget
in class BaseRenderer<org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder,WPlaceholderWidget>
element
- the model elementwidget
- the widgetpublic void destroyWidget(org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder element)
ElementRenderer
destroyWidget
in interface ElementRenderer<org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder,WPlaceholderWidget>
destroyWidget
in class BaseRenderer<org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder,WPlaceholderWidget>
element
- the elementprotected void doProcessContent(org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder element)
BaseRenderer
doProcessContent
in class BaseRenderer<org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder,WPlaceholderWidget>
element
- the elementpublic void childRendered(org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder parentElement, org.eclipse.e4.ui.model.application.ui.MUIElement element)
ElementRenderer
parentElement
- the parentelement
- the child renderedpublic void hideChild(org.eclipse.e4.ui.model.application.ui.advanced.MPlaceholder container, org.eclipse.e4.ui.model.application.ui.MUIElement changedObj)
ElementRenderer
container
- the element containerchangedObj
- the element to hide