Package org.eclipse.team.ui.synchronize
Interface ISynchronizePage
-
public interface ISynchronizePageInterface forPagesubclasses that can appear in the synchronize viewISynchronizeViewand 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaboutToChangeProperty(ISynchronizePageConfiguration configuration, String key, Object newValue)Callback that is invoked from the synchronize configuration whenever a property's value is about to be changed.ViewergetViewer()Returns the viewer associated with this page ornullif the page doesn't have a viewer.voidinit(ISynchronizePageSite site)Initialize this page with workbench part that contains the page.
-
-
-
Method Detail
-
init
void init(ISynchronizePageSite site) throws PartInitException
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 ornullif the page doesn't have a viewer.- Returns:
- the viewer associated with this page or
nullif 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:
trueif the property change should continue to be fired to other listeners orfalseto veto the property change notification.
-
-