Class ContributedPartRenderer
java.lang.Object
org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer
org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer
org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer
Default SWT renderer responsible for an MPart. See
WorkbenchRendererFactory
-
Field Summary
Fields inherited from class org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer
context, modelService, OWNING_ME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateWidget
(MUIElement element, Object parent) void
disposeWidget
(MUIElement element) getUIContainer
(MUIElement element) void
void
postProcess
(MUIElement element) protected boolean
requiresFocus
(MPart element) Check if activatingelement
requires that the part set the focus.static void
setDescription
(MPart part, String description) Methods inherited from class org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer
bindWidget, calcIndex, calcVisibleIndex, childRendered, forceFocus, getImage, getImageFromURI, getModelElement, getParentWidget, getToolTip, imageChanged, init, processContents, reapplyStyles, setCSSInfo, styleElement, unbindWidget
Methods inherited from class org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer
activate, getContext, getContextForParent, getStyleOverride, hideChild, removeGui
-
Constructor Details
-
ContributedPartRenderer
public ContributedPartRenderer()
-
-
Method Details
-
createWidget
- Specified by:
createWidget
in classorg.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer
-
postProcess
- Overrides:
postProcess
in classorg.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer
-
setDescription
-
requiresFocus
Description copied from class:org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer
Check if activatingelement
requires that the part set the focus.- Overrides:
requiresFocus
in classSWTPartRenderer
- Returns:
- true if the part requires focus
-
hookControllerLogic
- Overrides:
hookControllerLogic
in classSWTPartRenderer
-
getUIContainer
- Overrides:
getUIContainer
in classorg.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer
-
disposeWidget
- Overrides:
disposeWidget
in classSWTPartRenderer
-