Package org.eclipse.compare.internal
Class CompareOutlinePage
java.lang.Object
org.eclipse.ui.part.Page
org.eclipse.compare.internal.CompareOutlinePage
- All Implemented Interfaces:
EventListener
,IPropertyChangeListener
,ISelectionProvider
,IPage
,IPageBookViewPage
,IContentOutlinePage
public class CompareOutlinePage
extends Page
implements IContentOutlinePage, IPropertyChangeListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a listener for selection changes in this selection provider.void
createControl
(Composite parent) Creates the SWT control for this page under the given parent control.void
dispose()
ThePage
implementation of thisIPage
method disposes of this page's control (if it has one and it has not already been disposed).ThePage
implementation of thisIPage
method returnsnull
.Returns the current selection for this provider.void
Notification that a property has changed.void
Removes the given selection change listener from this selection provider.void
reset()
void
setFocus()
ThePage
implementation of thisIPage
method does nothing.void
setSelection
(ISelection selection) Sets the current selection for this selection provider.Methods inherited from class org.eclipse.ui.part.Page
getSite, init, makeContributions, setActionBars
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.ui.part.IPage
setActionBars
-
Method Details
-
createControl
Description copied from interface:IPage
Creates the SWT control for this page under the given parent control.Clients should not call this method (the workbench calls this method when it needs to, which may be never).
- Specified by:
createControl
in interfaceIPage
- Specified by:
createControl
in classPage
- Parameters:
parent
- the parent control
-
getControl
Description copied from class:Page
ThePage
implementation of thisIPage
method returnsnull
. Subclasses must reimplement.- Specified by:
getControl
in interfaceIPage
- Specified by:
getControl
in classPage
- Returns:
- the SWT control for this page, or
null
if this page does not have a control
-
setFocus
public void setFocus()Description copied from class:Page
ThePage
implementation of thisIPage
method does nothing. Subclasses must implement. -
addSelectionChangedListener
Description copied from interface:ISelectionProvider
Adds a listener for selection changes in this selection provider. Has no effect if an identical listener is already registered.- Specified by:
addSelectionChangedListener
in interfaceISelectionProvider
- Parameters:
listener
- a selection changed listener
-
getSelection
Description copied from interface:ISelectionProvider
Returns the current selection for this provider.- Specified by:
getSelection
in interfaceISelectionProvider
- Returns:
- the current selection
-
removeSelectionChangedListener
Description copied from interface:ISelectionProvider
Removes the given selection change listener from this selection provider. Has no effect if an identical listener is not registered.- Specified by:
removeSelectionChangedListener
in interfaceISelectionProvider
- Parameters:
listener
- a selection changed listener
-
setSelection
Description copied from interface:ISelectionProvider
Sets the current selection for this selection provider.- Specified by:
setSelection
in interfaceISelectionProvider
- Parameters:
selection
- the new selection
-
getCreator
-
propertyChange
Description copied from interface:IPropertyChangeListener
Notification that a property has changed.This method gets called when the observed object fires a property change event.
- Specified by:
propertyChange
in interfaceIPropertyChangeListener
- Parameters:
event
- the property change event object describing which property changed and how
-
dispose
public void dispose()Description copied from class:Page
ThePage
implementation of thisIPage
method disposes of this page's control (if it has one and it has not already been disposed). Subclasses may extend. -
reset
public void reset()
-