Font Size: a A A

Development And Implementation Of Common Controls And Tools For Designing Interface In Quality Inspection Management System For Construction Material

Posted on:2010-05-31Degree:MasterType:Thesis
Country:ChinaCandidate:W SunFull Text:PDF
GTID:2178360272496233Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
The topic of this thesis is based on the database and the Intelligent Network department, Changchun material testing machine co, Ltd, Inspection and management system of construction material's quality developed by the center of construction material's quality inspection of Qiqihaer. This thesis mainly focuses on the design of the control and to editing tools of building materials examination system. It is based on the SWT control to make the specific control that used for building materials examination into application. The writer of this thesis used GEF the MVC frame to realize the surface editing tool, and use the JET engine to produce the corresponding code. The entire topic includes two parts, inventing and realizing the surface editing tool used in experimenting the building materials examination system and withdrew control information that can be used repeatedly.This article starts from the research background and the significance of the commonly used control and the surface editing tools, undergoing the demand analysis, the design, finally gives the realization of the plan.This article introduced GEF and the JET code forming technology in detail and introduced the development of Eclipse plug-in and the SWT/JFACE technology briefly. As far as the research background and the significance concern, the thesis mainly introduces building materials examination system, commonly used control and surface editing tools briefly. For the part of the demand analysis and design on the commonly used control, it firstly briefly introduced the structure of the building material examination management system management system. And based on this, the thesis analyzes the demand of the commonly used control, then give the integrated design formula of commonly used control.In the part of the demand analysis and design of the surface editing tools, it elaborated on the classification and the function description of the surface editing tools and analyzing the demand and gives the overall thought of the surface editing tools at last. In the part of the control and the surface editing tool, it briefly introduces the technology of systematically application of them. In the part of the program installment and deployment, it introduced the installment of the inspection and management system of building materials and the database initialization plan of the database.The construction industry's own characteristics, quality inspection involves many testing items, the complexity of the calculating process is complicated, rapid speed of updating of the standard, so it has high demand of the building materials quality examination management system. If the programmer does all tests, there will arise the situation as redundant data storage and the degree of data sharing is not high. And the code written by the programmer does not guarantee high accuracy and impartiality, however, the testing organization must provide high-quality test results to the society. There are two plans to resolve the above problems. One is extracting the public control and the other is developing the surface editing tools. The application of these two ways may increase the recycle use of codes and speed up the the software development, as a result, improving the code's quality. The extracted public control can be employed at the surface editing tools; the developer can use the mouse drag in the surface editing tools and a small amount of the property setting to make a test framework code, including surface setting code and database allocation code. The developers add some business logic to it; then the entire experiment may be used. The code generation part is automatically generated by the program so improve the quality of the code may be improved and reduce the workload of the developers' workload may be reduced.This article mainly realizes three modules in the building material quality detection system. They are demand analysis and the design of the commonly used controls, the demand analysis and the design of the surface editing tool, the installment and the deployment of the database. The first two parts have a close connection with the implementation of the editing control. And the third part comparatively is independent, probing the problems of programming package and installment. The commonly used controls are inherited from SWT/JFACE controls, and have certain unique functions. It can be used in recording the revision control in the process of revising, in demonstrating the concrete information, realizing certain special functions. The revising controls have associated information with the database. In the procedure of preserving program, the revising control will dispatch the corresponding program to preserve the information in corresponding database, and record related revising process. By extracting the revising control, the developer no longer needs to write database-related code. Through allocating information, all the database operations can be done by main program. Extracting of common control not only improve the reusability of the code and allow developers to focus on the business logic writing.Interface editing tool mainly has two parts: visualization tools and code generation technology. Visualization tools used GEF framework and realization it in accordance with the MVC pattern. This paper firstly analyzes the style and function of interface editing tools. And in accordance with the requirements of GEF, designing models, controls and interface respectively. And control design is the core part of interface design. It includes design of editing strategy and design of the commanding objects. Editing strategy mainly installed in controls. The operation of users' graphics interface has been converted to the corresponding strategy to the controls. It is the commanding objects that really operate the corresponding models. The code generation part mainly uses JET and Eclipse Builder to achieve. JET is based on the template code generation technology. It is the main ode generation technology of EMF. Using JET can conveniently generate the corresponding code and JET template can accept the inputting object as parameter, and using Java code to recycle: stating the variables or carry out logic flow control. Eclipse builder can work automatically when resources change, through the Eclipse extension mechanism to install customer-made builder to the Eclipse program. In this way, when the resource changes, the builder was informed and use JET code to generate corresponding document. Interface editing tool not only speed up the program development but also improve the code's quality for the interface code and allocation information are generated automatically by the program. So the developers need not to write the interface code repeatedly. The program's installment and deployment mainly introduced the installment program in the building materials examination system and the method of database initialization. The installment program mainly uses InstallShield software, using its own Installment guidance may easily generate the installation program. The database—initializing part introduced the needed database table, the view, the memory process and the allocation information of the initialization of building materials examination system.This topic realized the public controls in building materials examination system and interface editing tools. Using these tools can accelerate the development speed of building materials examination system,increase the code's reusability and improve the code's quality. At the same time, this topic realizes the installment program in building materials examination system, including the program and database's installment and initialization.
Keywords/Search Tags:Code Generation, GEF, Eclipse, JET
PDF Full Text Request
Related items