public class ApiBaselineWizardPage extends WizardPage
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ApiBaselineWizardPage.ContentProvider
Content provider for the viewer
|
static class |
ApiBaselineWizardPage.EEEntry
an EE entry (child of an api component in the viewer)
|
(package private) class |
ApiBaselineWizardPage.ReloadOperation
Resets the baseline contents based on current settings and a location from which
to read plug-ins.
|
(package private) static class |
ApiBaselineWizardPage.WorkingCopyOperation
Operation that creates a new working copy for an
IApiProfile that is being edited |
ERROR, INFORMATION, NONE, WARNING| Modifier | Constructor and Description |
|---|---|
protected |
ApiBaselineWizardPage(IApiBaseline profile)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cleans up the working copy if the page is cancelled
|
boolean |
contentChanged() |
void |
createControl(Composite parent)
Creates the top level control for this dialog
page under the given parent composite.
|
protected void |
doReload()
Reloads all of the plugins from the location specified in the location text field.
|
IApiBaseline |
finish()
Creates or edits the profile and returns it
|
protected IApiComponent[] |
getCurrentComponents()
Returns the current API components in the baseline or an empty collection if none.
|
protected void |
initialize()
Initializes the controls of the page if the profile is not
null |
protected boolean |
pageValid() |
protected void |
updateButtons()
Updates the state of a variety of buttons on this page
|
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, setMessage, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisibleprotected ApiBaselineWizardPage(IApiBaseline profile)
profile - public void createControl(Composite parent)
IDialogPage
Implementors are responsible for ensuring that
the created control can be accessed via getControl
parent - the parent compositeprotected void initialize()
nullprotected void doReload()
protected boolean pageValid()
protected IApiComponent[] getCurrentComponents()
protected void updateButtons()
public IApiBaseline finish() throws IOException, CoreException
IApiProfile or null if an error was encountered
creating the new profileIOExceptionCoreExceptionpublic boolean contentChanged()
public void cancel()