Method and system for sharing a menu by multiple components in a component-based computer system
First Claim
1. A method for sharing a graphical user interface menu by multiple embedded components in a component-based computer system, said method comprising the steps of:
- in response to a selection of one or more of said embedded components within an active component by a user, determining whether any of said selected embedded components has a menu extension associated therewith;
in response to a determination that none of said selected embedded components has a menu extension associated therewith, attaching options from said active component to said graphical user interface menu and displaying said graphical user interface menu;
in response to a determination that at least one of said selected embedded components has a menu extension associated therewith, determining whether there is more than one type of menu extension among all of said selected embedded components;
in response to a determination that there is only one type of menu extension among all of said selected embedded components;
obtaining said menu extension from any one of said selected embedded components, attaching options from said menu extension to said graphical user interface menu, attaching options from said active component to said graphical user interface menu, and displaying said graphical user interface menu; and
in response to a determination that there is more than one type of menu extension among all of said selected embedded components;
seeking options from each menu extension that are common to all of said selected embedded components, attaching said common options to said graphical user interface menu, attaching options from said active component to said graphical user interface menu, and displaying said graphical user interface menu.
1 Assignment
0 Petitions
Accused Products
Abstract
In a component-based system such as OpenDoc, only one component can be "active," such that only the active component has control of the menubar and the pop-up menus. An active component may contain both intrinsic contents and embedded components. The active component allows the user to "select" some or all of its embedded components such that the user can act on the selected embedded components. When the selection is an intrinsic content, it is straightforward for the active component to present menu options that allows the user to interact with the selection. However, when the selection is an embedded component, there is no standard method for presenting menu options that allows the user to interact with selected embedded component; especially when multiple embedded components are selected within a compound document. This invention provides a method for sharing a menu by multiple embedded components in a component-based computer system.
66 Citations
11 Claims
-
1. A method for sharing a graphical user interface menu by multiple embedded components in a component-based computer system, said method comprising the steps of:
-
in response to a selection of one or more of said embedded components within an active component by a user, determining whether any of said selected embedded components has a menu extension associated therewith; in response to a determination that none of said selected embedded components has a menu extension associated therewith, attaching options from said active component to said graphical user interface menu and displaying said graphical user interface menu; in response to a determination that at least one of said selected embedded components has a menu extension associated therewith, determining whether there is more than one type of menu extension among all of said selected embedded components; in response to a determination that there is only one type of menu extension among all of said selected embedded components; obtaining said menu extension from any one of said selected embedded components, attaching options from said menu extension to said graphical user interface menu, attaching options from said active component to said graphical user interface menu, and displaying said graphical user interface menu; and in response to a determination that there is more than one type of menu extension among all of said selected embedded components; seeking options from each menu extension that are common to all of said selected embedded components, attaching said common options to said graphical user interface menu, attaching options from said active component to said graphical user interface menu, and displaying said graphical user interface menu. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A component-based computer system for sharing a graphical user interface menu by multiple embedded components, said system comprising:
-
means for determining whether any of said selected embedded components has a menu extension associated therewith, in response to a selection of one or more of said embedded components within an active component by a user; means for attaching options from said active component to said graphical user interface menu and displaying said graphical user interface menu, in response to a determination that none of said selected embedded components has a menu extension associated therewith; means for determining whether there is more than one type of menu extension among all of said selected embedded components, in response to a determination that at least one of said selected embedded components has a menu extension associated therewith; means for obtaining said menu extension from any one of said selected embedded components, attaching options from said menu extension to said graphical user interface menu, attaching options from said active component to said graphical user interface menu, and displaying said graphical user interface menu, in response to a determination that there is only one type of menu extension among all of said selected embedded components; and means for seeking options from each menu extension that are common to all of said selected embedded components, attaching said common options to said graphical user interface menu, attaching options from said active component to said graphical user interface menu, and displaying said graphical user interface menu, in response to a determination that there is more than one type of menu extension among all of said selected embedded components. - View Dependent Claims (8, 9, 10)
-
-
11. A computer program product residing on a computer usable medium for sharing a graphical user interface menu by multiple embedded components in a component-based computer system, said computer program product comprising:
-
program code means for determining whether any of said selected embedded components has a menu extension associated therewith, in response to a selection of one or more of said embedded components within an active component by a user; program code means for attaching options from said active component to said graphical user interface menu and displaying said graphical user interface menu, in response to a determination that none of said selected embedded components has a menu extension associated therewith; program code means for determining whether there is more than one type of menu extension among all of said selected embedded components, in response to a determination that at least one of said selected embedded components has a menu extension associated therewith; program code means for obtaining said menu extension from any one of said selected embedded components, attaching options from said menu extension to said graphical user interface menu, attaching options from said active component to said graphical user interface menu, and displaying said graphical user interface menu, in response to a determination that there is only one type of menu extension among all of said selected embedded components; and program code means for seeking options from each menu extension that are common to all of said selected embedded components, attaching said common options to said graphical user interface menu, attaching options from said active component to said graphical user interface menu, and displaying said graphical user interface menu, in response to a determination that there is more than one type of menu extension among all of said selected embedded components.
-
Specification