| 1 | [[BackLinksMenu]] |
| 2 | |
| 3 | [[TicketQuery(summary=BASE_RESOURCE_POINTS_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] |
| 4 | |
| 5 | |
| 6 | |
| 7 | = Analysis = |
| 8 | |
| 9 | == Overview == |
| 10 | |
| 11 | "provides extension points for defining resources (and resource editors, resource previewers" |
| 12 | |
| 13 | The SophieResourceManager, found in org.sophie2.base.model.resources is currently empty. This task is about adding functionality to this class. |
| 14 | |
| 15 | This task will add the ability to create, delete resources from a sophie storage system. Generally, managers are discouraged so this task may not be about storing the resources, but rather accessing them. |
| 16 | |
| 17 | In this first pass, you'll add extension points for creating various resources, for accessing resource editors and for registering both. You'll need to have a simple list class to hold the resources. |
| 18 | |
| 19 | == Task requirements == |
| 20 | |
| 21 | * Add to SophieResourceManager: |
| 22 | * An extension point for registering a resource storage system |
| 23 | * Apis for registering a resource |
| 24 | * Apis for finding a resource via it's resource ID |
| 25 | * An extension point for registering resource editors/previewers |
| 26 | * Add apis for finding a resource previewer for a given resource |
| 27 | * Provide links to svn for the code |
| 28 | * Document the apis for the resource manager |
| 29 | |
| 30 | == Task result == |
| 31 | |
| 32 | The result of this task is code |
| 33 | |
| 34 | == Implementation idea == |
| 35 | |
| 36 | * For the first pass, get resources registering and accessing via memory only |
| 37 | * For the first pass, just supply simple previewers (display the resource in a simple window) |
| 38 | |
| 39 | == Related == |
| 40 | |
| 41 | * [wiki:CORE_LOCAL_STORAGE_R0] - The result of this task may be how the SophieResourceManager locates resources in a storage system |
| 42 | |
| 43 | == How to demo == |
| 44 | |
| 45 | * Show the api documentation for this task |
| 46 | * Open resources and show their previewers |
| 47 | |
| 48 | |
| 49 | = Design = |
| 50 | |
| 51 | = Implementation = |
| 52 | ^(Implementation results should be described and linked here (from the wiki or the repository))^ |
| 53 | |
| 54 | = Testing = |
| 55 | |
| 56 | = Comments = |
| 57 | ^(Write comments for this or later revisions here.) |