Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350635 - Create FactsService
Summary: Create FactsService
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2011-06-28 16:27 EDT by Konstantin Komissarchik CLA
Modified: 2021-11-19 09:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.