blob: 344d90c0adaad0b617d448e170502cdc53c66866 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Copyright (c) 2005, 2006 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
IBM Corporation - initial implementation
-->
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {font-family: "Courier New", Courier, mono}
-->
</style>
</head>
<body>
<h2><a>Exercise 3: Adding base method content associated with a task using <u>Contribution</u> </a></h2>
<p>The purpose of this exercise is to extend a <strong>Task </strong> in RUP using ‘contribution'. </p>
<ol>
<li>
<p>Switch to the <strong>Authoring </strong> perspective. </p>
</li>
<li>
<p>Within the <span class="style1">Contribution Test </span>package create a new <strong>Task</strong>: <span class="style1">my_contributing_design_user_interface</span>. </p>
</li>
<li>
<p> Add a <strong>Brief Description, Main description </strong>, <strong>Purpose</strong>, etc.,: <span class="style1">Contributing Brief Description text, Contributing Main Description text, and Contributing Purpose text. </span></p>
</li>
<li>
<p> Add two new steps: <span class="style1">Contributing Step 1 </span>and<span class="style1"> Contributing Step 2</span>. </p>
</li>
<li>
<p> In <strong>Variability Relationship </strong> select <strong>Contributes</strong>, and for base <strong>task </strong> select, <span class="style1">design_user_interface</span>. </p>
</li>
<li>
<p> Go back to the <strong>Steps </strong> tab and click the <strong>Order </strong> button. You can now insert your new steps into the original steps. </p>
</li>
<li>
<p>Save the new task by closing the task editor. </p>
</li>
<li>
<p> Switch to the Browsing perspective and view the <span class="style1">Design the User Interface</span> task in the <strong>Disciplines </strong> folder in <strong>Configuration View </strong>. You will find it under the <span class="style1">Analysis_&amp; Design</span> discipline. </p>
</li>
<li>
<p> Look at the descriptions and the steps to see how your new material was contributed. You should see the text that you included in the Contributing role displayed in the User Interface task. </p>
</li>
<li> You can also try specifying additional <strong>artifacts </strong>, <strong>guidance </strong>, <strong>additional performer roles</strong>, etc., in the contributing task (in Authoring perspective) and then view the result in the Configuration View to see the behavior. </li>
</ol>
</body>
</html>