-
Book Overview & Buying
-
Table Of Contents
Eclipse Plug-in Development Beginner's Guide - Second Edition
By :
The example will be based on a (made-up) markup language called minimark—which is essentially a plain text file with blank delimited paragraphs that can be translated into an HTML file. This will involve creating an editor for text-based content for minimark files.
Create a new plug-in project called com.packtpub.e4.minimark.ui by going to File | New | Project | Plug-in project and fill in:
Project name: com.packtpub.e4.minimark.ui
Click on Next and fill in:
ID: com.packtpub.e4.minimark.ui
Version: 1.0.0.qualifier
Name: Minimark
Vendor: PACKTPUB
Ensure that the Create an Activator option is selected
Ensure that this plug-in will make contributions to the UI option is selected
Ensure that the Create a Rich Client Application option is not selected
Click on Finish and a new plug-in will be created.
The next step is to create an editor for the minimark files. Open the plug-in's manifest, by right-clicking on the project and selecting Plug-in Tools | Open Manifest...
Change the font size
Change margin width
Change background colour