Uses of Interface
org.eclipse.e4.ui.model.application.ui.basic.MPart
Package
Description
Application programming interfaces describing the basic Eclipse 4 user interface model elements.
Application programming interfaces describing the Eclipse 4 model services.
-
Uses of MPart in org.eclipse.e4.ui.model.application.ui.basic
Modifier and TypeInterfaceDescriptioninterface
A representation of the model object 'Composite Part'.Modifier and TypeMethodDescriptionMBasicFactory.createPart()
Returns a new object of class 'Part'. -
Uses of MPart in org.eclipse.e4.ui.model.application.ui.basic.impl
Modifier and TypeClassDescriptionclass
An implementation of the model object 'Composite Part'.class
An implementation of the model object 'Part'. -
Uses of MPart in org.eclipse.e4.ui.model.application.ui.basic.util
-
Uses of MPart in org.eclipse.e4.ui.workbench.modeling
Modifier and TypeMethodDescriptionEModelService.createPart
(MPartDescriptor descriptor) Creates a new part from the given descriptor.EPartService.createPart
(String partDescriptorId) Creates a new part of the given id.Finds and returns a part with the given id.EPartService.getActivePart()
Returns the active part.EPartService.showPart
(String id, EPartService.PartState partState) Shows a part with the identified by the given id.EPartService.showPart
(MPart part, EPartService.PartState partState) Shows the given part.Modifier and TypeMethodDescriptionEPartService.getDirtyParts()
Returns a collection of all the dirty parts that are being managed by this service.EPartService.getParts()
Returns a collection of all the parts that are being managed by this part service.Modifier and TypeMethodDescriptionvoid
Activates the given part.void
Activates the given part.void
EPartService.bringToTop
(MPart part) Brings this part to the top so that it will become visible to the end user.void
Hides the given part.void
Hides the given part.boolean
EPartService.isPartVisible
(MPart part) Returns whether the specified part is currently visible to the end user.void
IPartListener.partActivated
(MPart part) void
IPartListener.partBroughtToTop
(MPart part) void
IPartListener.partDeactivated
(MPart part) void
IPartListener.partHidden
(MPart part) void
IPartListener.partVisible
(MPart part) ISaveHandler.promptToSave
(MPart dirtyPart) boolean
boolean
Saves the contents of the part if it is dirty and returns whether the operation completed.void
ISelectionListener.selectionChanged
(MPart part, Object selection) EPartService.showPart
(MPart part, EPartService.PartState partState) Shows the given part.Modifier and TypeMethodDescriptionISaveHandler.promptToSave
(Collection<MPart> dirtyParts) boolean
ISaveHandler.saveParts
(Collection<MPart> dirtyParts, boolean confirm) -
Uses of MPart in org.eclipse.e4.ui.workbench.renderers.swt
Modifier and TypeMethodDescriptionStackRenderer.findItemForPart
(MPart part) static MMenu
StackRenderer.getViewMenu
(MPart part) protected boolean
StackRenderer.isClosable
(MPart part) protected boolean
StackRenderer.isDetachable
(MPart part) protected void
StackRenderer.populateTabMenu
(Menu menu, MPart part) Populate the tab's context menu for the given part.protected boolean
ContributedPartRenderer.requiresFocus
(MPart element) protected boolean
StackRenderer.requiresFocus
(MPart element) protected boolean
SWTPartRenderer.requiresFocus
(MPart element) static void
ContributedPartRenderer.setDescription
(MPart part, String description) protected void
-
Uses of MPart in org.eclipse.ui.internal
Modifier and TypeMethodDescriptionWorkbenchPage.findPart
(IWorkbenchPart part) PartSite.getModel()
WorkbenchPartReference.getModel()
Modifier and TypeMethodDescriptionprotected void
CycleViewHandler.addExistingReference
(List<IWorkbenchPartReference> refs, MPart part) Adds theIWorkbenchPartReference
contained in part's transient data, if exists.void
IMenuServiceWorkaround.clearContributions
(PartSite site, MPart part) Disposes contributions created by service for given part.WorkbenchPage.createEditorReferenceForPart
(MPart part, IEditorInput input, String editorId, IMemento memento) void
WorkbenchPage.createViewReferenceForPart
(MPart part, String viewId) void
WorkbenchPage.firePartDeactivatedIfActive
(MPart part) FiresIPartListener2.partDeactivated(IWorkbenchPartReference)
if the passed part is the currently active part according to the part service.void
WorkbenchPage.firePartHidden
(MPart part) static E4PartWrapper
E4PartWrapper.getE4PartWrapper
(MPart part) WorkbenchPage.getEditorReference
(MPart part) WorkbenchPage.getViewReference
(MPart part) protected boolean
WorkbookEditorsHandler.isActiveEditor
(MPart model) True if the given model represents the active editorprotected boolean
WorkbookEditorsHandler.isHiddenEditor
(MPart model) True is the given model represents an hidden editorvoid
WorkbenchPage.updateShowInSources
(MPart part) ModifierConstructorDescriptionEditorReference
(IEclipseContext windowContext, IWorkbenchPage page, MPart part, IEditorInput input, org.eclipse.ui.internal.registry.EditorDescriptor descriptor, IMemento editorState) EditorSite
(MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element) Constructs an EditorSite for an editor.PartSite
(MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element) Build the part site.ViewReference
(IEclipseContext windowContext, IWorkbenchPage page, MPart part, org.eclipse.ui.internal.registry.ViewDescriptor descriptor) ViewSite
(MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element) WorkbenchPartReference
(IEclipseContext windowContext, IWorkbenchPage page, MPart part)