|
Eclipse JDT 2.1 |
|||||||||
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[] |
IClasspathContainer.getClasspathEntries()
Answers the set of classpath entries this container is mapping to. |
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(IPath containerPath)
Creates and returns a new classpath entry of kind CPE_CONTAINER
for the given path. |
static IClasspathEntry |
JavaCore.newContainerEntry(IPath containerPath,
boolean isExported)
Creates and returns a new classpath entry of kind CPE_CONTAINER
for the given path. |
static IClasspathEntry |
JavaCore.newLibraryEntry(IPath path,
IPath sourceAttachmentPath,
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(IPath path,
IPath sourceAttachmentPath,
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(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(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(IPath path)
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. |
static IClasspathEntry |
JavaCore.newSourceEntry(IPath path,
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(IPath path,
IPath[] exclusionPatterns,
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.newVariableEntry(IPath variablePath,
IPath variableSourceAttachmentPath,
IPath sourceAttachmentRootPath)
Creates and returns a new non-exported classpath entry of kind CPE_VARIABLE
for the given path. |
static IClasspathEntry |
JavaCore.newVariableEntry(IPath variablePath,
IPath variableSourceAttachmentPath,
IPath variableSourceAttachmentRootPath,
boolean isExported)
Creates and returns a new non-exported classpath entry of kind CPE_VARIABLE
for the given path. |
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 |
IClasspathEntry.getResolvedEntry()
Deprecated. - use JavaCore.getResolvedClasspathEntry(...) |
IClasspathEntry |
IPackageFragmentRoot.getRawClasspathEntry()
Returns the first raw classpath entry that corresponds to this package fragment root. |
Methods in org.eclipse.jdt.core with parameters of type IClasspathEntry | |
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 IJavaModelStatus |
JavaConventions.validateClasspath(IJavaProject javaProject,
IClasspathEntry[] rawClasspath,
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 javaProject,
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,
IProgressMonitor monitor)
Sets the classpath of this project using a list of classpath entries. |
void |
IJavaProject.setRawClasspath(IClasspathEntry[] entries,
IPath outputLocation,
IProgressMonitor monitor)
Sets the both the classpath of this project and its default output location at once. |
void |
IPackageFragmentRoot.copy(IPath destination,
int updateResourceFlags,
int updateModelFlags,
IClasspathEntry 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. |
void |
IPackageFragmentRoot.move(IPath destination,
int updateResourceFlags,
int updateModelFlags,
IClasspathEntry 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. |
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. |
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 classpath 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[] |
NewJavaProjectWizardPage.getRawClassPath()
Returns the currently configured classpath. |
IClasspathEntry[] |
JavaCapabilityConfigurationPage.getRawClassPath()
Returns the currently configured classpath. |
IClasspathEntry |
IClasspathContainerPage.getSelection()
Returns the edited or created classpath container entry. |
Methods in org.eclipse.jdt.ui.wizards with parameters of type IClasspathEntry | |
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,
IPath defaultOutputLocation,
IClasspathEntry[] defaultEntries,
boolean defaultsOverrideExistingClasspath)
Initializes the page with the project and default classpaths. |
void |
IClasspathContainerPage.setSelection(IClasspathEntry containerEntry)
Sets the classpath container entry to be edited or null
if a new entry should be created. |
|
Eclipse JDT 2.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |