GEF (graphical Editor Framework) Eclipse Project Starter series (2)---the building of the draw2d development environment

Source: Internet
Author: User

Graphical editor Framework Eclipse Project Primer Series (1)---overview, we've mentioned that the DRAW2D framework is an important part of the GEF framework. So how does the draw2d environment build up? In fact, it's easy to go to Eclipse's official website to download an Eclipse development environment (this department I will not repeat, there is a lot of information online). I am the author of the computer is Indigo, so I will take Eclipse Indigo as an example to show you draw2d development environment. For details, see the steps below.

(1) Open Indigo Eclipse, then click on Help---->install new software, will pop up a page, select the Update site Indigo



(2) After selecting an update site for Indigo, select the three projects under the Model node and the GEF project.



(3) After loading, restart Eclipse. The framework for running DRAW2D does not need to be in Eclipse's RCP framework, we use a common Java application. So create a new Java project. and set the following jar below the build path of the current normal Java application project. However, the author also added draw2d's Help documentation and source code to the current project, noting that draw2d's help documentation and source code are optional and not required.


? eclipse_home/plugins/
Org.eclipse.swt_3.7.x.vxxxx.jar


? eclipse_home/plugins/
Org.eclipse.swt.win32.win32.x86_3.7.x.vxxxx.jar


? eclipse_home/plugins/
Org.eclipse.draw2d_3.7.x.vxxxx.jar




(4) Congratulations, your environment is set up.


Next, the reader can start writing and running the example program. In the chapter, I will show you a simple example of Hello world. Please pay attention and look forward to ....


GEF (graphical Editor Framework) Eclipse Project Starter series (2)---the building of the draw2d development environment

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.