.NET ribbon model for a ribbon user interface
First Claim
1. A computer system including a processor and memory for providing an alternate model for a primary model for extending a user interface of a host application by custom code, the primary model using a non-programmatic description of the relationship between components of the user interface and using a callback mechanism to provide notifications to the custom code, the system comprising:
- for each component type of the user interface, a class definition including an implementation of a get description method for dynamically generating a non-programmatic description of the component from a programmatic description of the component and its relationship to other components;
a specification of the relationship between components, wherein the specification of the relationship between components is a class definition for a user interface component with an initialize method for specifying the relationship between components;
an implementation of get user interface function to be invoked by the host application to get the non-programmatic description of the user interface, the get user interface function invoking the get description method of the user interface component for dynamically generating the non-programmatic description;
an implementation of an invoke function to be invoked by the host application to provide notifications to the custom code, the invoke function for converting an invocation to an event notification for a component of the extended user interface; and
a unique identifier generated for each component callback, the unique identifier passed by the custom code to the host application and returned from the host application to the custom code when the host application invokes the invoke function,wherein the methods and functions are stored in the memory and executed by the processor.
2 Assignments
0 Petitions
Accused Products
Abstract
An object model is provided that allows .NET developers to customize the Office Ribbon user interface according to a .NET Ribbon model rather than the Ribbon XML/callback model of Office applications. The .NET Ribbon model implements the IRibbonExtensibility interface and provides properties and events for Ribbon components. At runtime, the .NET Ribbon model generates and provides an Office application or document with the XML needed to render the custom Ribbon user interface. A visual designer tool uses the .NET Ribbon model to provide .NET developers with a component view architecture that allows developers to set component properties and generate events.
-
Citations
20 Claims
-
1. A computer system including a processor and memory for providing an alternate model for a primary model for extending a user interface of a host application by custom code, the primary model using a non-programmatic description of the relationship between components of the user interface and using a callback mechanism to provide notifications to the custom code, the system comprising:
-
for each component type of the user interface, a class definition including an implementation of a get description method for dynamically generating a non-programmatic description of the component from a programmatic description of the component and its relationship to other components; a specification of the relationship between components, wherein the specification of the relationship between components is a class definition for a user interface component with an initialize method for specifying the relationship between components; an implementation of get user interface function to be invoked by the host application to get the non-programmatic description of the user interface, the get user interface function invoking the get description method of the user interface component for dynamically generating the non-programmatic description; an implementation of an invoke function to be invoked by the host application to provide notifications to the custom code, the invoke function for converting an invocation to an event notification for a component of the extended user interface; and a unique identifier generated for each component callback, the unique identifier passed by the custom code to the host application and returned from the host application to the custom code when the host application invokes the invoke function, wherein the methods and functions are stored in the memory and executed by the processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method in a computer system for providing an alternate model for a primary model for extending a user interface of a host application of the computer system by custom code, the primary model using a non-programmatic description of the relationship between components of the user interface and using a callback mechanism to provide notifications to the custom code, the method comprising:
-
for each component type of the user interface, implementing by the computer system a class definition including a get description method for dynamically generating a non-programmatic description of the component from a programmatic description of the component and its relationship to other components; implementing by the computer system a class definition for a user interface component including an initialize method for specifying the relationship between components; invoking by the host application a get user interface function get the non-programmatic description of the user interface, the get user interface function invoking the get description method of the user interface component for dynamically generating the non-programmatic description; invoking by the host application an invoke function to provide notifications to the custom code, the invoke function for converting an invocation to an event notification for a component of the extended user interface; and generating a unique identifier for each component callback, the unique identifier passed by the custom code to the host application and returned from the host application to the custom code when the host application invokes the invoke function. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification