Creating Signatures
After you created a new Eclipse Project and the
Repository inside this project is created, you can start to define
different signatures as shown below:
- In the Package Explorer, open your project and double-click on myRepository.sse_repo_diagram.
The new editor will look like the picture below. In the right side,
you can see the Palette's view and in the left side, all your projects are shown.
(When you use SSE for the first time, you might have to open the palette first by clicking the white arrow/triangle at the right end of the editor window.)
- Now you can create an interface. For this, you should select
from the palette, and click on the canvas, so that an
interface is created. You can name them by filling the field Name in the Properties View.
If the Properties View is not shown in your screen, you have to navigate to Window > Show View > Other...
- Then, click General > Properties > Ok.
- Fill the field Name in the Properties View for naming your
.
In our case, we call it searchRoomRequestInterface.
From the name you can see that we just create a Requester Interface.
- For an
it is possible to add more than one Operation,
to do that, you have to hover over the
and then click
Add Operation Signature.
- After the Opertaion is created,
you can change its name in
the Properties View.
- In the same way, you can create interfaces for the Provider side.
In our example the Provider Interface is called searchRoomProviderInterface.
In the same way, you can assign different Operations to it.
- After the interfaces are created, you can assign
to them.
In order to do that, you should select
from the palette, and click on the canvas, so that
a
is created
- Now you can connect the
with the
.
Based on the type of the
(Provider/Requester) you can use
or
. For this, you should select the desired Role, and drag it from the source to the target.
- Continue with...Creating Signature Parameters