public abstract class WizardPageProvider extends WizardPage implements IExecutableExtension
com.ibm.rational.test.lt.testeditor.WizardPageProvider extension point.ERROR, INFORMATION, NONE, WARNING| Constructor and Description |
|---|
WizardPageProvider()
Default constructor, called by extension point loader.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
createControl(Composite arg0)
Create UI widgets for protocol options.
|
void |
dispose() |
String |
getFeatureDescription()
Returns the name of the feature.
|
String |
getFeatureID()
Returns feature ID defined by
wizardPageForFeature attribute. |
IWizardPage |
getNextPage()
Returns next contributed page (for multiple protocols) or summary page, if this is last contributed protocol page.
|
String |
getSummaryText()
Returns text summarizing the outcome of the initialization that this contributor provides.
|
boolean |
isPageComplete()
Returns
true if page is not active, or super.isPageComplete() otherwise. |
boolean |
isRequired()
Returns the value of
required attribute. |
void |
setActive(boolean b)
Sets
active flag. |
void |
setInitializationData(IConfigurationElement config,
String propertyName,
Object data)
Extracts extension information from
IConfigurationElement. |
protected void |
testCreated(LTTest testSuite)
This method is called for each active wizardPageContributor after the test has been created, so protocol-specific initialization can be made.
|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisiblepublic WizardPageProvider()
public abstract void createControl(Composite arg0)
createControl in interface IDialogPageIDialogPage.createControl(org.eclipse.swt.widgets.Composite)public void setInitializationData(IConfigurationElement config, String propertyName, Object data) throws CoreException
IConfigurationElement.setInitializationData in interface IExecutableExtensionCoreExceptioncom.ibm.rational.test.lt.testeditor.wizardPageContributor extension point defines new attribute,
wizardPageForFeature that defines feature ID. This attribute is added as a child element to wizardPage element.
The wizardPage element itself is marked as deprecated, so that existing extensions would know to update it accordingly.
IExecutableExtension.setInitializationData(org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Object)protected void testCreated(LTTest testSuite)
testSuite - LTTestpublic void dispose()
dispose in interface IDialogPagedispose in class DialogPagepublic String getSummaryText()
null. Can be an empty string if there is no summary.public final String getFeatureID()
wizardPageForFeature attribute.public String getFeatureDescription()
FeatureManager. Subclasses may override.com.ibm.rational.test.lt.licensing.feature extension point.Feature,
FeatureManagerpublic final boolean isRequired()
required attribute. The required is used to decide if the Finish button can be enabled
right at the SelectFeaturePage, in other words, whether this WizardPageProvider is complete by default.public IWizardPage getNextPage()
getNextPage in interface IWizardPagegetNextPage in class WizardPagepublic void setActive(boolean b)
active flag. When page is active, it will be displayed in the wizard. Page becomes active
when the feature it represents is selected in the SelectFeaturePage. If active is false,
then page state is set to complete, to allow for Finish button enablement.active. - #isPageComplete()}public boolean isPageComplete()
true if page is not active, or super.isPageComplete() otherwise. This ensures that
the page returns true if it is not needed for current selection of features.isPageComplete in interface IWizardPageisPageComplete in class WizardPageWizardPageProvider.setActive(boolean)© Copyright IBM Corp. 2013. All rights reserved.