... | ... | @@ -77,7 +77,27 @@ Parts can communicate using the eclipse 4 RCP bus, which is called the EventBrok |
|
|
|
|
|
## Parts in ATHEN
|
|
|
|
|
|
If you start ATHEN, you usually end up in the annotation perspective. In this perspective you will always see the previously shown layout of the parts, with only the project explorer being visible.
|
|
|
If you start ATHEN, you usually end up in the annotation perspective. In this perspective you will always see the previously shown layout of the parts, with only the project explorer being visible. Now it is time to further address the purpose of those parts.
|
|
|
|
|
|
# The Project Explorer
|
|
|
|
|
|
In the beginning, the project explorer shows which projects are available in the workspace. This is its main purpose. Its other main feature is to listen to the filesystem for changes and immediately reflect them in the explorer (which means you can just change the filesystem and the application remains up-to-date)
|
|
|
|
|
|
Currently the project explorer allows the user to perform **delete**, **copy** and **paste** options from the operating system to the project explorer and vice versa.
|
|
|
|
|
|
The Project Explorer allows to open a document, which is caused by either double clicking or pressing Enter on a single document.
|
|
|
This causes an event to be fired which notifiys the current editor, that a document should be opened. A fitting reader is searched and the final document (in the form of a CAS) is handed over to the editor (by the use of the EventBroker)
|
|
|
|
|
|
# The Editor
|
|
|
|
|
|
The Editor is the heart of ATHENs Userinterface. After the project explorer requested that a document should be opened, the editor starts to display the document. From now on, the editors main purpose is to keep its listening Views and Analyzer parts up to date. Which means, that after the editor performed internal initializations, it immediately notifies all listening parts for a document change, this cause a change in the corresponding parts.
|
|
|
|
|
|
# The Views
|
|
|
|
|
|
The views, which is every part which is located to the right of the editor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
... | ... | |