... | ... | @@ -94,7 +94,13 @@ The Editor is the heart of ATHENs Userinterface. After the project explorer requ |
|
|
|
|
|
## The Views
|
|
|
|
|
|
The views, which is every part which is located to the right of the editor
|
|
|
The views, which is every part which is located to the right of the editor reflect the current document which is opened in the editor. They represent the end of the event chain as they usually only consume events and do not notify other parts. Views define the behaviour of the editor, which could mean that the behaviour of a double click, or a key stroke could differ complete, when different views are active.
|
|
|
|
|
|
Views of a perspective are all located in a so called partstack. Only the view which is currently focused communicates with the editor.
|
|
|
|
|
|
## The Analyzer
|
|
|
|
|
|
The Analyzer parts are the last group of interest. They are actually very similar to the views. However they should not reflect the complete document (which is currently) opened but a mere snippet of it. As an example let us use the SelectionAnalyzer, which shows all annotations that are located below the current position of the caret of the editor. As soon as the caret changes, the analyzer updates its content. Analyzer parts can communicate with the editor, similarly to the view parts. This allows e.g. that the user can delete annotations from an analyzer.
|
|
|
|
|
|
|
|
|
|
... | ... | |