Class AcceptLicensesWizardPage

  • All Implemented Interfaces:
    IDialogPage, IMessageProvider, IWizardPage

    public class AcceptLicensesWizardPage
    extends WizardPage
    AcceptLicensesWizardPage shows a list of the IU's that have licenses that have not been approved by the user, and allows the user to approve them.
    This class is not intended to be subclassed by clients.
    • Constructor Detail

      • AcceptLicensesWizardPage

        public AcceptLicensesWizardPage​(LicenseManager manager,
                                        IInstallableUnit[] ius,
                                        ProfileChangeOperation operation)
        Create a license acceptance page for showing licenses to the user.
        manager - the license manager that should be used to check for already accepted licenses. May be null.
        ius - the IInstallableUnits for which licenses should be checked
        operation - the provisioning operation describing what changes are to take place on the profile
    • Method Detail

      • createControl

        public void createControl​(Composite parent)
        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

        parent - the parent composite
      • performFinish

        public boolean performFinish()
        The wizard is finishing. Perform any necessary processing.
        true if the finish can proceed, false if it should not.
      • hasLicensesToAccept

        public boolean hasLicensesToAccept()
        Return a boolean indicating whether there are licenses that must be accepted by the user.
        true if there are licenses that must be accepted, and false if there are no licenses that must be accepted.
      • update

        public void update​(IInstallableUnit[] theIUs,
                           ProfileChangeOperation operation)
        Update the page for the specified IInstallableUnits and operation.
        theIUs - the IInstallableUnits for which licenses should be checked
        operation - the operation describing the pending profile change
      • saveBoundsRelatedSettings

        public void saveBoundsRelatedSettings()
        Save any settings related to the current size and location of the wizard page.
      • setVisible

        public void setVisible​(boolean visible)
        Description copied from class: DialogPage
        The DialogPage implementation of this IDialogPage method sets the control to the given visibility state. Subclasses may extend.
        Specified by:
        setVisible in interface IDialogPage
        setVisible in class DialogPage
        visible - true to make this page visible, and false to hide it