I
- the typeIC
- the type of the contentpublic static interface WPerspectiveStack.WStackItem<I,IC>
Modifier and Type | Method and Description |
---|---|
@Nullable org.eclipse.e4.ui.model.application.ui.advanced.MPerspective |
getDomElement() |
I |
getNativeItem() |
void |
setDomElement(@NonNull org.eclipse.e4.ui.model.application.ui.advanced.MPerspective domElement)
The application model element
|
void |
setInitCallback(@NonNull WCallback<WPerspectiveStack.WStackItem<I,IC>,IC> callback)
Callback invoked on first activation of the perspective
|
void |
setOnCloseCallback(@NonNull WCallback<WPerspectiveStack.WStackItem<I,IC>,java.lang.Boolean> callback)
Callback to invoke when the perspective is closed and to veto it
|
I getNativeItem()
void setDomElement(@NonNull org.eclipse.e4.ui.model.application.ui.advanced.MPerspective domElement)
domElement
- the model element@Nullable org.eclipse.e4.ui.model.application.ui.advanced.MPerspective getDomElement()
void setInitCallback(@NonNull WCallback<WPerspectiveStack.WStackItem<I,IC>,IC> callback)
callback
- the callback to invokevoid setOnCloseCallback(@NonNull WCallback<WPerspectiveStack.WStackItem<I,IC>,java.lang.Boolean> callback)
callback
- the callback to invoke