Today, I found information for one day on the Internet and downloaded the n-plus versions of EMF, GEF, and SWT packages to finally configure ve.
Because ve requires the support of EMF, GEF, and SWT plug-ins, and there is a great relationship between their versions. This afternoon, I spent the whole afternoon reading a lot of materials and the results became more and more confused. A lot of waste! The key is the version! Finally, this simple article plays a role.
Http://www.javaresearch.org/article/showarticle.jsp? Column = 91 & Thread = 26085
The descriptions of VE, EMF, GEF, and SWT are not much. Let's just say how to run ve.
1. Download related plug-ins
First download a version of VE.
Http://www.eclipse.org/downloads/index.php
I downloaded: VE-runtime-1.0.2.2.zip
Note that there is a text and link in front of the page for downloading ve:
Requirements-Please read this section first
Eclipse build eclipse-SDK-3.0.2: (build page) (download Win32 zip)
EMF build 2.0.2: (build page) (download zip)
GEF build 3.0.1: (build page) (download zip)
These are the eclipse emf gef versions that can be used together.
In addition, my JDK is 1.4.2.
2. Install the emf gef plug-in
After the download, copy the decompressed features and pluagins directories of emf gef to the eclipse directory, so that these two plug-ins can be installed.
3. SWT Configuration
Find the org. Eclipse. SWT. win32_3.0.2/OS/Win32/x86 directory under plugplugin and copy the DLL file to the JDK bin directory. Eclipse3.0.2 contains the SWT package. It took me a few hours to download and install SWT. It's silly!
The configuration should be completed in this step.
4. Practice
In eclipse, create a new project-Hello. In this project, select project-> properties, select Java build path on the left, select the libraries tab on the right, and click Add library, select Standard Widget Toolkit (SWT) and click Next. Select include support for jface library. in this way, you can use the SWT jface control. select your project hello. select the new icon button, the top left.
Then visual class appears! As a result, how to use VE in the future will not talk about a lot of information on the Internet.