Package | Description |
---|---|
org.eclipse.wst.jsdt.core | |
org.eclipse.wst.jsdt.launching | |
org.eclipse.wst.jsdt.libraries | |
org.eclipse.wst.jsdt.ui | |
org.eclipse.wst.jsdt.ui.wizards |
Modifier and Type | Method and Description |
---|---|
IIncludePathEntry |
IJavaScriptProject.decodeIncludepathEntry(java.lang.String encodedEntry)
Decodes the includepath entry that has been encoded in the given string
in the context of this project.
|
IIncludePathEntry[] |
LibrarySuperType.getClasspathEntries() |
IIncludePathEntry[] |
JsGlobalScopeContainerInitializer.getIncludepathEntries() |
IIncludePathEntry[] |
IJsGlobalScopeContainer.getIncludepathEntries()
Answers the set of includepath entries this container is mapping to.
|
IIncludePathEntry[] |
JSDScopeUtil.getIncludepathEntries(IJsGlobalScopeContainer container) |
IIncludePathEntry[] |
IJavaScriptProject.getRawIncludepath()
Returns the raw includepath for the project, as a list of includepath
entries.
|
IIncludePathEntry |
IPackageFragmentRoot.getRawIncludepathEntry()
Returns the first raw includepath entry that corresponds to this package
fragment root.
|
IIncludePathEntry[] |
IJavaScriptProject.getResolvedIncludepath(boolean ignoreUnresolvedEntry)
This is a helper method returning the resolved includepath for the project
as a list of simple (non-variable, non-container) includepath entries.
|
IIncludePathEntry |
IPackageFragmentRoot.getResolvedIncludepathEntry() |
static IIncludePathEntry |
JavaScriptCore.getResolvedIncludepathEntry(IIncludePathEntry entry)
This is a helper method, which returns the resolved includepath entry denoted
by a given entry (if it is a variable entry).
|
static IIncludePathEntry |
JavaScriptCore.newContainerEntry(IPath containerPath)
Creates and returns a new includepath entry of kind
CPE_CONTAINER
for the given path. |
static IIncludePathEntry |
JavaScriptCore.newContainerEntry(IPath containerPath,
boolean isExported)
Creates and returns a new includepath entry of kind
CPE_CONTAINER
for the given path. |
static IIncludePathEntry |
JavaScriptCore.newContainerEntry(IPath containerPath,
IAccessRule[] accessRules,
IIncludePathAttribute[] extraAttributes,
boolean isExported)
Creates and returns a new includepath entry of kind
CPE_CONTAINER
for the given path. |
static IIncludePathEntry |
JavaScriptCore.newLibraryEntry(IPath path,
IPath sourceAttachmentPath,
IPath sourceAttachmentRootPath)
Creates and returns a new non-exported includepath entry of kind
CPE_LIBRARY for the
JAR or folder identified by the given absolute path. |
static IIncludePathEntry |
JavaScriptCore.newLibraryEntry(IPath path,
IPath sourceAttachmentPath,
IPath sourceAttachmentRootPath,
boolean isExported)
Creates and returns a new includepath entry of kind
CPE_LIBRARY for the JAR or folder
identified by the given absolute path. |
static IIncludePathEntry |
JavaScriptCore.newLibraryEntry(IPath path,
IPath sourceAttachmentPath,
IPath sourceAttachmentRootPath,
IAccessRule[] accessRules,
IIncludePathAttribute[] extraAttributes,
boolean isExported)
Creates and returns a new includepath entry of kind
CPE_LIBRARY for the JAR or folder
identified by the given absolute path. |
static IIncludePathEntry |
JavaScriptCore.newLibraryEntry(IPath path,
IPath sourceAttachmentPath,
IPath sourceAttachmentRootPath,
IAccessRule[] accessRules,
IIncludePathAttribute[] extraAttributes,
IPath[] exclusionPatterns,
boolean isExported)
Creates and returns a new includepath entry of kind
CPE_LIBRARY for the JAR or folder
identified by the given absolute path. |
static IIncludePathEntry |
JavaScriptCore.newProjectEntry(IPath path)
Creates and returns a new non-exported includepath entry of kind
CPE_PROJECT
for the project identified by the given absolute path. |
static IIncludePathEntry |
JavaScriptCore.newProjectEntry(IPath path,
boolean isExported)
Creates and returns a new includepath entry of kind
CPE_PROJECT
for the project identified by the given absolute path. |
static IIncludePathEntry |
JavaScriptCore.newProjectEntry(IPath path,
IAccessRule[] accessRules,
boolean combineAccessRules,
IIncludePathAttribute[] extraAttributes,
boolean isExported)
Creates and returns a new includepath entry of kind
CPE_PROJECT
for the project identified by the given absolute path. |
static IIncludePathEntry |
JavaScriptCore.newSourceEntry(IPath path)
Creates and returns a new includepath entry of kind
CPE_SOURCE
for all files in the project's source folder identified by the given
absolute workspace-relative path. |
static IIncludePathEntry |
JavaScriptCore.newSourceEntry(IPath path,
IPath[] exclusionPatterns)
Creates and returns a new includepath entry of kind
CPE_SOURCE
for the project's source folder identified by the given absolute
workspace-relative path but excluding all source files with paths
matching any of the given patterns. |
static IIncludePathEntry |
JavaScriptCore.newSourceEntry(IPath path,
IPath[] exclusionPatterns,
IPath specificOutputLocation)
Creates and returns a new includepath entry of kind
CPE_SOURCE
for the project's source folder identified by the given absolute
workspace-relative path but excluding all source files with paths
matching any of the given patterns, and associated with a specific output location
(that is, ".class" files are not going to the project default output location). |
static IIncludePathEntry |
JavaScriptCore.newSourceEntry(IPath path,
IPath[] inclusionPatterns,
IPath[] exclusionPatterns,
IPath specificOutputLocation)
Creates and returns a new includepath entry of kind
CPE_SOURCE
for the project's source folder identified by the given absolute
workspace-relative path but excluding all source files with paths
matching any of the given patterns, and associated with a specific output location
(that is, ".class" files are not going to the project default output location). |
static IIncludePathEntry |
JavaScriptCore.newSourceEntry(IPath path,
IPath[] inclusionPatterns,
IPath[] exclusionPatterns,
IPath specificOutputLocation,
IIncludePathAttribute[] extraAttributes)
Creates and returns a new includepath entry of kind
CPE_SOURCE
for the project's source folder identified by the given absolute
workspace-relative path using the given inclusion and exclusion patterns
to determine which source files are included, and the given output path
to control the output location of generated files. |
static IIncludePathEntry |
JavaScriptCore.newVariableEntry(IPath variablePath,
IPath variableSourceAttachmentPath,
IPath sourceAttachmentRootPath)
Creates and returns a new non-exported includepath entry of kind
CPE_VARIABLE
for the given path. |
static IIncludePathEntry |
JavaScriptCore.newVariableEntry(IPath variablePath,
IPath variableSourceAttachmentPath,
IPath variableSourceAttachmentRootPath,
boolean isExported)
Creates and returns a new includepath entry of kind
CPE_VARIABLE
for the given path. |
static IIncludePathEntry |
JavaScriptCore.newVariableEntry(IPath variablePath,
IPath variableSourceAttachmentPath,
IPath variableSourceAttachmentRootPath,
IAccessRule[] accessRules,
IIncludePathAttribute[] extraAttributes,
boolean isExported)
Creates and returns a new includepath entry of kind
CPE_VARIABLE
for the given path. |
IIncludePathEntry[] |
IJavaScriptProject.readRawIncludepath()
Returns the raw includepath for the project as defined by its
.jsdtScope file from disk, or null
if unable to read the file. |
Modifier and Type | Method and Description |
---|---|
void |
IPackageFragmentRoot.copy(IPath destination,
int updateResourceFlags,
int updateModelFlags,
IIncludePathEntry sibling,
IProgressMonitor monitor)
Copies the resource of this package fragment root to the destination path
as specified by
IResource.copy(IPath, int, IProgressMonitor)
but excluding nested source folders. |
java.lang.String |
IJavaScriptProject.encodeIncludepathEntry(IIncludePathEntry includepathEntry)
Encodes the given includepath entry into a string in the context of this project.
|
IPackageFragmentRoot[] |
IJavaScriptProject.findPackageFragmentRoots(IIncludePathEntry entry)
Returns the existing package fragment roots identified by the given entry.
|
static IIncludePathEntry |
JavaScriptCore.getResolvedIncludepathEntry(IIncludePathEntry entry)
This is a helper method, which returns the resolved includepath entry denoted
by a given entry (if it is a variable entry).
|
boolean |
IJavaScriptProject.hasIncludepathCycle(IIncludePathEntry[] entries)
Returns whether setting this project's includepath to the given includepath entries
would result in a cycle.
|
void |
IPackageFragmentRoot.move(IPath destination,
int updateResourceFlags,
int updateModelFlags,
IIncludePathEntry sibling,
IProgressMonitor monitor)
Moves the resource of this package fragment root to the destination path
as specified by
IResource.move(IPath,int,IProgressMonitor)
but excluding nested source folders. |
IJavaScriptUnit |
WorkingCopyOwner.newWorkingCopy(java.lang.String name,
IIncludePathEntry[] classpath,
IProgressMonitor monitor)
Returns a new working copy with the given name using this working copy owner to
create its buffer.
|
void |
IJavaScriptProject.setRawIncludepath(IIncludePathEntry[] entries,
boolean canModifyResources,
IProgressMonitor monitor)
Sets the includepath of this project using a list of includepath entries.
|
void |
IJavaScriptProject.setRawIncludepath(IIncludePathEntry[] entries,
IProgressMonitor monitor)
Sets the includepath of this project using a list of includepath entries.
|
static IJavaScriptModelStatus |
JavaScriptConventions.validateClasspath(IJavaScriptProject javaProject,
IIncludePathEntry[] rawClasspath)
Validate a given includepath location for a project, using the following rules:
Includepath entries cannot collide with each other; that is, all entry paths must be unique.
|
static IJavaScriptModelStatus |
JavaScriptConventions.validateClasspathEntry(IJavaScriptProject project,
IIncludePathEntry entry,
boolean checkSourceAttachment)
Returns a JavaScript model status describing the problem related to this includepath entry if any,
a status object with code
IStatus.OK if the entry is fine (that is, if the
given includepath entry denotes a valid element to be referenced onto a includepath). |
Modifier and Type | Method and Description |
---|---|
IIncludePathEntry |
IRuntimeClasspathEntry.getClasspathEntry()
Returns a includepath entry equivalent to this runtime includepath entry,
or
null if none. |
static IIncludePathEntry |
JavaRuntime.getDefaultJREContainerEntry()
Creates and returns a includepath entry describing
the default JRE container entry.
|
IIncludePathEntry[] |
JREContainer.getIncludepathEntries() |
Modifier and Type | Method and Description |
---|---|
boolean |
IRuntimeClasspathEntryResolver2.isVMInstallReference(IIncludePathEntry entry)
Returns whether the given includepath entry references a VM install.
|
IVMInstall |
IRuntimeClasspathEntryResolver.resolveVMInstall(IIncludePathEntry entry)
Returns a VM install associated with the given includepath entry,
or
null if none. |
Modifier and Type | Method and Description |
---|---|
IIncludePathEntry[] |
BasicBrowserLibraryJsGlobalScopeContainerInitializer.getIncludepathEntries() |
IIncludePathEntry[] |
BasicBrowserLibraryContainer.getIncludepathEntries() |
IIncludePathEntry[] |
BasicBrowserLibraryJsGlobalScopeContainerInitializer.getIncludepathEntries() |
IIncludePathEntry[] |
BasicBrowserLibraryContainer.getIncludepathEntries() |
Modifier and Type | Method and Description |
---|---|
static IIncludePathEntry[] |
PreferenceConstants.decodeJRELibraryClasspathEntries(java.lang.String encodedLibrary)
Decodes an encoded JRE library and returns its class path entries.
|
static IIncludePathEntry[] |
PreferenceConstants.getDefaultJRELibrary()
Returns the current configuration for the JRE to be used as default in new JavaScript projects.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
PreferenceConstants.encodeJRELibrary(java.lang.String description,
IIncludePathEntry[] entries)
Encodes a JRE library to be used in the named preference
NEWPROJECT_JRELIBRARY_LIST . |
static java.net.URL |
JavaScriptUI.getLibraryJSdocLocation(IIncludePathEntry entry)
Returns the Javadoc location for library's classpath entry or
null if no
location is available. |
Modifier and Type | Method and Description |
---|---|
static IIncludePathEntry[] |
BuildPathDialogAccess.chooseContainerEntries(Shell shell,
IJavaScriptProject project,
IIncludePathEntry[] currentClasspath)
Shows the UI to choose new classpath container classpath entries.
|
static IIncludePathEntry |
BuildPathDialogAccess.configureContainerEntry(Shell shell,
IIncludePathEntry initialEntry,
IJavaScriptProject project,
IIncludePathEntry[] currentClasspath)
Shows the UI to configure a classpath container classpath entry.
|
static IIncludePathEntry |
BuildPathDialogAccess.configureJavadocLocation(Shell shell,
IIncludePathEntry initialEntry)
Shows the UI for configuring a javadoc location attribute of the classpath entry.
|
static IIncludePathEntry |
BuildPathDialogAccess.configureSourceAttachment(Shell shell,
IIncludePathEntry initialEntry)
Shows the UI for configuring source attachments.
|
IIncludePathEntry[] |
IJsGlobalScopeContainerPageExtension2.getNewContainers()
Method
IJsGlobalScopeContainerPageExtension2.getNewContainers() is called instead of IJsGlobalScopeContainerPage.getSelection()
to get the newly added containers. |
IIncludePathEntry[] |
BaseLibraryWizardPage.getNewContainers() |
abstract IIncludePathEntry |
ClasspathAttributeConfiguration.ClasspathAttributeAccess.getParentClasspassEntry()
Returns the classpath entry the current attribute is part of
|
IIncludePathEntry[] |
NewJavaProjectWizardPage.getRawClassPath()
Returns the currently configured classpath.
|
IIncludePathEntry[] |
JavaCapabilityConfigurationPage.getRawClassPath()
Returns the currently configured classpath.
|
IIncludePathEntry |
IJsGlobalScopeContainerPage.getSelection()
Returns the edited or created classpath container entry.
|
IIncludePathEntry |
BaseLibraryWizardPage.getSelection() |
Modifier and Type | Method and Description |
---|---|
static IIncludePathEntry[] |
BuildPathDialogAccess.chooseContainerEntries(Shell shell,
IJavaScriptProject project,
IIncludePathEntry[] currentClasspath)
Shows the UI to choose new classpath container classpath entries.
|
static IIncludePathEntry |
BuildPathDialogAccess.configureContainerEntry(Shell shell,
IIncludePathEntry initialEntry,
IJavaScriptProject project,
IIncludePathEntry[] currentClasspath)
Shows the UI to configure a classpath container classpath entry.
|
static IIncludePathEntry |
BuildPathDialogAccess.configureContainerEntry(Shell shell,
IIncludePathEntry initialEntry,
IJavaScriptProject project,
IIncludePathEntry[] currentClasspath)
Shows the UI to configure a classpath container classpath entry.
|
static IIncludePathEntry |
BuildPathDialogAccess.configureJavadocLocation(Shell shell,
IIncludePathEntry initialEntry)
Shows the UI for configuring a javadoc location attribute of the classpath entry.
|
static IIncludePathEntry |
BuildPathDialogAccess.configureSourceAttachment(Shell shell,
IIncludePathEntry initialEntry)
Shows the UI for configuring source attachments.
|
void |
JavaCapabilityConfigurationPage.init(IJavaScriptProject jproject,
IIncludePathEntry[] defaultEntries,
boolean defaultsOverrideExistingClasspath)
Initializes the page with the project and default classpath.
|
void |
IJsGlobalScopeContainerPageExtension.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 |
BaseLibraryWizardPage.initialize(IJavaScriptProject project,
IIncludePathEntry[] currentEntries) |
void |
NewJavaProjectWizardPage.setDefaultClassPath(IIncludePathEntry[] entries,
boolean appendDefaultJRE)
Sets the default classpath to be used for the new JavaScript project.
|
void |
IJsGlobalScopeContainerPage.setSelection(IIncludePathEntry containerEntry)
Sets the classpath container entry to be edited or
null
if a new entry should be created. |
void |
BaseLibraryWizardPage.setSelection(IIncludePathEntry containerEntry) |
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.