Package org.eclipse.equinox.p2.ui
Class InstalledSoftwarePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.ui.about.InstallationPage
org.eclipse.equinox.p2.ui.InstalledSoftwarePage
- All Implemented Interfaces:
ICopyable,IDialogPage,IMessageProvider
InstalledSoftwarePage displays a profile's IInstallableUnits 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuttonPressed(int buttonId) Notifies that this page's button with the given id has been pressed.voidcopyToClipboard(Control activeControl) Copy text related to the active control to the clipboard.voidcreateControl(Composite parent) Creates the top level control for this dialog page under the given parent composite.voidcreatePageButtons(Composite parent) Create the buttons that belong to this page using the specified parent.voidsetProvisioningUI(ProvisioningUI value) Set the provisioning UI to use with this pageMethods inherited from class org.eclipse.ui.about.InstallationPage
createButton, getPageContainer, setMessage, setMessage, setPageContainerMethods 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
-
InstalledSoftwarePage
public InstalledSoftwarePage()
-
-
Method Details
-
createControl
Description copied from interface:IDialogPageCreates 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:
createControlin interfaceIDialogPage- Parameters:
parent- the parent composite
-
createPageButtons
Description copied from class:InstallationPageCreate the buttons that belong to this page using the specified parent.- Overrides:
createPageButtonsin classInstallationPage- Parameters:
parent- the parent to use for the buttons.- See Also:
-
copyToClipboard
Description copied from interface:ICopyableCopy text related to the active control to the clipboard.- Specified by:
copyToClipboardin interfaceICopyable- Parameters:
activeControl- the active control
-
buttonPressed
protected void buttonPressed(int buttonId) Description copied from class:InstallationPageNotifies 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:
buttonPressedin classInstallationPage- Parameters:
buttonId- the id of the button that was pressed (seeIDialogConstants.*_IDconstants)
-
setProvisioningUI
Set the provisioning UI to use with this page- Parameters:
value- the provisioning ui to use- Since:
- 2.1
-