Uses of Interface
org.eclipse.ui.IWorkbenchPart
Package
Description
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
Provides support for applying and working with patches.
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides a set of actions related to running and debugging applications.
Provides a set of interfaces and classes for debug context management.
Provides a user interface for debug platform source lookup facilities.
Classes and interface required to contribute search dialog pages and search result view pages.
Provides basic support for managing Team providers.
Application programming interfaces for working with history.
Contains the team synchronization presentation framework and support
for the Synchronize View.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
Application programming interfaces for interaction
with the Eclipse console.
Provides a standard text editor and concrete document providers based
IFileBuffer
and others directly handling IFile
and
IStorage
as editor input.Support for forms-based multi-page editors.
Provides support for integrating handlers into the Eclipse workbench.
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
Provides the Common Navigator framework.
Provides reusable components for clients that need to expand on the capabilities
provided by the reference Common Navigator Resources extension.
Classes that provide the basic workbench UI support for undo and redo of
operations.
Classes for the creation of workbench parts that integrate
with the Eclipse Platform User Interface.
Provides a framework for text editors obeying to the
desktop rules.
Application programming interfaces for interaction
with the Eclipse text editor template support.
Provides the standard Content Outline view which can
show the active editor's custom outline for the document being edited.
Utility classes for working with markers in views
Provides the standard Property Sheet view which displays
custom properties of the active workbench part's current selection.
Provides the Tabbed Properties framework.
-
Uses of IWorkbenchPart in org.eclipse.compare
Modifier and TypeMethodDescriptionCompareEditorInput.getWorkbenchPart()
ICompareContainer.getWorkbenchPart()
Return the workbench part associated with this container ornull
if there is no part or it is not available. -
Uses of IWorkbenchPart in org.eclipse.compare.internal
Modifier and TypeClassDescriptionclass
A CompareEditor takes a ICompareEditorInput as input.Modifier and TypeMethodDescriptionvoid
CompareAction.setActivePart
(IAction action, IWorkbenchPart targetPart) -
Uses of IWorkbenchPart in org.eclipse.compare.patch
ModifierConstructorDescriptionApplyPatchOperation
(IWorkbenchPart targetPart, IResource resource) Create an operation for the given part and resource.ApplyPatchOperation
(IWorkbenchPart part, IStorage patch, IResource target, CompareConfiguration configuration) Creates a new ApplyPatchOperation with the supplied compare configuration, patch and target. -
Uses of IWorkbenchPart in org.eclipse.debug.ui
Modifier and TypeClassDescriptionclass
Common function for views related to debugging.Modifier and TypeMethodDescriptionprotected PageBookView.PageRec
AbstractDebugView.doCreatePage
(IWorkbenchPart part) protected void
AbstractDebugView.doDestroyPage
(IWorkbenchPart part, PageBookView.PageRec pageRecord) static ISelection
DebugUITools.getDebugContextForPart
(IWorkbenchPart part) Returns the currently selected context in the given part or part's workbench window.protected boolean
AbstractDebugView.isImportant
(IWorkbenchPart part) -
Uses of IWorkbenchPart in org.eclipse.debug.ui.actions
Modifier and TypeMethodDescriptionvoid
IAddMemoryBlocksTarget.addMemoryBlocks
(IWorkbenchPart part, ISelection selection) Perform an add memory block on the given element that is currently selected in the Debug view.void
IAddMemoryRenderingsTarget.addMemoryRenderings
(IWorkbenchPart part, ISelection selection, IMemoryRenderingType[] renderingTypes) Adds memory renderings.boolean
IAddMemoryBlocksTarget.canAddMemoryBlocks
(IWorkbenchPart part, ISelection selection) Returns whether an add memory block operation can be performed from the specified part and the given selection.boolean
IAddMemoryRenderingsTarget.canAddMemoryRenderings
(IWorkbenchPart part, ISelection selection) Returns whether a memory rendering can be added from the specified part, based on the the given selection, which is the active debug context in the current workbench window.boolean
IRunToLineTarget.canRunToLine
(IWorkbenchPart part, ISelection selection, ISuspendResume target) Returns whether a run to line operation can be performed on the given element that is currently selected and suspended in the Debug view.boolean
IToggleBreakpointsTargetExtension.canToggleBreakpoints
(IWorkbenchPart part, ISelection selection) Returns whether line breakpoints can be toggled on the given selection.boolean
IToggleBreakpointsTargetExtension2.canToggleBreakpointsWithEvent
(IWorkbenchPart part, ISelection selection, Event event) Returns whether breakpoints can be toggled on the given selection with the givenEvent
.boolean
IToggleBreakpointsTarget.canToggleLineBreakpoints
(IWorkbenchPart part, ISelection selection) Returns whether line breakpoints can be toggled on the given selection.boolean
IToggleBreakpointsTarget.canToggleMethodBreakpoints
(IWorkbenchPart part, ISelection selection) Returns whether method breakpoints can be toggled on the given selection.boolean
IToggleBreakpointsTarget.canToggleWatchpoints
(IWorkbenchPart part, ISelection selection) Returns whether watchpoints can be toggled on the given selection.IToggleBreakpointsTargetFactory.getDefaultToggleTarget
(IWorkbenchPart part, ISelection selection) Returns the identifier of the default toggle breakpoints target to use for the given selection, ornull
if this factory has no preference.IToggleBreakpointsTargetManager.getEnabledToggleBreakpointsTargetIDs
(IWorkbenchPart part, ISelection selection) Returns the set ofString
IDs of toggle breakpoint targets, which are enabled for the given active part and selection.IAddMemoryRenderingsTarget.getMemoryRenderingTypes
(IWorkbenchPart part, ISelection selection) Returns a list of rendering types that can be added from the given workbench part and active debug context, possibly empty.IToggleBreakpointsTargetManager.getPreferredToggleBreakpointsTargetID
(IWorkbenchPart part, ISelection selection) Returns the ID of the calculated preferred toggle breakpoints target for the given active part and selection.IToggleBreakpointsTargetManager.getToggleBreakpointsTarget
(IWorkbenchPart part, ISelection selection) Given the ID of toggle breakpoint target, this method will try to find the factory that creates it and return an instance of it.IToggleBreakpointsTargetFactory.getToggleTargets
(IWorkbenchPart part, ISelection selection) Returns all possible types of toggle breakpoints targets that this factory can create for the given selection and part, possibly empty.void
DebugCommandAction.init
(IWorkbenchPart part) Initializes this action for a specific part.protected void
ToggleMethodBreakpointActionDelegate.performAction
(IToggleBreakpointsTarget target, IWorkbenchPart part, ISelection selection) protected void
ToggleWatchpointActionDelegate.performAction
(IToggleBreakpointsTarget target, IWorkbenchPart part, ISelection selection) void
IRunToLineTarget.runToLine
(IWorkbenchPart part, ISelection selection, ISuspendResume target) Perform a run to line operation on the given element that is currently selected and suspended in the Debug view.void
AddMemoryRenderingActionDelegate.setActivePart
(IAction action, IWorkbenchPart targetPart) void
ContextualLaunchAction.setActivePart
(IAction action, IWorkbenchPart targetPart) boolean
IAddMemoryBlocksTarget.supportsAddMemoryBlocks
(IWorkbenchPart part) Returns whether this target will support adding memory block from the specified part.void
IToggleBreakpointsTargetExtension.toggleBreakpoints
(IWorkbenchPart part, ISelection selection) Creates new line breakpoints or removes existing breakpoints.void
IToggleBreakpointsTargetExtension2.toggleBreakpointsWithEvent
(IWorkbenchPart part, ISelection selection, Event event) Creates or removes existing breakpoints based on any modifiers in the givenEvent
.void
IToggleBreakpointsTarget.toggleLineBreakpoints
(IWorkbenchPart part, ISelection selection) Creates new line breakpoints or removes existing breakpoints.void
IToggleBreakpointsTarget.toggleMethodBreakpoints
(IWorkbenchPart part, ISelection selection) Creates new method breakpoints or removes existing breakpoints.void
IToggleBreakpointsTarget.toggleWatchpoints
(IWorkbenchPart part, ISelection selection) Creates new watchpoints or removes existing breakpoints.ModifierConstructorDescriptionRunToLineAction
(IWorkbenchPart part, IDocument document, IVerticalRulerInfo rulerInfo) Constructs a new action to toggle a breakpoint in the given part containing the given document and ruler.ToggleBreakpointAction
(IWorkbenchPart part, IDocument document, IVerticalRulerInfo rulerInfo) Constructs a new action to toggle a breakpoint in the given part containing the given document and ruler. -
Uses of IWorkbenchPart in org.eclipse.debug.ui.contexts
Modifier and TypeMethodDescriptionAbstractDebugContextProvider.getPart()
IDebugContextProvider.getPart()
Returns the part associated with this context provider ornull
if none.ModifierConstructorDescriptionConstructs a context provider for the specified part, possiblynull
. -
Uses of IWorkbenchPart in org.eclipse.debug.ui.sourcelookup
Modifier and TypeClassDescriptionclass
Default editor displayed when source is not found. -
Uses of IWorkbenchPart in org.eclipse.search.ui
Modifier and TypeInterfaceDescriptioninterface
Interface for the search result view. -
Uses of IWorkbenchPart in org.eclipse.team.ui
Modifier and TypeClassDescriptionclass
Deprecated.Clients should use a subclass ofCompareEditorInput
andCompareUI.openCompareDialog(org.eclipse.compare.CompareEditorInput)
class
Deprecated.Clients should use a subclass ofCompareEditorInput
andCompareUI.openCompareDialog(org.eclipse.compare.CompareEditorInput)
Modifier and TypeMethodDescriptionTeamOperation.getPart()
Return the part that is associated with this operation.ModifierConstructorDescriptionprotected
TeamOperation
(IWorkbenchPart part) Create an team operation associated with the given part.protected
TeamOperation
(IWorkbenchPart part, IRunnableContext context) Create an team operation associated with the given part that will run in the given context. -
Uses of IWorkbenchPart in org.eclipse.team.ui.history
Modifier and TypeClassDescriptionclass
Deprecated.Modifier and TypeMethodDescriptionIHistoryPageSite.getPart()
Return the workbench part for the page ornull
if a workbench part is not available (e.g. if the page is being shown in a dialog). -
Uses of IWorkbenchPart in org.eclipse.team.ui.synchronize
Modifier and TypeInterfaceDescriptioninterface
A view that displays synchronization participants that are registered with the synchronize manager.Modifier and TypeClassDescriptionclass
Deprecated.Clients should use a subclass ofPageCompareEditorInput
andCompareUI.openCompareDialog(org.eclipse.compare.CompareEditorInput)
Modifier and TypeMethodDescriptionISynchronizePageSite.getPart()
Return the workbench part for the page ornull
if a workbench part is not available (e.g. if the page is being shown in a dialog).Modifier and TypeMethodDescriptionvoid
ISynchronizeParticipant.run
(IWorkbenchPart part) Runs the participants action.void
ModelSynchronizeParticipant.run
(IWorkbenchPart part) void
SubscriberParticipant.run
(IWorkbenchPart part) ModifierConstructorDescriptionprotected
ModelMergeOperation
(IWorkbenchPart part, ISynchronizationScopeManager manager) Create a model merge operation.protected
ModelOperation
(IWorkbenchPart part, ISynchronizationScopeManager manager) Create a model operation that operates on the given scope.protected
Create a merge participant operation for the scope of the given manager. -
Uses of IWorkbenchPart in org.eclipse.ui
Modifier and TypeInterfaceDescriptioninterface
An editor is a visual component within a workbench page.interface
Interface for editor parts that represent an in-place style editor.interface
Interface for reusable editors.interface
A view is a visual component within a workbench page.interface
ExtendsIWorkbenchPart
, adding the name and status text properties.interface
A part can provide arbitrary properties.Modifier and TypeMethodDescriptionIPartService.getActivePart()
Returns the active part.SelectionListenerFactory.ISelectionModel.getCurrentSelectionPart()
SelectionListenerFactory.ISelectionModel.getLastDeliveredSelectionPart()
IWorkbenchPartReference.getPart
(boolean restore) Returns the IWorkbenchPart referenced by this object.IWorkbenchPartSite.getPart()
Returns the part associated with this siteSelectionListenerFactory.ISelectionModel.getTargetPart()
Modifier and TypeMethodDescriptionvoid
IWorkbenchPage.activate
(IWorkbenchPart part) Activates the given part.void
IWorkbenchPage.bringToTop
(IWorkbenchPart part) Moves the given part forward in the Z order of this page so as to make it visible, without changing which part has focus.static ISelectionListener
SelectionListenerFactory.createListener
(IWorkbenchPart part, Predicate<SelectionListenerFactory.ISelectionModel> predicate) Create a listener for a part that also acts as the selection listener.static ISelectionListener
SelectionListenerFactory.createListener
(IWorkbenchPart part, ISelectionListener listener, Predicate<SelectionListenerFactory.ISelectionModel> predicate) Create a listener for a part with a separate selection listener.static ISelectionListener
SelectionListenerFactory.createVisibleListener
(IWorkbenchPart part, ISelectionListener listener) Convenience method to create a listener that only gets notified when: the selection has changed; the part is visible.static ISelectionListener
SelectionListenerFactory.createVisibleListener
(IWorkbenchPart part, ISelectionListener listener, Predicate<SelectionListenerFactory.ISelectionModel> additionalPredicate) Convenience method to create a listener that only gets notified when: the selection has changed; the part is visible.static ISelectionListener
SelectionListenerFactory.createVisibleSelfMutedListener
(IWorkbenchPart part, ISelectionListener listener) Provides a listener that only gets notified of selection events when: the selection was not already delivered from any part; the part is visible; the selection does not originate from the part.static ISelectionListener
SelectionListenerFactory.createVisibleSelfMutedListener
(IWorkbenchPart part, ISelectionListener listener, Predicate<SelectionListenerFactory.ISelectionModel> additionalPredicate) Provides a listener that only gets notified of selection events when: the selection has changed; the part is visible; the selection does not originate from the part.void
Saveable.disableUI
(IWorkbenchPart[] parts, boolean closing) Disables the UI of the given parts containing this saveable if necessary.void
Saveable.enableUI
(IWorkbenchPart[] parts) Enables the UI of the given parts containing this saveable after a background save operation has finished.IWorkbenchPage.getReference
(IWorkbenchPart part) Find the part reference for the given part.boolean
IWorkbenchPage.isPartVisible
(IWorkbenchPart part) Returns whether the specified part is visible.void
IPartListener.partActivated
(IWorkbenchPart part) Notifies this listener that the given part has been activated.void
IPartListener.partBroughtToTop
(IWorkbenchPart part) Notifies this listener that the given part has been brought to the top.void
SubActionBars.partChanged
(IWorkbenchPart part) Notification that the target part for the action bars has changed.void
IPartListener.partClosed
(IWorkbenchPart part) Notifies this listener that the given part has been closed.void
IPartListener.partDeactivated
(IWorkbenchPart part) Notifies this listener that the given part has been deactivated.void
IPartListener.partOpened
(IWorkbenchPart part) Notifies this listener that the given part has been opened.boolean
ISaveableFilter.select
(Saveable saveable, IWorkbenchPart[] containingParts) Indicate whether the given saveable matches this filter.void
ISelectionListener.selectionChanged
(IWorkbenchPart part, ISelection selection) Notifies this listener that the selection has changed.void
IObjectActionDelegate.setActivePart
(IAction action, IWorkbenchPart targetPart) Sets the active part for the delegate. -
Uses of IWorkbenchPart in org.eclipse.ui.actions
Modifier and TypeMethodDescriptionPartEventAction.getActivePart()
Returns the currently active part in the workbench.Modifier and TypeMethodDescriptionvoid
PartEventAction.partActivated
(IWorkbenchPart part) ThePartEventAction
implementation of thisIPartListener
method records that the given part is active.void
RetargetAction.partActivated
(IWorkbenchPart part) A workbench part has been activated.void
PartEventAction.partBroughtToTop
(IWorkbenchPart part) ThePartEventAction
implementation of thisIPartListener
method does nothing.void
PartEventAction.partClosed
(IWorkbenchPart part) ThePartEventAction
implementation of thisIPartListener
method clears the active part if it just closed.void
RetargetAction.partClosed
(IWorkbenchPart part) A workbench part has been closed.void
PartEventAction.partDeactivated
(IWorkbenchPart part) ThePartEventAction
implementation of thisIPartListener
method records that there is no active part.void
RetargetAction.partDeactivated
(IWorkbenchPart part) A workbench part has been deactivated.void
PartEventAction.partOpened
(IWorkbenchPart part) ThePartEventAction
implementation of thisIPartListener
method does nothing. -
Uses of IWorkbenchPart in org.eclipse.ui.console
Modifier and TypeInterfaceDescriptioninterface
A view that displays consoles registered with the console manager. -
Uses of IWorkbenchPart in org.eclipse.ui.editors.text
-
Uses of IWorkbenchPart in org.eclipse.ui.forms.editor
Modifier and TypeInterfaceDescriptioninterface
Interface that all GUI pages need to implement in order to be added to FormEditor part.Modifier and TypeClassDescriptionclass
This class forms a base of multi-page form editors that typically use one or more pages with forms and one page for raw source of the editor input.class
A base class that all pages that should be added to FormEditor must subclass.class
A variation ofFormEditor
, this editor has a stable header that does not change when pages are switched. -
Uses of IWorkbenchPart in org.eclipse.ui.handlers
Modifier and TypeMethodDescriptionstatic IWorkbenchPart
HandlerUtil.getActivePart
(ExecutionEvent event) Return the active part.static IWorkbenchPart
HandlerUtil.getActivePartChecked
(ExecutionEvent event) Return the active part. -
Uses of IWorkbenchPart in org.eclipse.ui.ide
Modifier and TypeMethodDescriptionboolean
ResourceSaveableFilter.select
(Saveable saveable, IWorkbenchPart[] containingParts) -
Uses of IWorkbenchPart in org.eclipse.ui.internal
Modifier and TypeClassDescriptionclass
class
This part is shown instead the editors with errors.class
This part is shown instead the views with errors.final class
Simple view that will wrap anIIntroPart
.Modifier and TypeMethodDescriptionEditorReference.createErrorPart
(IStatus status) ViewReference.createErrorPart
(IStatus status) abstract IWorkbenchPart
WorkbenchPartReference.createErrorPart
(IStatus status) EditorReference.createPart()
ViewReference.createPart()
abstract IWorkbenchPart
WorkbenchPartReference.createPart()
static IWorkbenchPart
InternalHandlerUtil.getActivePart
(Object appContext) Return the active part.PartService.getActivePart()
SlavePartService.getActivePart()
WorkbenchPage.getActivePart()
WorkbenchPage.getDirtyWorkbenchParts()
PartSite.getPart()
Returns the part.final IWorkbenchPart
WorkbenchPartReference.getPart
(boolean restore) SaveablesList.getPartsForSaveable
(Saveable model) protected IWorkbenchPart
ShowInMenu.getSourcePart()
Returns the source part, ornull
if there is no applicable source partModifier and TypeMethodDescriptionvoid
WorkbenchPage.activate
(IWorkbenchPart part) Activates a part.void
WorkbenchPage.bringToTop
(IWorkbenchPart part) Moves a part forward in the Z order of a perspective so it is visible.boolean
IObjectActionContributor.contributeObjectActions
(IWorkbenchPart part, IMenuManager menu, ISelectionProvider selProv, List actionIdOverrides) Implement this method to add actions that deal with the currently selected object or objects.boolean
ObjectActionContributor.contributeObjectActions
(IWorkbenchPart part, IMenuManager menu, ISelectionProvider selProv, List actionIdOverrides) Contributes actions applicable for the current selection.boolean
ObjectActionContributorManager.contributeObjectActions
(IWorkbenchPart part, IMenuManager popupMenu, ISelectionProvider selProv, Set<IObjectActionContributor> alreadyContributed) Contributes submenus and/or actions applicable to the selection in the provided viewer into the provided popup menu.void
SaveablesList.dirtyChanged
(IWorkbenchPart part) WorkbenchPage.findPart
(IWorkbenchPart part) protected ShowInContext
ShowInMenu.getContext
(IWorkbenchPart sourcePart) Returns theShowInContext
to show in the selected target, ornull
if there is no valid context to show.WorkbenchPage.getReference
(IWorkbenchPart part) Returns the reference to the given part, ornull
if it has no reference (i.e. it is not a top-level part in this workbench page).protected String
CycleEditorHandler.getTableHeader
(IWorkbenchPart activePart) protected String
CyclePerspectiveHandler.getTableHeader
(IWorkbenchPart activePart) protected String
CycleViewHandler.getTableHeader
(IWorkbenchPart activePart) protected String
FilteredTableBaseHandler.getTableHeader
(IWorkbenchPart activePart) Get TableHeader, return title for non-filtered lists.void
EditorReference.initialize
(IWorkbenchPart part) void
ViewReference.initialize
(IWorkbenchPart part) abstract void
WorkbenchPartReference.initialize
(IWorkbenchPart part) static boolean
SaveableHelper.isDirtyStateSupported
(IWorkbenchPart part) boolean
WorkbenchPage.isPartVisible
(IWorkbenchPart part) See IWorkbenchPage.final boolean
PopupMenuExtender.matches
(MenuManager menuManager, ISelectionProvider selectionProvider, IWorkbenchPart part) Determines whether this extender would be the same as another extender created with the given values.void
FilteredTableBaseHandler.openDialog
(WorkbenchPage page, IWorkbenchPart activePart) void
PartService.partActivated
(IWorkbenchPart part) void
PartService.partBroughtToTop
(IWorkbenchPart part) void
EditorActionBars.partChanged
(IWorkbenchPart part) Sets the target part for the action bars.void
CloseAllSavedAction.partClosed
(IWorkbenchPart part) void
PartService.partClosed
(IWorkbenchPart part) void
PartService.partDeactivated
(IWorkbenchPart part) void
CloseAllSavedAction.partOpened
(IWorkbenchPart part) void
PartService.partOpened
(IWorkbenchPart part) void
SaveablesList.postOpen
(IWorkbenchPart part) boolean
ViewerActionBuilder.readViewerContributions
(String id, ISelectionProvider prov, IWorkbenchPart part) Reads the contributions for a viewer menu.static final void
PartSite.registerContextMenu
(String menuId, MenuManager menuManager, ISelectionProvider selectionProvider, boolean includeEditorInput, IWorkbenchPart part, IEclipseContext context, Collection<PopupMenuExtender> menuExtenders) This is a helper method for the register context menu functionality.protected void
PartPluginAction.registerSelectionListener
(IWorkbenchPart aPart) Registers this action as a listener of the workbench part.static boolean
SaveableHelper.savePart
(ISaveablePart saveable, IWorkbenchPart part, IWorkbenchWindow window, boolean confirm) Saves the workbench part.boolean
WorkbenchPage.saveSaveable
(ISaveablePart saveable, IWorkbenchPart part, boolean confirm, boolean closing) Saves the contents of the provided saveable and returns whether the operation succeeded or not.void
PartSelectionListener.selectionChanged
(IWorkbenchPart part, ISelection selection) void
PluginAction.selectionChanged
(IWorkbenchPart part, ISelection sel) TheSelectionChangedEventAction
implementation of thisISelectionListener
method callsselectionChanged(IStructuredSelection)
when the selection is a structured one.void
ObjectPluginAction.setActivePart
(IWorkbenchPart targetPart) Sets the active part for the delegate.protected void
FilteredTableBaseHandler.setDialogLocation
(Shell dialog, IWorkbenchPart activePart) Sets the dialog's location on the screen.void
PartSite.setPart
(IWorkbenchPart newPart) Sets the part.protected void
PartPluginAction.unregisterSelectionListener
(IWorkbenchPart aPart) Unregisters this action as a listener of the workbench part.Modifier and TypeMethodDescriptionSaveablesList.getSaveables
(List<IWorkbenchPart> parts) SaveablesList.preCloseParts
(List<IWorkbenchPart> partsToClose, boolean addNonPartSources, boolean save, IShellProvider shellProvider, IWorkbenchWindow window) SaveablesList.preCloseParts
(List<IWorkbenchPart> partsToClose, boolean addNonPartSources, boolean save, IWorkbenchWindow window, Map<Saveable, ISaveHandler.Save> saveOptions) SaveablesList.preCloseParts
(List<IWorkbenchPart> partsToClose, boolean save, IShellProvider shellProvider, IWorkbenchWindow window) SaveablesList.preCloseParts
(List<IWorkbenchPart> partsToClose, boolean save, IWorkbenchWindow window) static boolean
WorkbenchPage.saveAll
(List<IWorkbenchPart> dirtyParts, boolean confirm, boolean closing, boolean addNonPartSources, IRunnableContext runnableContext, IWorkbenchWindow workbenchWindow) ModifierConstructorDescriptionCreates a new DefaultSaveable.EditorSite
(MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element) Constructs an EditorSite for an editor.PartSelectionListener
(IWorkbenchPart part, ISelectionListener callbackListener, Predicate<SelectionListenerFactory.ISelectionModel> predicate) Constructs the intermediate selection listener to filter selections before they are passed on the the callback listener.PartSite
(MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element) Build the part site.PopupMenuExtender
(String id, MenuManager menu, ISelectionProvider prov, IWorkbenchPart part, IEclipseContext context) Construct a new menu extender.PopupMenuExtender
(String id, MenuManager menu, ISelectionProvider prov, IWorkbenchPart part, IEclipseContext context, boolean includeEditorInput) Construct a new menu extender.ViewSite
(MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element) -
Uses of IWorkbenchPart in org.eclipse.ui.internal.views.markers
Modifier and TypeClassDescriptionclass
org.eclipse.ui.internal.views.markers.ExtendedMarkersView
The ExtendedMarkersView is the internal implementation of the view that shows markers using the markerGenerators extension point. -
Uses of IWorkbenchPart in org.eclipse.ui.operations
ModifierConstructorDescriptionLinearUndoViolationUserApprover
(IUndoContext context, IWorkbenchPart part) Create a LinearUndoViolationUserApprover associated with the specified workbench part. -
Uses of IWorkbenchPart in org.eclipse.ui.part
Modifier and TypeClassDescriptionclass
A AbstractMultiEditor is a composite of editors.class
Abstract base implementation of all workbench editors.class
A MultiEditor is a composite of editors.class
A multi-page editor is an editor with multiple pages, each of which may contain an editor or an arbitrary SWT control.class
Abstract superclass of all multi-page workbench views.class
Abstract base implementation of all workbench views.class
Abstract base implementation of all workbench parts.Modifier and TypeMethodDescriptionprotected abstract IWorkbenchPart
PageBookView.getBootstrapPart()
Returns the active, important workbench part for this view.IContributedContentsView.getContributingPart()
Returns the workbench part which contributed the current contents of this view.protected IWorkbenchPart
PageBookView.getCurrentContributingPart()
Returns the part which contributed the current page to this view.MultiPageEditorSite.getPart()
Modifier and TypeMethodDescriptionprotected abstract PageBookView.PageRec
PageBookView.doCreatePage
(IWorkbenchPart part) Creates a new page in the pagebook for a particular part.protected abstract void
PageBookView.doDestroyPage
(IWorkbenchPart part, PageBookView.PageRec pageRecord) Destroys a page in the pagebook for a particular part.protected PageBookView.PageRec
PageBookView.getPageRec
(IWorkbenchPart part) Returns the page record for the given part.protected abstract boolean
PageBookView.isImportant
(IWorkbenchPart part) Returns whether the given part should be added to this view.void
PageBookView.partActivated
(IWorkbenchPart part) ThePageBookView
implementation of thisIPartListener
method shows the page when the given part is activated.void
PageBookView.partBroughtToTop
(IWorkbenchPart part) ThePageBookView
implementation of thisIPartListener
method does nothing.void
PageBookView.partClosed
(IWorkbenchPart part) ThePageBookView
implementation of thisIPartListener
method deal with the closing of the active part.void
PageBookView.partDeactivated
(IWorkbenchPart part) ThePageBookView
implementation of thisIPartListener
method does nothing.protected void
PageBookView.partHidden
(IWorkbenchPart part) Make sure that the part is not considered if it is hidden.void
PageBookView.partOpened
(IWorkbenchPart part) protected void
PageBookView.partVisible
(IWorkbenchPart part) Make sure that the part is not considered if it is hidden.ModifierConstructorDescriptionPageRec
(IWorkbenchPart part, IPage page) Creates a new page record initialized to the given part and page.PageSwitcher
(IWorkbenchPart part) Register the handlers for page switching with this view or editor. -
Uses of IWorkbenchPart in org.eclipse.ui.texteditor
Modifier and TypeClassDescriptionclass
An intermediate editor comprising functionality not present in the leanerAbstractTextEditor
, but used in many heavy weight (and especially source editing) editors, such as line numbers, change ruler, overview ruler, print margins, current line highlighting, etc.class
Abstract base implementation of a text editor.class
Capable of handling input elements that have an associated status with them.ModifierConstructorDescriptionFindNextAction
(ResourceBundle bundle, String prefix, IWorkbenchPart workbenchPart, boolean forward) Creates a new find/replace action for the given workbench part.FindReplaceAction
(ResourceBundle bundle, String prefix, IWorkbenchPart workbenchPart) Creates a new find/replace action for the given workbench part.IncrementalFindAction
(ResourceBundle bundle, String prefix, IWorkbenchPart workbenchPart, boolean forward) Creates a new incremental find action for the given workbench part. -
Uses of IWorkbenchPart in org.eclipse.ui.texteditor.templates
Modifier and TypeClassDescriptionfinal class
The Templates view.hostsITemplatesPage
s that shows the templates for the currently active editor part.Modifier and TypeMethodDescriptionprotected PageBookView.PageRec
TemplatesView.doCreatePage
(IWorkbenchPart part) protected void
TemplatesView.doDestroyPage
(IWorkbenchPart part, PageBookView.PageRec rec) protected boolean
TemplatesView.isImportant
(IWorkbenchPart part) void
TemplatesView.partBroughtToTop
(IWorkbenchPart part) -
Uses of IWorkbenchPart in org.eclipse.ui.views.contentoutline
Modifier and TypeMethodDescriptionprotected PageBookView.PageRec
ContentOutline.doCreatePage
(IWorkbenchPart part) protected void
ContentOutline.doDestroyPage
(IWorkbenchPart part, PageBookView.PageRec rec) protected boolean
ContentOutline.isImportant
(IWorkbenchPart part) void
ContentOutline.partBroughtToTop
(IWorkbenchPart part) -
Uses of IWorkbenchPart in org.eclipse.ui.views.markers
Modifier and TypeClassDescriptionclass
The MarkerSupportView is a view that supports the extensions in the markerSupport extension point. -
Uses of IWorkbenchPart in org.eclipse.ui.views.properties
Modifier and TypeMethodDescriptionprotected IWorkbenchPart
PropertySheet.getBootstrapPart()
PropertyShowInContext.getPart()
Modifier and TypeMethodDescriptionprotected PageBookView.PageRec
PropertySheet.doCreatePage
(IWorkbenchPart part) protected void
PropertySheet.doDestroyPage
(IWorkbenchPart part, PageBookView.PageRec rec) protected boolean
PropertySheet.isImportant
(IWorkbenchPart part) void
PropertySheet.partActivated
(IWorkbenchPart part) ThePropertySheet
implementation of thisIPartListener
method first sees if the active part is anIContributedContentsView
adapter and if so, asks it for its contributing part.void
PropertySheet.partClosed
(IWorkbenchPart part) protected void
PropertySheet.partHidden
(IWorkbenchPart part) protected void
PropertySheet.partVisible
(IWorkbenchPart part) void
PropertySheet.selectionChanged
(IWorkbenchPart part, ISelection sel) void
PropertySheetPage.selectionChanged
(IWorkbenchPart part, ISelection selection) void
PropertyShowInContext.setPart
(IWorkbenchPart part) ModifierConstructorDescriptionPropertyShowInContext
(IWorkbenchPart aPart, ISelection selection) PropertyShowInContext
(IWorkbenchPart aPart, ShowInContext aShowInContext) -
Uses of IWorkbenchPart in org.eclipse.ui.views.properties.tabbed
Modifier and TypeMethodDescriptionboolean
AbstractSectionDescriptor.appliesTo
(IWorkbenchPart part, ISelection selection) boolean
ISectionDescriptor.appliesTo
(IWorkbenchPart part, ISelection selection) Determines if this section applies to the selection.ITabDescriptorProvider.getTabDescriptors
(IWorkbenchPart part, ISelection selection) Returns all tab descriptors.protected void
TabbedPropertySheetPage.handlePartActivated
(IWorkbenchPart part) Handle the part activated event.void
TabbedPropertySheetPage.selectionChanged
(IWorkbenchPart part, ISelection selection) void
AbstractPropertySection.setInput
(IWorkbenchPart part, ISelection selection) void
AdvancedPropertySection.setInput
(IWorkbenchPart part, ISelection selection) void
ISection.setInput
(IWorkbenchPart part, ISelection selection) Notifies the section that the workbench selection has changed.void
TabContents.setInput
(IWorkbenchPart part, ISelection selection) Sets page's sections input objects.
CompareEditorInput
andCompareUI.openCompareDialog(org.eclipse.compare.CompareEditorInput)