Uses of Interface
Application programming interfaces describing the Eclipse 4 application model elements.
Application programming interfaces describing the Eclipse 4 fragment model elements.
Application programming interfaces describing Eclipse 4 handlers and the workbench.
Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.
Uses of MApplication in org.eclipse.e4.ui.model.application
Uses of MApplication in org.eclipse.e4.ui.model.fragment
Uses of MApplication in org.eclipse.e4.ui.workbench
Uses of MApplication in org.eclipse.uiModifier and TypeMethodDescriptionPlatformUI.
getApplication()This methods allows code of eclipse.ui to gracefully migrate to E4 as it has the following properties: It does not throw an exception but returns an empty optional if something is not ready (yet or anymore) so code can choose how to handle this (e.g. use
Optional.orElseThrow()if required or
Optional.orElse(Object)if a fallback exits. If this is is actually a (ui) Workbench running, this is returned and could be used If not the service registry is searched for an org.eclipse.e4.ui.workbench.IWorkbench so code can run inside a pure E4 (e.g.