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 TypeMethodDescriptionvoidAdds a listener for selection changes in this selection provider.voidcreateControl(Composite parent) Creates the SWT control for this page under the given parent control.voiddispose()ThePageimplementation of thisIPagemethod disposes of this page's control (if it has one and it has not already been disposed).ThePageimplementation of thisIPagemethod returnsnull.Returns the current selection for this provider.voidNotification that a property has changed.voidRemoves the given selection change listener from this selection provider.voidreset()voidsetFocus()ThePageimplementation of thisIPagemethod does nothing.voidsetSelection(ISelection selection) Sets the current selection for this selection provider.Methods inherited from class org.eclipse.ui.part.Page
getSite, init, makeContributions, setActionBarsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.ui.part.IPage
setActionBars
-
Method Details
-
createControl
Description copied from interface:IPageCreates 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:
createControlin interfaceIPage- Specified by:
createControlin classPage- Parameters:
parent- the parent control
-
getControl
Description copied from class:PageThePageimplementation of thisIPagemethod returnsnull. Subclasses must reimplement.- Specified by:
getControlin interfaceIPage- Specified by:
getControlin classPage- Returns:
- the SWT control for this page, or
nullif this page does not have a control
-
setFocus
public void setFocus()Description copied from class:PageThePageimplementation of thisIPagemethod does nothing. Subclasses must implement. -
addSelectionChangedListener
Description copied from interface:ISelectionProviderAdds a listener for selection changes in this selection provider. Has no effect if an identical listener is already registered.- Specified by:
addSelectionChangedListenerin interfaceISelectionProvider- Parameters:
listener- a selection changed listener
-
getSelection
Description copied from interface:ISelectionProviderReturns the current selection for this provider.- Specified by:
getSelectionin interfaceISelectionProvider- Returns:
- the current selection
-
removeSelectionChangedListener
Description copied from interface:ISelectionProviderRemoves the given selection change listener from this selection provider. Has no effect if an identical listener is not registered.- Specified by:
removeSelectionChangedListenerin interfaceISelectionProvider- Parameters:
listener- a selection changed listener
-
setSelection
Description copied from interface:ISelectionProviderSets the current selection for this selection provider.- Specified by:
setSelectionin interfaceISelectionProvider- Parameters:
selection- the new selection
-
getCreator
-
propertyChange
Description copied from interface:IPropertyChangeListenerNotification that a property has changed.This method gets called when the observed object fires a property change event.
- Specified by:
propertyChangein interfaceIPropertyChangeListener- Parameters:
event- the property change event object describing which property changed and how
-
dispose
public void dispose()Description copied from class:PageThePageimplementation of thisIPagemethod disposes of this page's control (if it has one and it has not already been disposed). Subclasses may extend. -
reset
public void reset()
-