public class DefWindowRenderer extends BaseWindowRenderer<javafx.stage.Stage>
Modifier and Type | Class and Description |
---|---|
static class |
DefWindowRenderer.WWindowImpl
Default implementation of a window
|
KEY_FULL_SCREEN, TAG_SHELLMAXIMIZED
ATTRIBUTE_localizedLabel, ATTRIBUTE_localizedTooltip, CALCULATED_VISIBILITY, CONTEXT_DOM_ELEMENT, CURRENT_VISIBLE_WHEN
Constructor and Description |
---|
DefWindowRenderer() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<? extends WWindow<javafx.stage.Stage>> |
getWidgetClass(org.eclipse.e4.ui.model.application.ui.basic.MWindow window)
Get the widgets class
|
protected @NonNull java.util.List<org.eclipse.e4.ui.workbench.modeling.ISaveHandler.Save> |
promptToSave(@NonNull org.eclipse.e4.ui.model.application.ui.basic.MWindow element,
@NonNull java.util.Collection<org.eclipse.e4.ui.model.application.ui.basic.MPart> dirtyParts,
@NonNull WWindow<javafx.stage.Stage> widget)
Show a prompt to inform the user about dirty parts
|
protected org.eclipse.e4.ui.workbench.modeling.ISaveHandler.Save |
promptToSave(org.eclipse.e4.ui.model.application.ui.basic.MWindow element,
org.eclipse.e4.ui.model.application.ui.basic.MPart dirtyPart,
WWindow<javafx.stage.Stage> widget)
Show a prompt to inform the user that one part is dirty
|
childRendered, destroyWidget, doProcessContent, hideChild, initWidget, postProcess
activate, bindWidget, checkVisibleWhen, createWidget, engineCreateWidget, engineCreateWidget, focus, getContextForParent, getLogger, getModelContext, getPresentationEngine, getRenderedIndex, getRenderingContext, getVisibleWhen, getWidget, inContentProcessing, inContextModification, initContext, initRenderingContext, inUIModification, isChildAndRenderedVisible, preDestroy, processContent, registerEventListener, setupRenderingContext, syncUIModifications
protected @NonNull java.util.List<org.eclipse.e4.ui.workbench.modeling.ISaveHandler.Save> promptToSave(@NonNull org.eclipse.e4.ui.model.application.ui.basic.MWindow element, @NonNull java.util.Collection<org.eclipse.e4.ui.model.application.ui.basic.MPart> dirtyParts, @NonNull WWindow<javafx.stage.Stage> widget)
BaseWindowRenderer
promptToSave
in class BaseWindowRenderer<javafx.stage.Stage>
element
- the parentdirtyParts
- the dirty partswidget
- the window widget to use for parentingprotected org.eclipse.e4.ui.workbench.modeling.ISaveHandler.Save promptToSave(org.eclipse.e4.ui.model.application.ui.basic.MWindow element, org.eclipse.e4.ui.model.application.ui.basic.MPart dirtyPart, WWindow<javafx.stage.Stage> widget)
BaseWindowRenderer
promptToSave
in class BaseWindowRenderer<javafx.stage.Stage>
element
- the parentdirtyPart
- the dirty partwidget
- the window widget to use for parentingprotected java.lang.Class<? extends WWindow<javafx.stage.Stage>> getWidgetClass(org.eclipse.e4.ui.model.application.ui.basic.MWindow window)
BaseRenderer
getWidgetClass
in class BaseRenderer<org.eclipse.e4.ui.model.application.ui.basic.MWindow,WWindow<javafx.stage.Stage>>
window
- the widget class