Package org.eclipse.team.ui.synchronize
Class ParticipantPagePane
java.lang.Object
org.eclipse.team.ui.synchronize.ParticipantPagePane
Stand alone presentation of a participant page within a view pane. This
allows showing a participant page with it's toolbar in dialogs and embedded
in views and editors.
- Since:
- 3.1
-
Constructor Summary
ConstructorDescriptionParticipantPagePane
(Shell shell, boolean isModal, ISynchronizePageConfiguration pageConfiguration, ISynchronizeParticipant participant) Creates a part for the provided participant. -
Method Summary
Modifier and TypeMethodDescriptioncreatePartControl
(Composite parent) void
dispose()
Return the synchronize page configuration for this partReturn the Synchronize participant for this partgetTitle()
-
Constructor Details
-
ParticipantPagePane
public ParticipantPagePane(Shell shell, boolean isModal, ISynchronizePageConfiguration pageConfiguration, ISynchronizeParticipant participant) Creates a part for the provided participant. The page configuration is used when creating the participant page and the resulting compare/merge panes will be configured with the provided compare configuration.For example, clients can decide if the user can edit the compare panes by calling
CompareConfiguration.setLeftEditable(boolean)
orCompareConfiguration.setRightEditable(boolean)
.- Parameters:
shell
- the parent shell for this partisModal
- to set the pane as modal or notpageConfiguration
- the configuration that will be provided to the participant prior to creating the pageparticipant
- the participant whose page will be displayed in this part
-
-
Method Details
-
dispose
public void dispose() -
getTitleImage
-
getTitle
-
createPartControl
-
getPageConfiguration
Return the synchronize page configuration for this part- Returns:
- Returns the pageConfiguration.
-
getParticipant
Return the Synchronize participant for this part- Returns:
- Returns the participant.
-