Command object system for an object-oriented software platform
First Claim
1. In a computer system, a memory having stored therein an object-oriented software platform for serving a plurality of currently executing client applications, the platform including a data encapsulation system for encapsulating application data in response to encapsulation requests by the plurality of applications, a data selection system for selecting the application data, which is encapsulated by said data encapsulation system in response to selection requests by the applications, and a command object system comprising:
- a client-subclassable command object base class, resident in the address space of the memory defined by the platform, the command object base class including;
a member function, responsive to creation requests from the plurality of applications, wherein each application resides in a unique application address space different than that of the address space of the platform, and wherein the application data resides in the unique address space of a corresponding application, the member function having means for creating at least one command object for use by a requesting application, the command object being created in the application address space of the requesting application; and
a member function, responsive to execution requests from the plurality of applications made via a created command object, for executing a predefined document editing operation on the application data, which is selected by said data selection system.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for a command system is disclosed. Commands include variables that reflect the command'"'"'s current appearance. This includes status information determinative of the command'"'"'s state (enabled/disabled), its name, its associated graphic, and whether its appearance is currently valid. Each of these were initialized when the command was created. The invention creates a command including an object'"'"'s data structure containing a command sequence. The command is added to a list of commands, and initialized as an invalid appearance. Later when the command is selected, the appearance state is recomputed based on the system state.
95 Citations
25 Claims
-
1. In a computer system, a memory having stored therein an object-oriented software platform for serving a plurality of currently executing client applications, the platform including a data encapsulation system for encapsulating application data in response to encapsulation requests by the plurality of applications, a data selection system for selecting the application data, which is encapsulated by said data encapsulation system in response to selection requests by the applications, and a command object system comprising:
-
a client-subclassable command object base class, resident in the address space of the memory defined by the platform, the command object base class including; a member function, responsive to creation requests from the plurality of applications, wherein each application resides in a unique application address space different than that of the address space of the platform, and wherein the application data resides in the unique address space of a corresponding application, the member function having means for creating at least one command object for use by a requesting application, the command object being created in the application address space of the requesting application; and a member function, responsive to execution requests from the plurality of applications made via a created command object, for executing a predefined document editing operation on the application data, which is selected by said data selection system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method of servicing commands generated by client applications executing in a computer system having a memory, each client application residing in a unique application address space of the memory, the computer system having an object-oriented platform residing in a platform address space of the memory, the platform address space being different than the address spaces of the applications, the platform including a data encapsulation system for encapsulating application data in response to encapsulation requests by the applications, a data selection system for selecting application data from said data encapsulation system in response to selection requests by the applications, said method comprising the steps of:
-
(a) creating at least one command object from a client-subclassable command object base class, in response to a creation request from one of the plurality of applications, the command object base class residing in the platform address space and the command object residing in the address space of the one application; and (b) executing a member function in said command object to perform a document editing operation associated with said command object on application data selected by said data selection system, in order to service the command. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A command object system operable in a computer system having a memory with a system address space and a task address space, an object-oriented operating system stored in said system address space, application data stored in said task address space, a data selection system for selecting a portion of said application data, and an application program stored in said task address space, said command object system allowing said application program to manipulate said data using a data change request, said command object system comprising:
-
(a) command object class information, which is part of said object-oriented operating system and stored in the system address space, said command object class information having a constructor member function and a command member function for performing a document editing operation on said selected data portion, which is selected by the data selection system; (b) means, in said application program and responsive to said data change request for executing said constructor member function to create a command object in said task address space; and (c) means, responsive to a creation of said command object, for executing said command member function of said command object to edit said selected data portion which is selected by the data selection system.
-
-
23. A command object system operable in a computer system having a memory with a system address space and a task address space, an object-oriented operating system stored in said system address space, application data stored in said task address space, a data selection system for selecting a first portion of said application data and a second portion of the application data, a first application program stored in said task address space and a second application program stored in said task address space, said command object system allowing said first and second application programs to manipulate said application data using first and second data change requests, said command object system comprising:
-
(a) command object class information which is part of said object-oriented operating system and stored in the system address space, said command object class information having a constructor member function and a command member function for performing a document editing operation on a selected data portion, which is selected by the data selection system; (b) means, in said first application program and responsive to said first data change request, for executing said constructor member function to create a first command object in said task address space; and (c) means, responsive to a creation of said first command object, for executing a command member function of said first command object to edit said first selected data portion, which is selected by the data selection system; (d) means, in said second application program and responsive to said second data change request, for executing said constructor member function to create a second command object in said task address space; and (e) means responsive to a creation of said second command object for executing a command member function of said second command object to change said second selected data portion, which is selected by the data selection system.
-
-
24. A command object system operable in a computer system having a memory with a system address space and a task address space, an object-oriented operating system stored in said system address space, application data stored in said task address space, a data selection system for selecting a first portion of said application data and a second portion of the application data, a first application program stored in said task address space and a second application program stored in said task address space, said command object system allowing said first and second application programs to manipulate said application data using first and second data change requests, said command object system comprising:
-
(a) command object class information, which is part of said object-oriented operating system and stored in the system address space, said command object class information comprising a command object base class and a plurality of command object subclasses, each of the plurality of command object subclasses having a constructor member function and a command member function for performing a document editing operation on a selected application data portion, which is selected by the data selection system, the plurality of command object subclasses being arranged in a plurality of hierarchical levels wherein the command member function in each hierarchical level overrides the command member function in a higher hierarchical level; (b) means, in said first application program and responsive to said first data change request, for selecting one of the plurality of subclasses and for executing a constructor member function therein to create a first command object in said task address space; and (c) means, responsive to a creation of said first command object, for executing a command member function in said first command object to edit said first selected application data portion, which is selected by the data selection system; (d) means, in said second application program and responsive to said second data change request, for selecting one of the plurality of subclasses and for executing a constructor member function therein to creme a second command object in said task address space; and (e) means, responsive to a creation of said second command object, for executing a command member function in said second command object to edit said second selected application data portion, which is selected by the data selection system.
-
-
25. A command object system operable in a computer system having a memory, application data stored in an application address space of said memory, a data selection system for selecting a portion of said application data and an application program in the application address space, said application program using said command object system to perform all operations on said application data, said command object system comprising:
-
(a) command object class information, said command object class information comprising a plurality of classes, each of the plurality of classes having a constructor member function and a command member function for performing a predetermined document editing operation on said selected data portion, which is selected by the data selection system; (b) means, controlled by said application program and responsive to an operation to be performed on said application data, for selecting one of the plurality of classes and for executing a constructor member function therein to create a command object in the application address space; and (c) means, responsive to a creation of said command object, for executing said command member function in said command object to perform said predetermined document editing operation on said selected data portion, which is selected by the data selection system.
-
Specification