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.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)