|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.equinox.p2.ui.AcceptLicensesWizardPage
public class AcceptLicensesWizardPage
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.
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
AcceptLicensesWizardPage(LicenseManager manager,
IInstallableUnit[] ius,
ProfileChangeOperation operation)
Create a license acceptance page for showing licenses to the user. |
Method Summary | |
---|---|
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 |
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. |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible |
Constructor Detail |
---|
public 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 profileMethod Detail |
---|
public 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()
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.