| ... |
... |
@@ -1,5 +1,7 @@ |
| 1 |
|
-This tutorial will teach you the basics of writing plugins that run inside the Eclipse framework. You will learn about editors, views, and extension points by creating one of each yourself. |
|
1 |
+This tutorial will teach you the basics of writing plugins that run inside the Eclipse framework. You will learn about editors, views, and extension points by creating one of each yourself. Once you're done with this tutorial, you will have an application that will look something like this: |
| 2 |
2 |
|
|
3 |
+[[image:attach:result.png]] |
|
4 |
+ |
| 3 |
3 |
You may want to download [[the slides>>attach:presentation.pdf]] of the presentation explaining the basic concepts you will explore in this tutorial. |
| 4 |
4 |
|
| 5 |
5 |
|
| ... |
... |
@@ -585,7 +585,7 @@ |
| 585 |
585 |
|
| 586 |
586 |
We will now create a new plug-in with a new head controller: |
| 587 |
587 |
|
| 588 |
|
-1. Create a new plug-in {{code language="none"}}de.cau.cs.rtprak.login.simple.extension{{/code}}. In the //Plugin Manifest Editor//, add {{code language="none"}}de.cau.cs.rtprak.login.simple{{/code}} to the dependencies of the new plug-in. |
|
590 |
+1. Create a new plug-in {{code language="none"}}de.cau.cs.rtprak.login.simple.extension{{/code}}. (Remember to create the project in your Git repository.) In the //Plugin Manifest Editor//, add {{code language="none"}}de.cau.cs.rtprak.login.simple{{/code}} to the dependencies of the new plug-in. |
| 589 |
589 |
1. Create a new class that implements {{code language="none"}}IHeadController{{/code}}:\\ |
| 590 |
590 |
1*. Assuming that the initial head position is 1, the controller shall copy the input text infinitely often. So if the tape initially contains the word {{code language="none"}}hello{{/code}}, the controller shall generate {{code language="none"}}hellohellohellohe...{{/code}} . |
| 591 |
591 |
1*. Your class needs some private fields to store the internal state of the controller, and you may need some special character as marker. Imagine how a Turing Machine would do this. |