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

Bug 350635

Summary: Create FactsService
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ling.hao
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Konstantin Komissarchik CLA 2011-06-28 16:27:14 EDT
We already display short statements about property semantics in the property editor assist dialog and in context help. The logic for deriving these statements is currently hardcodded. In fact it's different code for those two display sites. 

We need to have a single code path for deriving these statements regardless of where they are to be displayed. We also need this logic to be extensible.

To support these requirements a property-level FactsService should be created. A property should be able to have multiple active facts services from which to derive the full list of facts. Adopters should be able to register a facts service via standard service registration facilities (extension system or @Service annotation). To make it easier to consume facts, a FactsAggregationService should also be created.
Comment 1 Konstantin Komissarchik CLA 2011-07-01 16:55:07 EDT
Implemented. See the section on services in the developer guide for more information.
Comment 2 Konstantin Komissarchik CLA 2011-07-01 16:57:23 EDT
Verification of this bug should include verification of all FactService implementations. See documentation for complete list. TestServices0001, TestWorkspace0002 and TestJava0005 are unit tests for FactService implementations.
Comment 3 Ling Hao CLA 2011-11-28 16:08:15 EST
Verified via test cases mentioned above.