Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366237

Summary: Add API to PartEnvironment to allow all parts in a package to be returned
Product: z_Archived Reporter: Paul Harmon <pharmon>
Component: EDTAssignee: Project Inbox <edt.mofmodel-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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