Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.dialogs
Class WizardNewLinkPage

java.lang.Object
  extended by 

org.eclipse.jface.dialogs.DialogPage
      extended by 

org.eclipse.jface.wizard.WizardPage
          extended by 
org.eclipse.ui.dialogs.WizardNewLinkPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage

public class WizardNewLinkPage
extends WizardPage

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 Summary
 
Fields inherited from interface org.eclipse.jface.dialogs. IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
WizardNewLinkPage ( String pageName, int type)
          Creates a new resource link wizard page.
 
Method Summary
 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
 
Methods inherited from class org.eclipse.jface.wizard. WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs. DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, 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
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

WizardNewLinkPage

public WizardNewLinkPage(
String pageName,
                         int type)
Creates a new resource link wizard page.

Parameters:
pageName - the name of the page
type - specifies the type of resource to link to. IResource.FILE or IResource.FOLDER
Method Detail

createControl

public void createControl(
Composite parent)
Description copied from interface: IDialogPage
Creates 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

getLinkTarget

public 
String getLinkTarget()
Returns 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.

setContainer

public void setContainer(
IContainer container)
Sets 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.

setLinkTarget

public void setLinkTarget(
String target)
Sets the value of the link target field

Parameters:
target - the value of the link target field

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire