Dynamic graphical user interface feature-set configuration
AssigneeSun Microsystems, Inc.
InventorKapono D. Carter
Life of this patent
Estimating the term…
Abstract
A system dynamically constructs a graphical user interface associated with an application. A command class library stores command classes that represent additional functions to be integrated with the application. An execution unit attempts to instantiate the command classes at run-time of the application, determines which of the command classes were instantiated successfully, and constructs the graphical user interface for the application such that the graphical user interface contains the additional functions of the successfully instantiated command classes.
Claims24
A system that dynamically constructs a graphical user interface associated with a program, comprising:
- a command class library to store at least one command class, the command class representing an additional function for use with the program;
- and
- an execution unit to attempt to instantiate the command class at run-time of the program without updating the program to determine whether the command class was instantiated successfully, and to construct the graphical user interface such that the graphical user interface contains the additional function corresponding to the successfully instantiated command class, wherein the execution unit includes a configuration component to modify the graphical user interface by inserting visual controls for invoking the additional function of the successfully instantiated command class, and to display the modified graphical user interface on a visual display, without user intervention.
A computer-implemented method for dynamically constructing a user interface associated with a program, command classes associated with the program representing additional functions for use by the program, comprising the steps of:
- attempting to instantiate the command classes without updating the program;
- determining which of the command classes are instantiated successfully;
- constructing the user interface such that the user interface contains the additional functions corresponding to the successfully instantiated command classes;
- modifying the user interface by inserting visual controls for invoking the additional function of the successfully instantiated command class, without user intervention;
- and
- displaying the modified graphical user interface on a visual display.
A computer program product stored on a computer-readable medium for dynamically constructing a user interface associated with a program, command classes associated with the program representing additional functions for use by the program, comprising:
- an instantiation module to attempt to instantiate the command classes at run-time of the program without updating the program, and to determine which of the command classes were instantiated successfully;
- and
- a configuration module to construct the user interface such that the user interface contains the additional functions corresponding to the successfully instantiated command classes, wherein the configuration module includes:
- a modification component to modify the user interface by inserting visual representations for invoking the additional functions of the successfully instantiated command classes, without user intervention, and
- a display component to display the modified user interface on a visual display.
A data processing system comprising:
- a memory including
- a program,
- a command class area to store a plurality of command classes that represent additional modules for use with the program, and
- a runtime environment to attempt to instantiate the command classes at run-time of the program without updating the program, to determine which of the command classes were instantiated successfully, and to construct a graphical user interface for the program by adding or removing visual controls for invoking the additional modules of the successfully instantiated command classes;
- and
- a processor for executing the program and the runtime environment.
In a system including a memory containing a command class library storing a plurality of command classes representing additional functions for use with a program, and a runtime environment, the runtime environment comprising:
- an instantiation module configured to attempt to instantiate the command classes during execution of the program, without updating the program, and to determine which of the command classes were instantiated successfully;
- and
- a configuration module configured to construct a user interface for the program such that the user interface contains the additional functions corresponding to the successfully instantiated command classes, and
- wherein the configuration module includes a modification component to modify the user interface, without user intervention, by inserting visual controls for invoking the additional functions of any successfully instantiated command classes.
A method that dynamically constructs a graphical user interface associated with a program, comprising the steps of:
- storing a plurality of command classes in a memory, each of the command classes representing a module for use with the program;
- executing the program;
- attempting to locate items for successful instantiation of the command classes during execution of the program without updating the program;
- declaring an instantiation of one of the command classes successful only if all of the items for the command class are located;
- constructing the graphical user interface by adding or removing visual controls without user intervention, for invoking the modules associated with the successfully instantiated command classes to or from a basic graphical user interface for the program.
A system for dynamically constructing a graphical user interface associated with a program, comprising:
- a command class library to store a plurality of command classes, the command classes representing an additional function for use with the program, wherein each command class includes:
- a constructor for maintaining a list of required packages that each respective command class requires to perform its associated additional function;
- and
- a package portion for instantiating the packages, and
- an execution unit to attempt to instantiate a predetermined number of command classes from the plurality of command classes, to invoke each constructor in the predetermined number of command classes to attempt to locate any packages needed for successful instantiation of each command class, and to construct a graphical user interface that contains functions corresponding to the program and any successfully instantiated command classes.
A method for dynamically constructing a graphical user interface associated with a program, comprising the steps of
- storing a plurality of command classes in a memory, each command class representing an additional function for use with the program;
- executing the program;
- attempting to locate items for successful instantiation of the command classes during execution of the program;
- declaring an instantiation of one of the command classes successful only if all of the items for the command class are located;
- constructing a default graphical user interface including default program functions in the event none of the command classes are instantiated;
- and
- constructing a second graphical user interface including the default program functions and functions corresponding to any successfully instantiated command classes.
A data processing system comprising:
- a memory including
- a program,
- a command class area to store a plurality of command classes that represent additional modules for use with the program, wherein the command class includes a constructor to locate items for successful instantiation of the command class;
- and
- a runtime environment to attempt to instantiate the command classes at run-time of the program without updating the program, to determine which of the command classes were instantiated successfully, and to construct a graphical user interface for the program by adding or removing visual controls for invoking the additional modules of the successfully instantiated command classes, without user intervention;
- and
- a processor for executing the program and the runtime environment.
Dependencies are inferred from the claim text.