Font Size: a A A

XML Technology Application Of Vehicle Information Platform Graphical User Interface Development

Posted on:2013-05-16Degree:MasterType:Thesis
Country:ChinaCandidate:J YuFull Text:PDF
GTID:2248330392457701Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
With the rapid development of the information age, the graphical user interfacedesign in software development becomes more and more important, and visualizationdevelopment as an important means of graphical interface design for its use convenient,direct display gets more and more applications. Extensible markup language XML withthe advantages of cross-platform, compressible, powerful functions and good, simple andeasy upgrade which are widely used in various fields.This project namely, vehicle information platform graphical user interface system forHXD1C locomotive screen shows interface, the visual programming method fordevelopment. GUI system based on embedded operating system, the Eclipse developmentplatform for support, the use MiniGUI graphics library as the main graphics support, withthe aid of XML as interface middle representation. Firstly, this paper introduces thedevelopment in the process of use of related techniques: Eclipse of the platform structureand GEF structure, the plugin MiniGUI interface graphical library and the characteristicsof the use of advantages, embedded operation system characteristic and the structure of theVxWorks. And then have a system analysis of the requirement of the on-boardinformation platform graphical interface. According to the analysis, the designing idea ofdeviding the GUI into interface design tools module, graphical interface module, codegeneration module has been put forward. This article mainly focuses on the interfaceautomatically generated graphics interface module and code generation module and givesthe detailed design. The plugin transformation design idea is put forward in a graphicalinterface module. The use of XML parser dom4j, increases the code reuse, reduces theusers to edit time and makes interface real-time update. In the code generation module,Java code can be automatically generated through the code, and by using the eventlisteners to some of the control of modified, the interface can be updated, the XMLdocuments generated time is shortened, then middleware work flow chart of therealization of the C Java calls is given to complete MiniGUI graphics library interfacedisplay. Finally, respectively realize the two modules of the system: detailed GEF is given based on the interface of the plugin and edit the XML document generation, with dom4jtraverse the process of analysis. According to the code generation algorithm to realizeautomatic code generation, again by code calls MiniGUI graphics library completesdisplay work method. In the last panel to pressure for an example test, the completion ofthe formation of the corresponding part of XML document, gets automatic generation ofJava code and through the middleware calls for MiniGUI indication dial graphics.The completion of the on-board information platform graphical interface systeminterface automatic generation by XML application, realizes the graphical interface visualdesign, interface and the user to "what you see is what you get".
Keywords/Search Tags:Extensible markup language, Graphic user interface, Dom4j, Code automatic generation
PDF Full Text Request
Related items