Package org.eclipse.equinox.p2.ui
Class RevertProfilePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.ui.about.InstallationPage
org.eclipse.equinox.p2.ui.RevertProfilePage
- All Implemented Interfaces:
ICopyable
,IDialogPage
,IMessageProvider
RevertProfilePage displays a profile's configuration history in an
Installation Page. Clients can use this class as the implementation class for
an installationPages extension.
- Since:
- 2.0
- See Also:
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
buttonPressed
(int buttonId) Notifies that this page's button with the given id has been pressed.void
copyToClipboard
(Control activeControl) Copy text related to the active control to the clipboard.void
createControl
(Composite parent) Creates the top level control for this dialog page under the given parent composite.void
createPageButtons
(Composite parent) Create the buttons that belong to this page using the specified parent.protected IStructuredSelection
protected void
handleSelectionChanged
(IStructuredSelection selection) void
setProvisioningUI
(ProvisioningUI value) Set the provisioning UI to use with this pageMethods inherited from class org.eclipse.ui.about.InstallationPage
createButton, getPageContainer, setMessage, setMessage, setPageContainer
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setDescription, setErrorMessage, setImageDescriptor, setTitle, setVisible
-
Constructor Details
-
RevertProfilePage
public RevertProfilePage()
-
-
Method Details
-
createPageButtons
Description copied from class:InstallationPage
Create the buttons that belong to this page using the specified parent.- Overrides:
createPageButtons
in classInstallationPage
- Parameters:
parent
- the parent to use for the buttons.- See Also:
-
createControl
Description copied from interface:IDialogPage
Creates the top level control for this dialog page under the given parent composite.Implementors are responsible for ensuring that the created control can be accessed via
getControl
- Specified by:
createControl
in interfaceIDialogPage
- Parameters:
parent
- the parent composite
-
buttonPressed
protected void buttonPressed(int buttonId) Description copied from class:InstallationPage
Notifies that this page's button with the given id has been pressed. Subclasses should extend this method to handle the buttons created inInstallationPage.createButton(Composite, int, String)
- Overrides:
buttonPressed
in classInstallationPage
- Parameters:
buttonId
- the id of the button that was pressed (seeIDialogConstants.*_ID
constants)
-
handleSelectionChanged
-
copyToClipboard
Description copied from interface:ICopyable
Copy text related to the active control to the clipboard.- Specified by:
copyToClipboard
in interfaceICopyable
- Parameters:
activeControl
- the active control
-
getSelection
-
setProvisioningUI
Set the provisioning UI to use with this page- Parameters:
value
- the provisioning ui to use- Since:
- 2.1
-