Package | Description |
---|---|
org.eclipse.e4.ui.model.application.ui.basic |
Application programming interfaces describing the basic Eclipse 4 user interface model elements.
|
org.eclipse.e4.ui.workbench.modeling |
Application programming interfaces describing the Eclipse 4 model services.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MCompositePart
A representation of the model object 'Composite Part'
|
interface |
MInputPart
Deprecated.
Use Part instead.
|
Modifier and Type | Method and Description |
---|---|
MPart |
MBasicFactory.createPart()
Returns a new object of class 'Part'
|
Modifier and Type | Method and Description |
---|---|
MPart |
EPartService.createPart(String id)
Creates a new part of the given id.
|
MPart |
EPartService.findPart(String id)
Finds and returns a part with the given id.
|
MPart |
EPartService.getActivePart()
Returns the active part.
|
MPart |
EPartService.showPart(MPart part,
EPartService.PartState partState)
Shows the given part.
|
MPart |
EPartService.showPart(String id,
EPartService.PartState partState)
Shows a part with the identified by the given id.
|
Modifier and Type | Method and Description |
---|---|
Collection<MPart> |
EPartService.getDirtyParts()
Returns a collection of all the dirty parts that are being managed by this service.
|
Collection<MPart> |
EPartService.getParts()
Returns a collection of all the parts that are being managed by this part service.
|
Modifier and Type | Method and Description |
---|---|
void |
EPartService.activate(MPart part)
Activates the given part.
|
void |
EPartService.activate(MPart part,
boolean requiresFocus)
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 |
EPartService.hidePart(MPart part)
Hides the given part.
|
void |
EPartService.hidePart(MPart part,
boolean force)
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.Save |
ISaveHandler.promptToSave(MPart dirtyPart) |
boolean |
ISaveHandler.save(MPart dirtyPart,
boolean confirm) |
boolean |
EPartService.savePart(MPart part,
boolean confirm)
Saves the contents of the part if it is dirty and returns whether the operation completed.
|
void |
ISelectionListener.selectionChanged(MPart part,
Object selection) |
MPart |
EPartService.showPart(MPart part,
EPartService.PartState partState)
Shows the given part.
|
Modifier and Type | Method and Description |
---|---|
ISaveHandler.Save[] |
ISaveHandler.promptToSave(Collection<MPart> dirtyParts) |
boolean |
ISaveHandler.saveParts(Collection<MPart> dirtyParts,
boolean confirm) |
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.