Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Implementation method of form designer based on layout template in Eclipse

A layout and template technology, applied in the information field, can solve the problems of difficult nesting layout form control styles, etc., to achieve the effect of easy operation

Inactive Publication Date: 2012-10-03
PCI TECH GRP CO LTD
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the traditional design method based on table layout and form layout is difficult to solve nested layout problems and style problems of form controls

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
  • Implementation method of form designer based on layout template in Eclipse

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0016] Embodiment one, see figure 1 .

[0017] The present invention provides an implementation of a form designer based on a layout template, and its development and implementation process is as follows:

[0018] 1) Through the wizard page, select the layout template used in the form design. The wizard page provides the parameter legend of the layout template effect diagram, which is convenient for users to choose.

[0019] 2) After the layout template is selected, the system automatically completes the layout style of the design view, builds the GEF model, and generates the layout template code of the source code view.

[0020] 3) The user can drag and drop to adjust the size of the layout sub-window, which is suitable for placing controls in the window.

[0021] 4) Drag and drop each form control element into the form layout cell of each sub-window, and set the control properties.

[0022] 5) Save the changes. At this point, you can switch to the source code view to vie...

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 an implementation method of a form designer based on layout template in Eclipse. Based on the flexible GEF (graphical editing framework) plug-in framework of Eclipse, the construction of the enterprise self-owned form designer in J2EE (java 2 platform enterprise edition) integrated development environment is more convenient. However, the conventional design manner based on Grid layout, Form layout and so on is difficult to solve the problem of nested layout of form controls and the problem of form style. The method provided by the invention can simplify the code generation problem of nested layout by defining a layout template, and can well realize the form design effect of WYSIWYG (What-You-See-Is-What-You-Get) through a self-defined tag technology. Meanwhile, a simple layout algorithm is provided for the code generation so as to realize smarter code generation while adding and deleting elements on the form.

Description

technical field [0001] The invention relates to the field of information technology, in particular to the realization of the Eclipse plug-in GEF form designer. Background technique [0002] Form code generation technology is a common technology in Web application development. In projects such as workflow and business development environment, it is a key component. Form designers can generally be divided into two types, HTML online editor and IDE form designer. In the usage scenario of independently managing page resources, an HTML editor can be used, but in more applications, it is necessary to interact with the background code, so integrating the form designer in the IDE has a wider use value. [0003] Due to the flexible GEF plug-in framework of Eclipse, it is possible to build an enterprise-owned form designer in the J2EE integrated development environment. However, the traditional design methods based on table layout and form layout are difficult to solve nested layou...

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
IPC IPC(8): G06F9/44
Inventor 周涛蒋玉芬田之进
Owner PCI TECH GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products