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

Bug 341587

Summary: [Restructuring] There should be a getFacetByName method in the FacetCatalog
Product: z_Archived Reporter: Nicolas Guyomar <nicolas.guyomar>
Component: EMF-FacetAssignee: Project Inbox <emft.facet-inbox>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P4 CC: gdupe
Version: unspecifiedFlags: gdupe: juno+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Nicolas Guyomar CLA 2011-04-01 04:57:20 EDT
Hi,

It would be useful to have a way to retrieve a facet by name from the FacetCatalog.

A simple "getFacetByName(String name)" method could satisfy this.

Regards,
Nicolas Guyomar
Comment 1 Gregoire Dupe CLA 2012-05-30 13:19:51 EDT
It's not a good id to access (using the API) to a facet hosted in a plug-in by its name. Its URI must be used.