@@ -21,10 +21,7 @@ The class of the view serves as the glue between the layout of the view and the
...
@@ -21,10 +21,7 @@ The class of the view serves as the glue between the layout of the view and the
So the controller (our view class) serves as the glue between the actual UI and the editor. Let us see how this is done correctly.
So the controller (our view class) serves as the glue between the actual UI and the editor. Let us see how this is done correctly.
# Creating the View (The corresponding UI Element)
# The general goal
This section describes how to create a view using eclipse SWT.
## The general goal
The goal is to create the CorefView, a view with the purpose to quickly annotate character references and their corresponding cluster-ID.
The goal is to create the CorefView, a view with the purpose to quickly annotate character references and their corresponding cluster-ID.
The final result should look like this:
The final result should look like this:
...
@@ -32,6 +29,9 @@ The final result should look like this:
...
@@ -32,6 +29,9 @@ The final result should look like this:
<imgsrc="/uploads/fe1a1897b773194d50daad49cb3eedf2/corefViewOpened.PNG"alt="MVC of the editor and the views"style="width: 640px;"style="height: 480px;"/>
<imgsrc="/uploads/fe1a1897b773194d50daad49cb3eedf2/corefViewOpened.PNG"alt="MVC of the editor and the views"style="width: 640px;"style="height: 480px;"/>
## Creating the View (The corresponding UI Element)
This section describes how to create a view using eclipse SWT.