public class AcceptLicensesWizardPage extends WizardPage
ERROR, INFORMATION, NONE, WARNING| Constructor and Description |
|---|
AcceptLicensesWizardPage(LicenseManager manager,
IInstallableUnit[] ius,
ProfileChangeOperation operation)
Create a license acceptance page for showing licenses to the user.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createControl(Composite parent)
Creates the top level control for this dialog
page under the given parent composite.
|
boolean |
hasLicensesToAccept()
Return a boolean indicating whether there are licenses that must be accepted
by the user.
|
boolean |
performFinish()
The wizard is finishing.
|
void |
saveBoundsRelatedSettings()
Save any settings related to the current size and location of the wizard page.
|
void |
setVisible(boolean visible)
The
DialogPage implementation of this
IDialogPage method sets the control to the given
visibility state. |
void |
update(IInstallableUnit[] theIUs,
ProfileChangeOperation operation)
Update the page for the specified IInstallableUnits and operation.
|
void |
updateForPlan(IInstallableUnit[] theIUs,
IProvisioningPlan plan)
Update the current page to show the licenses that must be approved for the
selected IUs and the provisioning plan.
|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelppublic AcceptLicensesWizardPage(LicenseManager manager, IInstallableUnit[] ius, ProfileChangeOperation operation)
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 checkedoperation - the provisioning operation describing what changes are to take place on the profilepublic void createControl(Composite parent)
IDialogPage
Implementors are responsible for ensuring that
the created control can be accessed via getControl
parent - the parent compositepublic boolean performFinish()
true if the finish can proceed,
false if it should not.public boolean hasLicensesToAccept()
true if there are licenses that must be accepted, and
false if there are no licenses that must be accepted.public void updateForPlan(IInstallableUnit[] theIUs, IProvisioningPlan plan)
ProfileChangeOperation should
instead use update(IInstallableUnit[], ProfileChangeOperation). This
method is intended for clients who are working with a low-level provisioning plan
rather than an InstallOperation or UpdateOperation.theIUs - the installable units to be installed for which licenses must be checkedplan - the provisioning plan that describes a resolved install operationupdate(IInstallableUnit[], ProfileChangeOperation)public void update(IInstallableUnit[] theIUs, ProfileChangeOperation operation)
theIUs - the IInstallableUnits for which licenses should be checkedoperation - the operation describing the pending profile changepublic void saveBoundsRelatedSettings()
public void setVisible(boolean visible)
DialogPageDialogPage implementation of this
IDialogPage method sets the control to the given
visibility state. Subclasses may extend.setVisible in interface IDialogPagesetVisible in class DialogPagevisible - true to make this page visible,
and false to hide it
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.