Dynamic mating of a modified user interface with pre-modified user interface code library
First Claim
1. A method of generating a mapping between modified components of a software application user interface and an existing software code library, comprising:
- receiving a pseudo user interface presentation file for describing modifications to components of the user interface and for describing events associated with the components of the user interface;
at runtime of a software application, passing the pseudo user interface presentation file to a user interface render engine for generating a user interface presentation file for rendering a modified user interface in a displayed form as modified by the modifications to components of the user interface;
at the render engine, parsing the pseudo user interface presentation file and obtaining the modifications to the components of the modified user interface;
at the render engine, generating a table that maps events associated with the modified user interface with one or more event handlers associated with the existing software code library;
rendering the modified user interface according to the user interface presentation file;
generating a generic software code library for allowing interaction between the modified user interface and the existing software code library via the generated mapping, wherein upon receiving an event associated with the modified user interface that is identified as an action associated with a user interface button which is different than a user interface button action expected by the one or more event handlers, the received event is mapped to an associated one of the one or more event handlers in the existing software code library; and
processing events received via the modified user interface at the existing software code library via the generic software code library.
2 Assignments
0 Petitions
Accused Products
Abstract
Mating of a modified user interface to existing user interface code is provided. When a user interface is modified, a pseudo code representation of the modified user interface is generated. At application runtime, the pseudo code representation is passed to a user interface render engine that is modified to parse the pseudo code representation to generate a representation of the modified user interface that may be processed by the render engine for rendering the modified user interface for display. A generic code library is generated for receiving events from the modified user interface and for passing the received events to proper event handlers in the existing code library without the need to modify the existing code library in response to modifying the user interface.
35 Citations
14 Claims
-
1. A method of generating a mapping between modified components of a software application user interface and an existing software code library, comprising:
-
receiving a pseudo user interface presentation file for describing modifications to components of the user interface and for describing events associated with the components of the user interface; at runtime of a software application, passing the pseudo user interface presentation file to a user interface render engine for generating a user interface presentation file for rendering a modified user interface in a displayed form as modified by the modifications to components of the user interface; at the render engine, parsing the pseudo user interface presentation file and obtaining the modifications to the components of the modified user interface; at the render engine, generating a table that maps events associated with the modified user interface with one or more event handlers associated with the existing software code library; rendering the modified user interface according to the user interface presentation file; generating a generic software code library for allowing interaction between the modified user interface and the existing software code library via the generated mapping, wherein upon receiving an event associated with the modified user interface that is identified as an action associated with a user interface button which is different than a user interface button action expected by the one or more event handlers, the received event is mapped to an associated one of the one or more event handlers in the existing software code library; and processing events received via the modified user interface at the existing software code library via the generic software code library. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer readable medium containing computer executable instructions which when executed by a computer perform a method of generating a mapping between modified components of a software application user interface and an existing software code library, the method comprising:
-
at the software application, receiving a pseudo Extensible Application Markup Language (pXAML) user interface presentation file for describing modifications to components of the user interface and for describing events associated with components of the user interface; at software application runtime, passing the pXAML presentation file to a user interface render engine for generating an Extensible Application Markup Language (XAML) user interface presentation file for rendering a modified user interface in a displayed form as modified by the modifications to components of the user interface; at the render engine, parsing the pXAML presentation file and obtaining the modifications to the components of the modified user interface; at the render engine, generating a table that maps events associated with the modified user interface with one or more event handlers associated with the existing software code library; rendering the modified user interface according to the user interface presentation file; generating a generic software code library for allowing interaction between the modified user interface and the existing software code library via the generated mapping, wherein upon receiving an event associated with the modified user interface that is identified as an action associated with a user interface button which is different than a user interface button action expected by the one or more event handlers, the received event is mapped to an associated one of the one or more event handlers in the existing software code library; and processing events received via the modified user interface at the existing software code library via the generic software code library. - View Dependent Claims (8, 9)
-
-
10. A computer system for generating a mapping between modified components of a software application user interface and an existing software code library, comprising:
-
a memory for storing executable program code; and a processor, functionally coupled to the memory, the processor being responsive to computer-executable instructions contained in the program code and operative to; receive a pseudo user interface presentation file for describing modifications to components of the user interface and for describing events associated with components of the user interface; parse the pseudo user interface presentation file to obtain the modifications to the components of the user interface; generate a table that maps events associated with the modified user interface with one or more event handlers associated with the existing software code library; render a modified user interface in a displayed form as modified by the modifications to the components of the user interface; receive events via the modified user interface; and generate a generic software code library for allowing interaction between the modified user interface and the existing software code library via the generated mapping, wherein upon receiving an event associated with the modified user interface that is identified as an action associated with a user interface button which is different than a user interface button action expected by the one or more event handlers, the received event is mapped to an associated one of the one or more event handlers in the existing software code library. - View Dependent Claims (11, 12, 13, 14)
-
Specification