public class WizardNewLinkPage extends WizardPage
This class may be instantiated; it is not intended to be subclassed.
ERROR, INFORMATION, NONE, WARNING| Constructor and Description |
|---|
WizardNewLinkPage(String pageName,
int type)
Creates a new resource link wizard page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createControl(Composite parent)
Creates the top level control for this dialog
page under the given parent composite.
|
String |
getLinkTarget()
Returns the link target location entered by the user.
|
void |
setContainer(IContainer container)
Sets the container to use for link validation.
|
void |
setLinkTarget(String target)
Sets the value of the link target field
|
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, setVisiblepublic WizardNewLinkPage(String pageName, int type)
pageName - the name of the pagetype - specifies the type of resource to link to.
IResource.FILE or IResource.FOLDERpublic void createControl(Composite parent)
IDialogPage
Implementors are responsible for ensuring that
the created control can be accessed via getControl
parent - the parent compositepublic String getLinkTarget()
public void setContainer(IContainer container)
container - the container to use for link validation.public void setLinkTarget(String target)
target - the value of the link target fieldGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.