public class DefPartRenderer extends BasePartRenderer<javafx.scene.layout.Pane,javafx.scene.Node,javafx.scene.Node>
MPart
VIEW_MENU_TAG
ATTRIBUTE_localizedLabel, ATTRIBUTE_localizedTooltip, CALCULATED_VISIBILITY, CONTEXT_DOM_ELEMENT, CURRENT_VISIBLE_WHEN
Constructor and Description |
---|
DefPartRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
focus(org.eclipse.e4.ui.model.application.ui.MUIElement element)
Focus the given element
|
protected java.lang.Class<? extends WPart<javafx.scene.layout.Pane,javafx.scene.Node,javafx.scene.Node>> |
getWidgetClass(org.eclipse.e4.ui.model.application.ui.basic.MPart part)
Get the widgets class
|
protected boolean |
requiresFocus(WPart<javafx.scene.layout.Pane,javafx.scene.Node,javafx.scene.Node> widget)
Check if the activated part needs focus called
|
childRendered, doProcessContent, hideChild, initWidget
activate, bindWidget, checkVisibleWhen, createWidget, destroyWidget, engineCreateWidget, engineCreateWidget, getContextForParent, getLogger, getModelContext, getPresentationEngine, getRenderedIndex, getRenderingContext, getVisibleWhen, getWidget, inContentProcessing, inContextModification, initContext, initRenderingContext, inUIModification, isChildAndRenderedVisible, postProcess, preDestroy, processContent, registerEventListener, setupRenderingContext, syncUIModifications
protected java.lang.Class<? extends WPart<javafx.scene.layout.Pane,javafx.scene.Node,javafx.scene.Node>> getWidgetClass(org.eclipse.e4.ui.model.application.ui.basic.MPart part)
BaseRenderer
getWidgetClass
in class BaseRenderer<org.eclipse.e4.ui.model.application.ui.basic.MPart,WPart<javafx.scene.layout.Pane,javafx.scene.Node,javafx.scene.Node>>
part
- the widget classprotected boolean requiresFocus(WPart<javafx.scene.layout.Pane,javafx.scene.Node,javafx.scene.Node> widget)
BasePartRenderer
requiresFocus
in class BasePartRenderer<javafx.scene.layout.Pane,javafx.scene.Node,javafx.scene.Node>
widget
- the widgettrue
if activation should call Focus
public void focus(org.eclipse.e4.ui.model.application.ui.MUIElement element)
ElementRenderer
focus
in interface ElementRenderer<org.eclipse.e4.ui.model.application.ui.basic.MPart,WPart<javafx.scene.layout.Pane,javafx.scene.Node,javafx.scene.Node>>
focus
in class BaseRenderer<org.eclipse.e4.ui.model.application.ui.basic.MPart,WPart<javafx.scene.layout.Pane,javafx.scene.Node,javafx.scene.Node>>
element
- the element to focus