|
Eclipse JDT Release 3.0 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IClasspathEntry | |
org.eclipse.jdt.core | The Java model is the set of classes that model the objects associated with creating, editing, and building a Java program. |
org.eclipse.jdt.launching | Application programming interfaces for interaction with the Eclipse Java launching support. |
org.eclipse.jdt.ui | Application programming interfaces for interaction with the Eclipse Java User Interface. |
org.eclipse.jdt.ui.wizards | Application programming interfaces for interaction with the Eclipse Java User Interface wizards. |
Uses of IClasspathEntry in org.eclipse.jdt.core |
Methods in org.eclipse.jdt.core that return IClasspathEntry | |
IClasspathEntry |
IPackageFragmentRoot.getRawClasspathEntry()
Returns the first raw classpath entry that corresponds to this package fragment root. |
IClasspathEntry |
IClasspathEntry.getResolvedEntry()
Deprecated. - use JavaCore.getResolvedClasspathEntry(...) |
IClasspathEntry[] |
IClasspathContainer.getClasspathEntries()
Answers the set of classpath entries this container is mapping to. |
IClasspathEntry[] |
IJavaProject.getRawClasspath()
Returns the raw classpath for the project, as a list of classpath entries. |
IClasspathEntry[] |
IJavaProject.getResolvedClasspath(boolean ignoreUnresolvedEntry)
This is a helper method returning the resolved classpath for the project as a list of simple (non-variable, non-container) classpath entries. |
IClasspathEntry[] |
IJavaProject.readRawClasspath()
Returns the raw classpath for the project as defined by its .classpath file from disk, or null
if unable to read the file.
|
static IClasspathEntry |
JavaCore.getResolvedClasspathEntry(IClasspathEntry entry)
This is a helper method, which returns the resolved classpath entry denoted by a given entry (if it is a variable entry). |
static IClasspathEntry |
JavaCore.newContainerEntry(org.eclipse.core.runtime.IPath containerPath)
Creates and returns a new classpath entry of kind CPE_CONTAINER
for the given path. |
static IClasspathEntry |
JavaCore.newContainerEntry(org.eclipse.core.runtime.IPath containerPath,
boolean isExported)
Creates and returns a new classpath entry of kind CPE_CONTAINER
for the given path. |
static IClasspathEntry |
JavaCore.newLibraryEntry(org.eclipse.core.runtime.IPath path,
org.eclipse.core.runtime.IPath sourceAttachmentPath,
org.eclipse.core.runtime.IPath sourceAttachmentRootPath)
Creates and returns a new non-exported classpath entry of kind CPE_LIBRARY for the
JAR or folder identified by the given absolute path. |
static IClasspathEntry |
JavaCore.newLibraryEntry(org.eclipse.core.runtime.IPath path,
org.eclipse.core.runtime.IPath sourceAttachmentPath,
org.eclipse.core.runtime.IPath sourceAttachmentRootPath,
boolean isExported)
Creates and returns a new classpath entry of kind CPE_LIBRARY for the JAR or folder
identified by the given absolute path. |
static IClasspathEntry |
JavaCore.newProjectEntry(org.eclipse.core.runtime.IPath path)
Creates and returns a new non-exported classpath entry of kind CPE_PROJECT
for the project identified by the given absolute path.
|
static IClasspathEntry |
JavaCore.newProjectEntry(org.eclipse.core.runtime.IPath path,
boolean isExported)
Creates and returns a new classpath entry of kind CPE_PROJECT
for the project identified by the given absolute path.
|
static IClasspathEntry |
JavaCore.newSourceEntry(org.eclipse.core.runtime.IPath path)
Creates and returns a new classpath entry of kind CPE_SOURCE
for all files in the project's source folder identified by the given
absolute workspace-relative path.
|
static IClasspathEntry |
JavaCore.newSourceEntry(org.eclipse.core.runtime.IPath path,
org.eclipse.core.runtime.IPath[] exclusionPatterns)
Creates and returns a new classpath 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 IClasspathEntry |
JavaCore.newSourceEntry(org.eclipse.core.runtime.IPath path,
org.eclipse.core.runtime.IPath[] exclusionPatterns,
org.eclipse.core.runtime.IPath specificOutputLocation)
Creates and returns a new classpath 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 IClasspathEntry |
JavaCore.newSourceEntry(org.eclipse.core.runtime.IPath path,
org.eclipse.core.runtime.IPath[] inclusionPatterns,
org.eclipse.core.runtime.IPath[] exclusionPatterns,
org.eclipse.core.runtime.IPath specificOutputLocation)
Creates and returns a new classpath 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 IClasspathEntry |
JavaCore.newVariableEntry(org.eclipse.core.runtime.IPath variablePath,
org.eclipse.core.runtime.IPath variableSourceAttachmentPath,
org.eclipse.core.runtime.IPath sourceAttachmentRootPath)
Creates and returns a new non-exported classpath entry of kind CPE_VARIABLE
for the given path. |
static IClasspathEntry |
JavaCore.newVariableEntry(org.eclipse.core.runtime.IPath variablePath,
org.eclipse.core.runtime.IPath variableSourceAttachmentPath,
org.eclipse.core.runtime.IPath variableSourceAttachmentRootPath,
boolean isExported)
Creates and returns a new non-exported classpath entry of kind CPE_VARIABLE
for the given path. |
Methods in org.eclipse.jdt.core with parameters of type IClasspathEntry | |
void |
IPackageFragmentRoot.copy(org.eclipse.core.runtime.IPath destination,
int updateResourceFlags,
int updateModelFlags,
IClasspathEntry sibling,
org.eclipse.core.runtime.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.
|
void |
IPackageFragmentRoot.move(org.eclipse.core.runtime.IPath destination,
int updateResourceFlags,
int updateModelFlags,
IClasspathEntry sibling,
org.eclipse.core.runtime.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.
|
static IJavaModelStatus |
JavaConventions.validateClasspath(IJavaProject javaProject,
IClasspathEntry[] rawClasspath,
org.eclipse.core.runtime.IPath projectOutputLocation)
Validate a given classpath and output location for a project, using the following rules: Classpath entries cannot collide with each other; that is, all entry paths must be unique. |
static IJavaModelStatus |
JavaConventions.validateClasspathEntry(IJavaProject project,
IClasspathEntry entry,
boolean checkSourceAttachment)
Returns a Java model status describing the problem related to this classpath entry if any, a status object with code IStatus.OK if the entry is fine (that is, if the
given classpath entry denotes a valid element to be referenced onto a classpath). |
IPackageFragmentRoot[] |
IJavaProject.findPackageFragmentRoots(IClasspathEntry entry)
Returns the existing package fragment roots identified by the given entry. |
IPackageFragmentRoot[] |
IJavaProject.getPackageFragmentRoots(IClasspathEntry entry)
Deprecated. Use IJavaProject#findPackageFragmentRoots instead |
boolean |
IJavaProject.hasClasspathCycle(IClasspathEntry[] entries)
Returns whether setting this project's classpath to the given classpath entries would result in a cycle. |
void |
IJavaProject.setRawClasspath(IClasspathEntry[] entries,
org.eclipse.core.runtime.IProgressMonitor monitor)
Sets the classpath of this project using a list of classpath entries. |
void |
IJavaProject.setRawClasspath(IClasspathEntry[] entries,
org.eclipse.core.runtime.IPath outputLocation,
org.eclipse.core.runtime.IProgressMonitor monitor)
Sets the both the classpath of this project and its default output location at once. |
static IClasspathEntry |
JavaCore.getResolvedClasspathEntry(IClasspathEntry entry)
This is a helper method, which returns the resolved classpath entry denoted by a given entry (if it is a variable entry). |
Uses of IClasspathEntry in org.eclipse.jdt.launching |
Methods in org.eclipse.jdt.launching that return IClasspathEntry | |
IClasspathEntry |
IRuntimeClasspathEntry.getClasspathEntry()
Returns a classpath entry equivalent to this runtime classpath entry, or null if none.
|
static IClasspathEntry |
JavaRuntime.getJREVariableEntry()
Creates and returns a classpath entry describing the JRE_LIB classpath variable. |
static IClasspathEntry |
JavaRuntime.getDefaultJREContainerEntry()
Creates and returns a classpath entry describing the default JRE container entry. |
Methods in org.eclipse.jdt.launching with parameters of type IClasspathEntry | |
IVMInstall |
IRuntimeClasspathEntryResolver.resolveVMInstall(IClasspathEntry entry)
Returns a VM install associated with the given classpath entry, or null if none. |
Uses of IClasspathEntry in org.eclipse.jdt.ui |
Methods in org.eclipse.jdt.ui that return IClasspathEntry | |
static IClasspathEntry[] |
PreferenceConstants.decodeJRELibraryClasspathEntries(String encodedLibrary)
Decodes an encoded JRE library and returns its class path entries. |
static IClasspathEntry[] |
PreferenceConstants.getDefaultJRELibrary()
Returns the current configuration for the JRE to be used as default in new Java projects. |
Methods in org.eclipse.jdt.ui with parameters of type IClasspathEntry | |
static String |
PreferenceConstants.encodeJRELibrary(String description,
IClasspathEntry[] entries)
Encodes a JRE library to be used in the named preference NEWPROJECT_JRELIBRARY_LIST . |
Uses of IClasspathEntry in org.eclipse.jdt.ui.wizards |
Methods in org.eclipse.jdt.ui.wizards that return IClasspathEntry | |
IClasspathEntry |
IClasspathContainerPage.getSelection()
Returns the edited or created classpath container entry. |
static IClasspathEntry |
BuildPathDialogAccess.configureSourceAttachment(org.eclipse.swt.widgets.Shell shell,
IClasspathEntry initialEntry)
Shows the UI for configuring source attachments. |
static IClasspathEntry |
BuildPathDialogAccess.configureContainerEntry(org.eclipse.swt.widgets.Shell shell,
IClasspathEntry initialEntry,
IJavaProject project,
IClasspathEntry[] currentClasspath)
Shows the UI to configure a classpath container classpath entry. |
static IClasspathEntry[] |
BuildPathDialogAccess.chooseContainerEntries(org.eclipse.swt.widgets.Shell shell,
IJavaProject project,
IClasspathEntry[] currentClasspath)
Shows the UI to choose new classpath container classpath entries. |
IClasspathEntry[] |
NewJavaProjectWizardPage.getRawClassPath()
Returns the currently configured classpath. |
IClasspathEntry[] |
IClasspathContainerPageExtension2.getNewContainers()
Method IClasspathContainerPageExtension2.getNewContainers() is called instead of IClasspathContainerPage.getSelection()
to get the the newly added containers. |
IClasspathEntry[] |
JavaCapabilityConfigurationPage.getRawClassPath()
Returns the currently configured classpath. |
Methods in org.eclipse.jdt.ui.wizards with parameters of type IClasspathEntry | |
void |
IClasspathContainerPage.setSelection(IClasspathEntry containerEntry)
Sets the classpath container entry to be edited or null
if a new entry should be created. |
static IClasspathEntry |
BuildPathDialogAccess.configureSourceAttachment(org.eclipse.swt.widgets.Shell shell,
IClasspathEntry initialEntry)
Shows the UI for configuring source attachments. |
static IClasspathEntry |
BuildPathDialogAccess.configureContainerEntry(org.eclipse.swt.widgets.Shell shell,
IClasspathEntry initialEntry,
IJavaProject project,
IClasspathEntry[] currentClasspath)
Shows the UI to configure a classpath container classpath entry. |
static IClasspathEntry[] |
BuildPathDialogAccess.chooseContainerEntries(org.eclipse.swt.widgets.Shell shell,
IJavaProject project,
IClasspathEntry[] currentClasspath)
Shows the UI to choose new classpath container classpath entries. |
void |
NewJavaProjectWizardPage.setDefaultClassPath(IClasspathEntry[] entries,
boolean appendDefaultJRE)
Sets the default classpath to be used for the new Java project. |
void |
IClasspathContainerPageExtension.initialize(IJavaProject project,
IClasspathEntry[] currentEntries)
Method initialize() is called before IClasspathContainerPage.setSelection
to give additional information about the context the classpath container entry is configured in. |
void |
JavaCapabilityConfigurationPage.init(IJavaProject jproject,
org.eclipse.core.runtime.IPath defaultOutputLocation,
IClasspathEntry[] defaultEntries,
boolean defaultsOverrideExistingClasspath)
Initializes the page with the project and default classpaths. |
|
Eclipse JDT Release 3.0 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |