Package org.eclipse.jdt.ui.wizards
Class JavadocExportWizardPage
java.lang.Object
org.eclipse.jdt.ui.wizards.JavadocExportWizardPage
A Javadoc export wizard page allows the user to add an additional page to the
Javadoc wizard.
Clients should extend this class and include the name of their
class in an extension contributed to the jdt.ui's Javadoc export wizard page
extension point (named org.eclipse.jdt.ui.javadocExportWizardPage
).
- Since:
- 3.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe page container. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.eclipse.swt.widgets.ControlcreateContents(org.eclipse.swt.widgets.Composite parent) Creates the content of this page under the given parent composite.voiddispose()Disposes any resources allocated by this dialog page.protected final JavadocExportWizardPage.IJavadocExportWizardPageContainerGets the parent wizard containerfinal org.eclipse.core.runtime.IStatusReturns the status of the page.voidNotifies that help has been requested for this dialog page.final voidSets the parent wizard container.protected final voidsetStatus(org.eclipse.core.runtime.IStatus status) Sets the page status.voidsetVisible(boolean visible) Called when the page becomes visible or becomes hidden.voidupdateAntScript(Element xmlDocument) Called when the Javadoc ANT script is generated.voidupdateArguments(List<String> vmOptions, List<String> toolOptions) Called when the command line arguments are collected.
-
Constructor Details
-
JavadocExportWizardPage
public JavadocExportWizardPage()
-
-
Method Details
-
createContents
public abstract org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent) Creates the content of this page under the given parent composite.- Parameters:
parent- the parent composite- Returns:
- return the created content
-
getStatus
public final org.eclipse.core.runtime.IStatus getStatus()Returns the status of the page. The page is considered valid ('Ok' and 'Next' enabled) when the severity of the status isIStatus.OKorIStatus.WARNING. The page is invalid when the severity isIStatus.ERROR.- Returns:
- the page status
- See Also:
-
setStatus
protected final void setStatus(org.eclipse.core.runtime.IStatus status) Sets the page status. The page status severity must be one ofIStatus.OKIStatus.WARNINGorIStatus.ERROR.- Parameters:
status- the new status
-
setContainer
Sets the parent wizard container. The Javadoc wizard will set the container beforesetVisible(boolean)orcreateContents(Composite)is called.- Parameters:
container- the parent container
-
getContainer
Gets the parent wizard container- Returns:
- the parent wizard container
-
updateArguments
Called when the command line arguments are collected. Clients can add or modify arguments.- Parameters:
vmOptions- AListofStringwith the VM arguments.toolOptions- AListofStringwith the Javadoc tool arguments. See the Javadoc command specification for the format of the arguments.
-
updateAntScript
Called when the Javadoc ANT script is generated.- Parameters:
xmlDocument- The XML element for the 'javadoc' node. Clients can add or modify arguments. See the Javadoc ANT task specification for the format of the arguments.
-
dispose
public void dispose()Disposes any resources allocated by this dialog page. -
performHelp
public void performHelp()Notifies that help has been requested for this dialog page. -
setVisible
public void setVisible(boolean visible) Called when the page becomes visible or becomes hidden.- Parameters:
visible-truewhen the page becomes visible, andfalsewhen the page is hidden
-