Changes between Version 1 and Version 2 of IMAGE_CONTENT_R0
- Timestamp:
- 12/15/08 14:18:34 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IMAGE_CONTENT_R0
v1 v2 6 6 7 7 = Analysis = 8 ^(The purpose of the analysis is to give as much as possible of the needed information for designing and implementing the task.)^9 8 10 9 == Overview == … … 12 11 13 12 == Task requirements == 14 You should create class ImageContent extendingFrameContent.15 You should create class ImageResource extendingBookResource. ImageResource should have method for16 getting the image resourcesize.13 You should create class !ImageContent extending !FrameContent. 14 You should create class !ImageResource extending !BookResource. ImageResource should have method for 15 getting the image size. 17 16 18 17 == Task result == … … 20 19 21 20 == Implementation idea == 22 Create class ImageContent which is concrete implementation of FrameContent for images. ImageContent must override mainResource() and returns a Prop<ImageResource>.23 Create class ImageResource which is concrete implementation ofBookResource for image resources and have method size() for retrieving the image size.21 Create class !ImageContent which is concrete implementation of !FrameContent for images. !ImageContent must override mainResource() and returns a Prop<!ImageResource>. 22 Create class !ImageResource which is concrete implementation of !BookResource for image resources and have method size() for retrieving the image size. 24 23 25 24 == Related == 26 http://sophie2.org/trac/wiki/UNPLANNED_BASE_MODEL_FRAME_CONTENT_R027 http://sophie2.org/trac/wiki/BASE_RESOURCE_COMMONS_R025 UNPLANNED_BASE_MODEL_FRAME_CONTENT_R0 26 BASE_RESOURCE_COMMONS_R0 28 27 29 28 == How to demo ==