Wiring the News assembly diagram
Complete the module assembly by wiring the nodes in the assembly diagram.
Follow these steps to wire the News assembly diagram:
Click the
Wire
icon
on the palette.
Click the Stand-alone References node
. The
Add Wire
window opens.
Click
OK
. The
Add Wire
window opens.
Click
No
.
Click the NewsCategoriesMap node
.
Click the NewsCategoriesMap node
. A connection wire was added from first figure to NewsCategoriesMap. The
Add Wire
window opens.
Click
OK
.
Click the NewsBean node
.
Click the ExportedNewsArticlesInterface node
. A connection wire was added from first figure to NewsBean. The
Add Wire
window opens.
A control
Shell {Add Wire}
(class is
class org.eclipse.swt.widgets.Shell
) was clicked, but there is no shadow for it.
Click
OK
.
Click the GetNewsArticlesProcess node
.
Click the GetNewsArticlesProcess node
. A connection wire was added from first figure to GetNewsArticlesProcess. The
Add Wire
window opens.
Click
OK
.
Click the NewsArticlesMap node
.
Click the NewsArticlesMap node
. A connection wire was added from first figure to NewsArticlesMap. The
Add Wire
window opens.
Click
OK
.
Click the NewsBean node
.
Click the GetNewsArticlesProcess node
. A connection wire was added from first figure to NewsBean. The
Add Wire
window opens.
Click
OK
.
Click the NewsCategoriesMap node
.
Click the
Selection Tool
icon
on the palette.
From the menu, select
File > Save
(or press
Ctrl+S
).
Setting the implementation for NewsBean Java component
Generating the implementation for the NewsCategoriesMap component
Importing the completed implementation for the NewsCategoriesMap component
Generating the implementation for the NewsArticlesMap component
Importing the completed implementation for the NewsArticlesMap component
Parent topic:
Creating the News Module
Previous topic:
Creating the News interfaces
Next topic:
Creating the IsListEmpty activity