User interface dynamic generation method and device based on rich client platform

A rich client and user interface technology, applied to program control devices, etc., can solve problems such as compilation errors, waste of time and manpower, poor user interface effects, etc., and achieve the effect of reducing the amount of code and improving accuracy

Inactive Publication Date: 2013-09-18
TIANJIN TIANAN YIHE INFORMATION TECH
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In actual application, programmers need to write a lot of code, and when the layout and controls of the interface need to be modified, the source code needs to be searched and recompiled, which wastes a lot of time and manpower, and when the source code is recompiled, It also causes compilation errors and the resulting user interface doesn't look good

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
  • User interface dynamic generation method and device based on rich client platform
  • User interface dynamic generation method and device based on rich client platform
  • User interface dynamic generation method and device based on rich client platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, technical solution and advantages of the present invention clearer, the implementation manners of the present invention will be further described in detail below.

[0022] In order not to recompile the source code and save time and manpower, the embodiment of the present invention provides a method for dynamically generating a user interface based on a rich client, that is, the layout of the user interface and the definition of controls in the user interface are implemented through metadata. , see figure 1 , see the description below:

[0023] 101: Configure metadata to define page layout and controls;

[0024] The specific operation process of this step is: defining metadata nodes, and assigning attributes to each node.

[0025] The root node composite is defined as the root node of the metadata file, and the metadata in the embodiments of the present invention are described using xml as an example.

[0026] Define the interface layout ...

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 discloses a user interface dynamic generation method and device based on a rich client platform. The method comprises the following steps: configuring metadata, and defining the page layout and a control; entering into the interface of the rich client platform, reading the configured metadata, setting the configured metadata, and generating the interface layout format; generating a control object through the defined control format, and generating the user interface of the rich client platform jointly by the control object and the page layout format. The device correspondingly comprises a configuration module, a first generation module and a second generation module. Through the configuration of the metadata, the definition of the page layout and the control on the interface is controlled, the code quantity is reduced, and the trouble due to recoding in modifying the interface is avoided, so that the code quantity of a programmer is reduced, the interface generation precision is improved, and the interface layout and the control are defined more clearly, so that various requirements in practical application are met.

Description

technical field [0001] The invention relates to the field of dynamically generating a user interface, in particular to a method for dynamically generating a user interface based on a rich client and a generating device thereof. Background technique [0002] Eclipse rich client is from plug-in development to desktop application development, build a minimal Eclipse platform to run desktop applications, no need to worry about the program framework, get rid of the failed AWT (Abstract Windowing Toolkit) and Swing, let the program have professional-level effects, and The implementation is simple and elegant. [0003] For developers, although the rich client is used to develop desktop applications, the rich client gives developers more feeling that it takes full advantage of the plug-in system, and the rich client can be regarded as based on OSGi ( Open Service Gateway Initiative) is the best practice guide for building plug-in systems. Many of the design methods can be organized...

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/44
Inventor 潘志江肖成光
Owner TIANJIN TIANAN YIHE INFORMATION TECH
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