Changes between Version 6 and Version 7 of IMAGE_CONTENT_R0
- Timestamp:
- 12/15/08 14:23:27 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IMAGE_CONTENT_R0
v6 v7 11 11 12 12 == Task requirements == 13 You should create class !ImageContent extending !FrameContent.14 You should create class !ImageResource extending !BookResource. ImageResource should have method for13 You should create class !ImageContent extending org.sophie2.base.model.book.!FrameContent. 14 You should create class !ImageResource extending org.sophie2.base.model.book.resource.!BookResource. ImageResource should have method for 15 15 getting the image size. 16 16 … … 19 19 20 20 == Implementation idea == 21 Create class !ImageContent which is concrete implementation of !FrameContent for images.21 Create class !ImageContent which is concrete implementation of org.sophie2.base.model.book.!FrameContent for images. 22 22 !ImageContent must override mainResource() and returns a Prop<!ImageResource>. 23 23 24 Create class !ImageResource which is concrete implementation of !BookResource for image resources24 Create class !ImageResource which is concrete implementation of org.sophie2.base.model.book.resource.!BookResource for image resources 25 25 and have method size() for retrieving the image size. 26 26