|
IBM Rational Performance Tester SDK | ||||||||||
| 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
com.ibm.rational.test.lt.testeditor.wizard.WizardPageProvider
public abstract class WizardPageProvider
This class is used in com.ibm.rational.test.lt.testeditor.WizardPageProvider extension point.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
WizardPageProvider()
Default constructor, called by extension point loader. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
|---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
|---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, 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 |
|---|
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible |
| Constructor Detail |
|---|
public WizardPageProvider()
| Method Detail |
|---|
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)
|
IBM Rational Performance Tester SDK | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||