UIContributions¶
Pascaline UI Contributions can be divided in the following categories:
- Wizards
- Perspective
- Editor
- Outline
This page describes how they are implemented.
Wizards¶
Pascaline contains so-called newWizards. These wizards are intended to create new elements (like projects, source folders, files, types, and so on). They are contributed through the org.eclipse.ui.newWizards.
The newWizards contributed by Pascaline can be seen by changing to the FreePascal perspective and displaying the New submenu of the popup menu (it should also be an icon in the toolbar which shows the same set of wizards).
Perspective¶
The Pascaline perspective defines the views that will be presented to the user and their layout. Pascaline resuses the CView (the view defined by the CDT for C/C++ projects).
Editor¶
The editor is responsible of highlighting reserved words, variables, etc.
Outline¶
Not available yet. We are developing a parser for this.
References¶
This is a list of useful references about Eclipse and the UI:
- How to know about commands
- New menu contributions
- More on Commands
- Intros
- Handlers
- Creating a view
- Menu contributions interesting because it describes menu URIs (how to place your option where you want based on existing options).
- Expressions, needed to make your commands enable and visible.