Method and device for generating application menu and application system

A technology for applying program menus and generating devices, applied in program control devices, special data processing applications, instruments, etc., can solve problems such as inconvenient maintenance and menus that do not support secondary development, and achieve the effect of convenient maintenance

Inactive Publication Date: 2010-05-26
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] To sum up, the menu obtained according to the existing method of generating the application program menu does not support secondary development and is not easy to maintain

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for generating application menu and application system
  • Method and device for generating application menu and application system
  • Method and device for generating application menu and application system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] figure 1 The implementation flow of the method for generating the application program menu provided by the first embodiment of the present invention is shown, and the details are as follows:

[0036] In step S101, the structural relationship information and menu item attributes of each menu item are read, and the menu item attributes include menu item names and operation objects;

[0037] Among them, the menu item is an option in the menu, and the menu item can be further divided into operation items, main menu and submenu, such as figure 2 As shown, specifically:

[0038] The main menu, which includes one or more operation items and / or menu items of submenus, and the menu corresponding to the application may include one or more main menus in parallel, figure 2 in the "menu A ","menu B "Main menu;

[0039] Operation item, belonging to a main menu or submenu, corresponding to an operation provided by the application, figure 2 "Operation 1( X )", "Operation 2 ( ...

Embodiment 2

[0055] In order to facilitate users to provide structural relationship information and menu item attributes of each menu item, as well as secondary development and maintenance of the generated menu, Figure 5 It shows the implementation process of the method for generating the application program menu provided by the second embodiment of the present invention, and steps S501 and S502 in the method for generating the application program menu are respectively related to figure 1 Steps S101 and S102 in the method for generating the application program menu shown are the same, and the only difference from the method provided by the first embodiment of the present invention is that before step S501, the structural relationship information of each menu item and the menu Item attribute parsing steps, specifically:

[0056] In step S500, the read configuration file is analyzed to obtain structural relationship information and menu item attributes of each menu item.

[0057] In the em...

Embodiment 3

[0097] In order to facilitate the generation of menus, in addition to operation items, main menus and submenus, menu items can also be dividing lines, Figure 6 The implementation flow of the method for generating the application program menu provided by the third embodiment of the present invention is shown, and the details are as follows:

[0098] In step S601, the read configuration file is analyzed to obtain a tree-shaped memory object model including structural relationship information of each menu item and menu item attributes;

[0099] In step S602, a node of the tree object model is taken out according to the traversal mode;

[0100] In step S603, it is judged whether the menu item corresponding to the node is the main menu, if yes, then execute step S604, otherwise execute step S605;

[0101] In step S604, construct the main menu object according to the menu item attributes contained in the node, and execute step S611;

[0102] In step S605, it is judged whether the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is suitable for the computer processing field, and provides a method and a device for generating an application menu, and an application system. The method comprises the steps of reading the structural relationship information and the attribute of each menu item, wherein the menu item attribute is composed of a menu item name and an operation object, and sequentially generating menu objects according to the read structural relationship information and attribute of each menu item. In the embodiment of the invention, the method for generating a menu for an application program is realized by sequentially generating the menu objects according to the read structural relationship information and attribute of each menu item, which supports secondary development and has convenient maintenance.

Description

technical field [0001] The invention belongs to the field of computer processing, and in particular relates to a method, device and application system for generating an application program menu. Background technique [0002] For the convenience of the user, the application program provides the user with a function entry through a drop-down menu, and the user selects the desired operation through the menu. Generally, the drop-down menu can have multiple layers, that is, sub-menus are supported. Programming languages ​​and software development tools usually provide various graphical user interface (Graphical User Interface, GUI) controls, including window (Frame) objects and the like. Usually, a window includes or can be added with a menu bar, and a drop-down application main menu can be constructed through an application programming interface (Application Programming Interface, API) provided by a programming language. [0003] Now, common ways to generate application menus ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F17/30
Inventor 李馥龙
Owner KINGDEE SOFTWARE(CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products