Providing multiple views in a model-view-controller architecture
First Claim
1. A system for controlling multiple appearances of data on a display, said system comprising:
- a Controller for receiving user instructions for data to be displayed, and for generating model management and view management instructions for controlling the appearance of data to be displayed;
a single Model connected to said Controller for receiving model management instructions from said Controller, and for keeping track of changes to the appearance of data to be displayed;
a ViewProxy connected to said controller for receiving view management instructions, and connected to said single Model for receiving model change notifications responsive to changes in the appearances of data to be displayed, said model change notifications representing the current state of the Model; and
multiple Views connected to said ViewProxy for receiving model change notifications, said ViewProxy determining to which Views model change notifications are to be sent, and sending model change information to only those Views affected by said model changes such that the Views continually represent the current state of the Model.
1 Assignment
0 Petitions
Accused Products
Abstract
A system, method and program product for controlling multiple appearances of data on a display. A Controller is provided for receiving user instructions for data to be displayed, and for generating model management and view management instructions for controlling the appearance of data to be displayed. A Model is connected to the Controller for receiving model management instructions from the Controller, and for keeping track of changes to the appearance of data to be displayed. A ViewProxy is connected to said controller for receiving view management instructions, and connected to said Model for receiving model change notifications responsive to changes in the appearance of data to be displayed. Multiple Views are connected to the ViewProxy for receiving model change notifications. The ViewProxy determines to which Views the model change notifications are to be sent, and sends model change information to only those Views affected by said model changes. A windowing system displays only active Views, and switches between Views by making at least one View active and selected other Views inactive.
151 Citations
8 Claims
-
1. A system for controlling multiple appearances of data on a display, said system comprising:
-
a Controller for receiving user instructions for data to be displayed, and for generating model management and view management instructions for controlling the appearance of data to be displayed; a single Model connected to said Controller for receiving model management instructions from said Controller, and for keeping track of changes to the appearance of data to be displayed; a ViewProxy connected to said controller for receiving view management instructions, and connected to said single Model for receiving model change notifications responsive to changes in the appearances of data to be displayed, said model change notifications representing the current state of the Model; and multiple Views connected to said ViewProxy for receiving model change notifications, said ViewProxy determining to which Views model change notifications are to be sent, and sending model change information to only those Views affected by said model changes such that the Views continually represent the current state of the Model. - View Dependent Claims (2, 3)
-
-
4. A method for controlling multiple appearances of data on a display, said method comprising:
-
receiving user instructions by a Controller for data to be displayed; generating model management and view management instructions by said Controller for controlling the appearance of data to be displayed; receiving model management instructions by a single Model from said Controller; keeping track of changes to the appearance of data to be displayed by said Model; receiving view management instructions by a ViewProxy from said Controller; receiving by said ViewProxy, model change notifications responsive to changes in the appearances of data to be displayed, said model change notifications representing the current state of the Model; determining by said ViewProxy, which of multiple Views model change notifications are to be sent; and sending model change information to only those Views affected by said model changes such that the Views continually represent the current state of the Model. - View Dependent Claims (5, 7, 8)
-
-
6. An article comprising:
a computer readable medium on which is recorded a program product for controlling multiple appearances of data on a display, said program product comprising; a computer program routine for receiving user instructions by a Controller for data to be displayed; a computer program routine for generating model management and view management instructions by said Controller for controlling the appearance of data to be displayed; a computer program routine for receiving model management instructions by a single Model from said Controller; a computer program routine for keeping track of changes to the appearance of data to be displayed by said Model; a computer program routine for receiving view management instructions by a ViewProxy from said Controller; a computer program routine for receiving by said ViewProxy, model change notifications responsive to changes in the appearance of data to be displayed, said model change notifications representing the current state of the Model; a computer program routine for determining by said ViewProxy, which of multiple Views model change notifications are to be sent; and a computer program routine for sending model change information to only those Views affected by said model changes such that the Views continually represent the current state of the Model.
Specification