Package org.eclipse.ui.dialogs
Class WizardNewLinkPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.ui.dialogs.WizardNewLinkPage
- All Implemented Interfaces:
- IDialogPage,- IMessageProvider,- IWizardPage
Standard resource link page for a wizard that creates a file or folder
 resource.
 
This class may be instantiated; it is not intended to be subclassed.
- Since:
- 2.1
- Restriction:
- This class is not intended to be subclassed by clients.
- 
Field SummaryFields inherited from interface org.eclipse.jface.dialogs.IMessageProviderERROR, INFORMATION, NONE, WARNING
- 
Constructor SummaryConstructorsConstructorDescriptionWizardNewLinkPage(String pageName, int type) Creates a new resource link wizard page.
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreateControl(Composite parent) Creates the top level control for this dialog page under the given parent composite.Returns the link target location entered by the user.voidsetContainer(IContainer container) Sets the container to use for link validation.voidsetLinkTarget(String target) Sets the value of the link target fieldMethods inherited from class org.eclipse.jface.wizard.WizardPagecanFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringMethods inherited from class org.eclipse.jface.dialogs.DialogPageconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPagedispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisibleMethods inherited from interface org.eclipse.jface.wizard.IWizardPagegetMinimumPageSize
- 
Constructor Details- 
WizardNewLinkPageCreates a new resource link wizard page.- Parameters:
- pageName- the name of the page
- type- specifies the type of resource to link to.- IResource.FILEor- IResource.FOLDER
 
 
- 
- 
Method Details- 
createControlDescription copied from interface:IDialogPageCreates the top level control for this dialog page under the given parent composite.Implementors are responsible for ensuring that the created control can be accessed via getControl- Parameters:
- parent- the parent composite
 
- 
getLinkTargetReturns the link target location entered by the user.- Returns:
- the link target location entered by the user. null if the user choose not to create a link.
 
- 
setContainerSets the container to use for link validation. This should be the parent of the new resource that is being linked.- Parameters:
- container- the container to use for link validation.
 
- 
setLinkTargetSets the value of the link target field- Parameters:
- target- the value of the link target field
 
 
-