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, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
public WizardNewLinkPage(String pageName, int type)
pageName
- the name of the pagetype
- specifies the type of resource to link to.
IResource.FILE
or IResource.FOLDER
public 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 field
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.