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
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...