- All Implemented Interfaces:
Method SummaryModifier and TypeMethodDescription
voidDeprecated.Called whenever the content of the given source has changed.
protected ControlDeprecated.Create the page for this part and return the top level control for the page.
dispose()Deprecated.Disposes of this workbench part.
protected ICompareInputDeprecated.Return a compare input that represents the selection.
protected final ISelectionProviderDeprecated.Return the selection provider for the page.
getTitle()Deprecated.Returns the title of this workbench part.Deprecated.Returns the title image of this workbench part.
protected voidDeprecated.Prepare the compare input for display in a content viewer.
static booleanDeprecated.Show the history for the object in a dialog.
Methods inherited from class org.eclipse.team.ui.PageSaveablePart
createPartControl, doSave, getControl, getShell, isDirty, prepareCompareInput, setDirty, setNavigator, setPageDescription, setShowContentPanes
Methods inherited from class org.eclipse.team.ui.SaveablePartAdapter
addPropertyListener, doSaveAs, getAdapter, getSite, getTitleToolTip, isSaveAsAllowed, isSaveOnCloseNeeded, removePropertyListener, setFocus
(Shell shell, CompareConfiguration configuration, IHistoryPageSource pageSource, Object object)Deprecated.Create a history page part for the given page and object.
shell- the parent shell
configuration- the compare configuration
pageSource- the page source
object- the object whose history is to be displayed
showHistoryInDialogDeprecated.Show the history for the object in a dialog. The history will only be shown if an
IHistoryPageSourcecan be found for the object.
shell- the parent sell
object- the object
- whether the object had an
IHistoryPageSourceavailable or not
getTitlepublic String getTitle()Deprecated.Returns the title of this workbench part. If this value changes the part must fire a property listener event with
The title is used to populate the title bar of this part's visual container.
- the workbench part title (not
getTitleImagepublic Image getTitleImage()Deprecated.Returns the title image of this workbench part. If this value changes the part must fire a property listener event with
The title image is usually used to populate the title bar of this part's visual container. Since this image is managed by the part itself, callers must not dispose the returned image.
- the title image
contentChangedpublic void contentChanged
(IContentChangeNotifier source)Deprecated.Description copied from interface:
IContentChangeListenerCalled whenever the content of the given source has changed.
source- the source whose contents has changed
createPageDeprecated.Create the page for this part and return the top level control for the page.
getSelectionProviderprotected final ISelectionProvider getSelectionProvider()Deprecated.Return the selection provider for the page. This method is called after the page is created in order to register a selection listener on the page.
getCompareInputDeprecated.Return a compare input that represents the selection. This input is used to feed the structure and content viewers. By default, a compare input is returned if the selection is of size 1 and the selected element implements
ICompareInput. Subclasses may override.
prepareInputprotected void prepareInput
(ICompareInput input, CompareConfiguration configuration, IProgressMonitor monitor) throws InvocationTargetExceptionDeprecated.Prepare the compare input for display in a content viewer. This method is called from
PageSaveablePart.prepareCompareInput(ICompareInput)and may be called from a non-UI thread. This method should not be called by others.
disposepublic void dispose()Deprecated.Disposes of this workbench part.
This is the last method called on the
IWorkbenchPart. At this point the part controls (if they were ever created) have been disposed as part of an SWT composite. There is no guarantee that createPartControl() has been called, so the part controls may never have been created.
Within this method a part may release any resources, fonts, images, etc. held by this part. It is also very important to deregister all listeners from the workbench.
Clients should not call this method (the workbench calls this method at appropriate times).