Refining the Themes


Now that we have an initial set of themes, we can look at the theme-relationship view.

Figure 8-1 shows the relationship view with the new theme names. You can see that the requirements are attached to the themes, as specified in Table 8-2. In Figure 8-1, you can also see that we've clustered and named likely groups of themes (shown with dashed outlines). There are also three requirements that are shared between the various clusters: R1, R5, and R6. These are expanded in Figure 8-1. Next, we make the clusters into groups. For instance, menu-start and scroll are both grouped under the menu theme. We also make the choice to group ring with voice call and alert with sms.

Figure 8-1. Theme-relationship view (requirements expanded).


There are also four themes that didn't have an obvious group, and so weren't clustered in Figure 8-1: mute, audio-pause, audio-save, and audio-resume. These are all more or less related to the concept of preemption of audio activity when some other behavior occurs. After looking at R5 and R6 (which both discuss situations in which another activity is preempted based on a certain trigger), we decide to group the audio-pause theme with the other audio themes. Finally, as considered above, we introduce a new theme, preempt, which better captures the spirit of the audio requirements.

Looking at Figure 8-1, you'll notice that three of the clusters (Media Player, Game, and Menu) have only one main theme that relates to the other themes through shared requirements. The game theme, for instance, is the only theme in the Game cluster that is linked to any of the expanded requirements. The same holds true for the media player theme in the Media Player cluster, and the menu theme in the Menu cluster. However, in the SMS and Voice Call clusters, there are two themes that relate to the expanded requirements. In the SMS cluster, alert is externally linked; in the Voice Call cluster, ring is also externally linked. alert and ring represent the triggers of the audio preemption behavior. When we were deciding how to group the themes, we simply translated the clusters into groups directly. However, we could have chosen to group ring and alert with preempt instead of with voice call and sms, respectively. This decision does have an impact on the design. When we go over the preempt theme design, we discuss other options for this grouping.

In the end, we arrive at six major themes, as detailed in Table 8-3.

Table 8-3. Themes and Their Subthemes

Main Theme Name

Subthemes

game

game-play, game-pause, game-save

media player

radio, play audio, record audio, memo play, memo record

menu

scroll, select, start

sms

send, edit, signal sms, alert

voice call

signal call, ring

preempt (new theme)

mute, audio-resume, audio-pause, audio-save




Aspect-Oriented Analysis and Design(c) The Theme Approach
Aspect-Oriented Analysis and Design: The Theme Approach
ISBN: 0321246748
EAN: 2147483647
Year: 2006
Pages: 109

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net