|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectWizardPage
org.eclipse.wst.jsdt.ui.wizards.NewElementWizardPage
org.eclipse.wst.jsdt.ui.wizards.BaseLibraryWizardPage
public class BaseLibraryWizardPage
Wizard page for adding base library support to the project. Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Constructor Summary | |
|---|---|
BaseLibraryWizardPage()
|
|
| Method Summary | |
|---|---|
void |
createControl(Composite parent)
|
boolean |
finish()
Called when the includepath container wizard is closed by selecting the finish button. |
IIncludePathEntry[] |
getNewContainers()
Method IJsGlobalScopeContainerPageExtension2.getNewContainers() is called instead of IJsGlobalScopeContainerPage.getSelection()
to get the newly added containers. |
IIncludePathEntry |
getSelection()
Returns the edited or created includepath container entry. |
void |
initialize(IJavaScriptProject project,
IIncludePathEntry[] currentEntries)
Method initialize() is called before IJsGlobalScopeContainerPage.setSelection
to give additional information about the context the classpath container entry is configured in. |
void |
setSelection(IIncludePathEntry containerEntry)
Sets the includepath container entry to be edited or null
if a new entry should be created. |
| Methods inherited from class org.eclipse.wst.jsdt.ui.wizards.NewElementWizardPage |
|---|
setVisible, updateStatus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseLibraryWizardPage()
| Method Detail |
|---|
public boolean finish()
IJsGlobalScopeContainerPage
finish in interface IJsGlobalScopeContainerPagetrue, the wizard will close.public IIncludePathEntry getSelection()
IJsGlobalScopeContainerPagenull if no includepath container entry exists.
The returned includepath entry is of kind IIncludePathEntry.CPE_CONTAINER
.
getSelection in interface IJsGlobalScopeContainerPagepublic void setSelection(IIncludePathEntry containerEntry)
IJsGlobalScopeContainerPagenull
if a new entry should be created.
setSelection in interface IJsGlobalScopeContainerPagecontainerEntry - the includepath entry to edit or null.
If not null then the includepath entry must be of
kind IIncludePathEntry.CPE_CONTAINERpublic void createControl(Composite parent)
public void initialize(IJavaScriptProject project,
IIncludePathEntry[] currentEntries)
IJsGlobalScopeContainerPageExtensioninitialize() is called before IJsGlobalScopeContainerPage.setSelection
to give additional information about the context the classpath container entry is configured in. This information
only reflects the underlying dialogs current selection state. The user still can make changes after the
the classpath container pages has been closed or decide to cancel the operation.
initialize in interface IJsGlobalScopeContainerPageExtensionproject - The project the new or modified entry is added to. The project does not have to exist.
Project can be null.currentEntries - The class path entries currently selected to be set as the projects classpath. This can also
include the entry to be edited.public IIncludePathEntry[] getNewContainers()
IJsGlobalScopeContainerPageExtension2IJsGlobalScopeContainerPageExtension2.getNewContainers() is called instead of IJsGlobalScopeContainerPage.getSelection()
to get the newly added containers. IJsGlobalScopeContainerPage.getSelection() is still used
to get the edited elements.
getNewContainers in interface IJsGlobalScopeContainerPageExtension2IIncludePathEntry.CPE_CONTAINER
|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||