|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A classpath container page allows the user to create a new or edit an existing classpatch container entry.
Clients should implement this interface and include the name of their
class in an extension contributed to the jdt.ui's classpath container page
extension point (named org.eclipse.jdt.ui.classpathContainerPage
).
Clients implementing this interface may subclass from
org.eclipse.jface.wizard.WizardPage
.
Method Summary | |
boolean |
finish()
Called when the classpath container wizard is closed by selecting the finish button. |
IClasspathEntry |
getSelection()
Returns the edited or created classpath container entry. |
void |
setSelection(IClasspathEntry containerEntry)
Sets the classpath container entry to be edited or null
if a new entry should be created. |
Methods inherited from interface org.eclipse.jface.wizard.IWizardPage |
canFlipToNextPage, getName, getNextPage, getPreviousPage, getWizard, isPageComplete, setPreviousPage, setWizard |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
Method Detail |
public boolean finish()
true
, the wizard will close.public IClasspathEntry getSelection()
null
if no classpath container entry exists.
The returned classpath entry is of kind IClasspathEntry.CPE_CONTAINER
.
public void setSelection(IClasspathEntry containerEntry)
null
if a new entry should be created.
containerEntry
- the classpath entry to edit or null
.
If unequals null
then the classpath entry must be of
kind IClasspathEntry.CPE_CONTAINER
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |