Object Oriented Modeling and Design 15CS55 class for each specific type Implement the views. Derive a separate class from the AbtrsactView of view identified in step 1. Implement the view-specific parts of the interface, such as the displayData method in our example. Override those methods whose default implementation () does not meet the requirements of the specific view. In our example we implement three view classes: and Editview, Layoutview, as specified in the solution section. Thumbnailview, Factory Methods. Define the view handler: Implement functions for creating views as The view handler in our example document editor provides functions to open and close views, as well as to tile them, bring them to the foreground, and clone them. Internally the view handler maintains references to all open views, including information about their position and size, and whether they are iconize. Dept. of CSE, ACE Page 163
Object Oriented Modeling and Design 15CS55 Implement the views. Derive a separate class from the AbtrsactView class for each specific type of view identified in step 1. Implement the view-specific parts of the interface, such as the displayData () method in our example. Override those methods whose default implementation does not meet the requirements of the specific view. In our example we implement three view classes: Editview, Layoutview, and Thumbnailview, as specified in the solution section. Define the view handler: Implement functions for creating views as Factory Methods. The view handler in our example document editor provides functions to open and close views, as well as to tile them, bring them to the foreground, and clone them. Internally the view handler maintains references to all open views, including information about their position and size, and whether they are iconize. Dept. of CSE, ACE Page 163