Package org.eclipse.team.ui.synchronize
Interface ISynchronizePage
public interface ISynchronizePage
Interface for
Page
subclasses that can appear in
the synchronize view ISynchronizeView
and other views, editors or
dialogs that display synchronization information. It is not a requirement
that pages that appear in the synchronize view implement this interface.- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
aboutToChangeProperty
(ISynchronizePageConfiguration configuration, String key, Object newValue) Callback that is invoked from the synchronize configuration whenever a property's value is about to be changed.Returns the viewer associated with this page ornull
if the page doesn't have a viewer.void
init
(ISynchronizePageSite site) Initialize this page with workbench part that contains the page.
-
Method Details
-
init
Initialize this page with workbench part that contains the page. This method will be called after thePage#init(IPageSite)
but beforePage#createControl(Composite)
- Parameters:
site
- the workbench part for the view containing the page- Throws:
PartInitException
- if an error occurs
-
getViewer
Viewer getViewer()Returns the viewer associated with this page ornull
if the page doesn't have a viewer.- Returns:
- the viewer associated with this page or
null
if the page doesn't have a viewer.
-
aboutToChangeProperty
boolean aboutToChangeProperty(ISynchronizePageConfiguration configuration, String key, Object newValue) Callback that is invoked from the synchronize configuration whenever a property's value is about to be changed. The page can react to the change before change events are fired or veto the change.- Parameters:
configuration
- the synchronize page configurationkey
- the property keynewValue
- new value for the key- Returns:
true
if the property change should continue to be fired to other listeners orfalse
to veto the property change notification.
-