Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366237 - Add API to PartEnvironment to allow all parts in a package to be returned
Summary: Add API to PartEnvironment to allow all parts in a package to be returned
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 13:46 EST by Paul Harmon CLA
Modified: 2017-02-23 14:17 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Harmon CLA 2011-12-09 13:46:01 EST
Need an API in PartEnvironment that will return a list of all parts in a package (and optionally in all sub packages)
Comment 1 Paul Harmon CLA 2011-12-09 13:49:23 EST
A new API has been added to PartEnvironment, with the signature:
    List<String> getAllKeysFromPkg(String pkg, boolean includeSubPkgs)

This returns a key for every part in the package and optionally in the subpackages.


The following classes have been updated:

ZipFileBindingBuildPathEntry
Egl2MofExpression
ZipFileBuildPathEntry
IFileSystemObjectStore
PartEnvironment
AbstractObjectStore
FileSystemObjectStore
IZipFileEntryManager
MemoryObjectStore
ZipFileObjectStore
Comment 2 Paul Harmon CLA 2012-01-18 09:02:28 EST
done