Uses of Interface
org.eclipse.jdt.core.IPackageFragmentRoot
Packages that use IPackageFragmentRoot
Package
Description
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
Application programming interface to access Java refactorings provided by JDT.
Provides support for searching the workspace Java
elements that match a particular description.
Application programming interfaces and classes for source lookup.
Provides advanced source lookup support for the Java debugger.
Provides source lookup support for the Java debugger.
Application programming interfaces for interaction
with the Eclipse Java User Interface.
Application programming interfaces for rename refactorings.
Application programming interfaces for interaction
with the Eclipse Java User Interface wizards.
-
Uses of IPackageFragmentRoot in org.eclipse.jdt.core
Methods in org.eclipse.jdt.core that return IPackageFragmentRootModifier and TypeMethodDescriptionstatic IPackageFragmentRoot
JavaCore.createJarPackageFragmentRootFrom
(org.eclipse.core.resources.IFile file) Creates and returns a handle for the given JAR file.IJavaProject.findPackageFragmentRoot
(org.eclipse.core.runtime.IPath path) Returns the existing package fragment root on this project's classpath whose path matches the given (absolute) path, ornull
if one does not exist.IJavaProject.findPackageFragmentRoots
(IClasspathEntry entry) Returns the existing package fragment roots identified by the given entry.IJavaProject.findUnfilteredPackageFragmentRoots
(IClasspathEntry entry) In a Java 9 project, a classpath entry can be filtered using aIClasspathAttribute.LIMIT_MODULES
attribute, otherwise for an unnamed module a default set of roots is used as defined in JEP 261.IJavaProject.getAllPackageFragmentRoots()
Returns all of the existing package fragment roots that exist on the classpath, in the order they are defined by the classpath.IJarEntryResource.getPackageFragmentRoot()
Returns the package fragment root this jar entry resource belongs to.IJavaProject.getPackageFragmentRoot
(String externalLibraryPath) Returns a package fragment root for an external library (a ZIP archive - e.g. a.jar
, a.zip
file, etc. - or - since 3.4 - a class folder) at the specified file system path.IJavaProject.getPackageFragmentRoot
(org.eclipse.core.resources.IResource resource) Returns a package fragment root for the given resource, which must either be a folder representing the top of a package hierarchy, or a ZIP archive (e.g. a.jar
, a.zip
file, etc.)IJavaProject.getPackageFragmentRoots()
Returns all of the package fragment roots contained in this project, identified on this project's resolved classpath.IJavaProject.getPackageFragmentRoots
(IClasspathEntry entry) Deprecated.Method parameters in org.eclipse.jdt.core with type arguments of type IPackageFragmentRootModifier and TypeMethodDescriptionJavaCore.defaultRootModules
(Iterable<IPackageFragmentRoot> allSystemRoots) Deprecated.This method cannot distinguish strategies for old (9/10) vs new (11+) JDK versions.JavaCore.defaultRootModules
(Iterable<IPackageFragmentRoot> allSystemRoots, String release) Filter the given set of system roots by the rules for root modules from JEP 261. -
Uses of IPackageFragmentRoot in org.eclipse.jdt.core.refactoring.descriptors
Methods in org.eclipse.jdt.core.refactoring.descriptors with parameters of type IPackageFragmentRootModifier and TypeMethodDescriptionvoid
MoveDescriptor.setMovePackageFragmentRoots
(IPackageFragmentRoot[] roots) Sets the package fragment roots to move. -
Uses of IPackageFragmentRoot in org.eclipse.jdt.core.search
Methods in org.eclipse.jdt.core.search that return IPackageFragmentRootModifier and TypeMethodDescriptionTypeNameMatch.getPackageFragmentRoot()
Returns the package fragment root of the stored type. -
Uses of IPackageFragmentRoot in org.eclipse.jdt.launching.sourcelookup
Methods in org.eclipse.jdt.launching.sourcelookup that return IPackageFragmentRootModifier and TypeMethodDescriptionPackageFragmentRootSourceLocation.getPackageFragmentRoot()
Deprecated.Returns the package fragment root associated with this source location, ornull
if noneConstructors in org.eclipse.jdt.launching.sourcelookup with parameters of type IPackageFragmentRootModifierConstructorDescriptionDeprecated.Creates a source location on the given package fragment root. -
Uses of IPackageFragmentRoot in org.eclipse.jdt.launching.sourcelookup.advanced
Methods in org.eclipse.jdt.launching.sourcelookup.advanced that return types with arguments of type IPackageFragmentRootModifier and TypeMethodDescriptionstatic Map
<File, IPackageFragmentRoot> AdvancedSourceLookup.getClasspath
(IJavaProject project) Method parameters in org.eclipse.jdt.launching.sourcelookup.advanced with type arguments of type IPackageFragmentRootModifier and TypeMethodDescriptionvoid
IWorkspaceProjectDescriber.IJavaProjectSourceDescription.addDependencies
(Map<File, IPackageFragmentRoot> dependencies) Adds runtime classes location of project dependencies and their corresponding package fragment roots, typically for standard java application, this is dependency jar or classes directory for equinox, this is dependency bundle location -
Uses of IPackageFragmentRoot in org.eclipse.jdt.launching.sourcelookup.containers
Methods in org.eclipse.jdt.launching.sourcelookup.containers that return IPackageFragmentRootModifier and TypeMethodDescriptionPackageFragmentRootSourceContainer.getPackageFragmentRoot()
Returns the package fragment root this container searches for source.Constructors in org.eclipse.jdt.launching.sourcelookup.containers with parameters of type IPackageFragmentRootModifierConstructorDescriptionConstructs a new package fragment root source container on the given root. -
Uses of IPackageFragmentRoot in org.eclipse.jdt.ui
Methods in org.eclipse.jdt.ui with parameters of type IPackageFragmentRootModifier and TypeMethodDescriptionstatic org.eclipse.ui.dialogs.SelectionDialog
JavaUI.createPackageDialog
(org.eclipse.swt.widgets.Shell parent, IPackageFragmentRoot root) Creates a selection dialog that lists all packages under the given package fragment root.static org.eclipse.ui.dialogs.SelectionDialog
JavaUI.createPackageDialog
(org.eclipse.swt.widgets.Shell parent, IPackageFragmentRoot root, String filter) Creates a selection dialog that lists all packages under the given package fragment root.protected Object[]
StandardJavaElementContentProvider.getPackageFragmentRootContent
(IPackageFragmentRoot root) Evaluates all children of a givenIPackageFragmentRoot
.static void
JavaElementLabels.getPackageFragmentRootLabel
(IPackageFragmentRoot root, long flags, StringBuffer buf) Appends the label for a package fragment root to aStringBuffer
.static void
JavaElementLabels.getPackageFragmentRootLabel
(IPackageFragmentRoot root, long flags, org.eclipse.jface.viewers.StyledString result) Appends the label for a package fragment root to aStyledString
.protected boolean
StandardJavaElementContentProvider.isProjectPackageFragmentRoot
(IPackageFragmentRoot root) Tests if the package fragment root is located on the project.protected Object
StandardJavaElementContentProvider.skipProjectPackageFragmentRoot
(IPackageFragmentRoot root) Note: This method is for internal use only. -
Uses of IPackageFragmentRoot in org.eclipse.jdt.ui.refactoring
Methods in org.eclipse.jdt.ui.refactoring with parameters of type IPackageFragmentRootModifier and TypeMethodDescriptionstatic RenameSupport
RenameSupport.create
(IPackageFragmentRoot root, String newName) Creates a new rename support for the givenIPackageFragmentRoot
. -
Uses of IPackageFragmentRoot in org.eclipse.jdt.ui.wizards
Methods in org.eclipse.jdt.ui.wizards that return IPackageFragmentRootModifier and TypeMethodDescriptionprotected IPackageFragmentRoot
NewContainerWizardPage.chooseContainer()
Opens a selection dialog that allows to select a source container.NewContainerWizardPage.getPackageFragmentRoot()
Returns theIPackageFragmentRoot
that corresponds to the current value of the source folder field.Methods in org.eclipse.jdt.ui.wizards with parameters of type IPackageFragmentRootModifier and TypeMethodDescriptionvoid
NewContainerWizardPage.setPackageFragmentRoot
(IPackageFragmentRoot root, boolean canBeModified) Sets the current source folder (model and text field) to the given package fragment root.
IJavaProject.findPackageFragmentRoots(IClasspathEntry)
instead