The GEF (graphical Editor Framework) Eclipse Project Primer Series (1)---overview

Source: Internet
Author: User

The full English name of GEF is the graphical Editor Framework. The Chinese books of the GEF are largely not available on the market. But a lot of Eclipse's two-time development projects may need to use the technology of Eclipse's GEF. GEF is one of the eclipse projects, and the well-known xmind software (http://www.xmind.net/) is developed based on GEF, such as the interface is very beautiful and flexible, in addition, the Windowbuilder tool (HTTP/ WWW.ECLIPSE.ORG/WB) was also developed by the base GEF, and a BPEL project in Apache was developed based on GEF. The above is just three examples, similar to the other examples are very many, the author is not listed.



Now that we know what GEF can do, how is the framework of the GEF formed? In other words, what technologies do you need to learn and learn about GEF? You crossing, and listen to the author slowly give you a word.

The GEF Eclipse Project consists of three major sectors: DRAW2D, Zest and GEF. Readers may be surprised to see why the GEF Eclipse Project also includes the GEF itself. In fact, it's a good idea to use the GEF as a replacement for the entire GEF Eclipse project, just like we sometimes use Beijing instead of China, just a name. The following three components are described below:

(1) draw2d

DRAW2D is a lightweight drawing framework. The so-called lightweight is relative to the heavyweight, lightweight refers to these draw2d drawing (figure) is a pure Java object drawn out, and the specific operating system resources are not directly linked. And heavyweight means that every SWT's widgets (parts) are APIs associated with specific operating system resources. What is the main function of draw2d? In plain view, draw2d is primarily used to display graphical information, so the draw2d graphic is displayed in the SWT canvas, and it is important to note that it does not provide interactive behavior.

(2) Zest

Zest is a framework built on the DRAW2D framework. It provides functionality similar to JFace (JFace relative to SWT). Using zest can easily bind a Java model with draw2d graphics.

(3) GEF

GEF is also a framework built on the DRAW2D framework. Provides a very rich API that allows users to interact with graphical interfaces, such as drag-and-drop artboards (palette), print, and physical manipulation of graphical interfaces (e.g., drawing wrong, canceling, or rolling back).

In short, the following picture represents the author's words.



Following the author's follow-up articles, we will introduce the relevant technologies of draw2d,zest and GEF, and combine some practical examples, so please look forward to ...




The GEF (graphical Editor Framework) Eclipse Project Primer Series (1)---overview

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.