blob: 3c7368ab095e515dc7436674b67a76b723f9c02c [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Copyright Eclipse contributors 2005, 2006" />
<meta name="DC.rights.owner" content="(C) Copyright Eclipse contributors 2005, 2006" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="task" />
<meta name="DC.Title" content="Apply a Capability Pattern" />
<meta name="DC.Relation" scheme="URI" content="capabilitypattern.html#capabilitypattern" />
<meta name="DC.Relation" scheme="URI" content="createareusablecapabilitypattern.html#createareusablecapabilitypattern" />
<meta name="DC.Relation" scheme="URI" content="replace.html#replaces" />
<meta name="DC.Relation" scheme="URI" content="process.html#process" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="applyacapabilitypattern" />
<meta name="DC.Language" content="en-us" />
<!--
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
-->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<title>Apply a Capability Pattern</title>
</head>
<body id="applyacapabilitypattern"><a name="applyacapabilitypattern"><!-- --></a>
<h1 class="topictitle1">Apply a Capability Pattern</h1>
<div><div class="p">When developing a process, it is not necessary to develop the process
from scratch, adding descriptors one by one. You can reuse existing capability
patterns or even capability pattern parts to individually customize the pattern's
content to the particular situation for which it is applied. A capability
pattern must be applied to one specific activity in a process. For more information
see <a href="capabilitypattern.html#capabilitypattern">Capability Pattern</a>.</div>
<div class="section">There are two ways to apply a Capability Pattern: Copy and Extend. <p><strong>Copy
a capability pattern:</strong></p>
<div class="p">If a capability pattern is copied into a process,
method content elements in the capability pattern are disconnected from the
original. The capability pattern elements can be altered, deleted or changed
as you want in the process editor without affecting the original method content
elements. Method elements in a copied capability pattern appear in regular
black font. To copy a capability pattern:<ol><li>In the <a href="configurationview.html#configurationview">Configuration View</a>,
select a capability pattern or its parts that you want to copy into an activity
in a process and drag the pattern or parts into the activity to which you
want it to apply. To select multiple activities in a capability pattern, press
the CTRL or SHIFT keys while you select. </li>
<li>In the pop-up box that appears, click <strong>Copy</strong>. The capability pattern
name is displayed in black and is now available for you to edit.</li>
</ol>
</div>
<div class="p">Or,<ol><li>In the process view, right click an activity, and then click <strong>Apply
Pattern &gt; Copy</strong>. The Select Dialog For Processes window appears.</li>
<li>Drill down into the process tree until you locate the capability pattern
you want to copy.</li>
<li>Select the pattern, and then click <strong>OK</strong>. The Select Dialog For Processes
window closes and the capability pattern is applied.</li>
</ol>
</div>
<p><strong>Extend a capability pattern:</strong></p>
<div class="p">If a capability pattern
is extended into a process, method content elements in the Capability Pattern
retain a connection to the original. Extended capability pattern elements
cannot be deleted or modified and appear as read-only in a green-italic font.
To extend a capability pattern: <ol><li>In the <a href="configurationview.html#configurationview">Configuration View</a>,
select a capability pattern or its parts that you want to extend into an activity
in a process and drag the pattern or parts into the activity to which you
want it to apply. To select multiple activities in a capability pattern, press
the CTRL or SHIFT keys while you select.</li>
<li>In the pop-up box that appears, click <strong>Extend</strong>. The capability pattern
name is displayed in green, which indicates it is part of a process defined
elsewhere.</li>
</ol>
</div>
<div class="p">Or, <ol><li>In the process view, right click an activity and then click <strong>Apply
Pattern &gt; Extend</strong>. The Select Dialog For Processes window appears.</li>
<li>Drill down into the process tree until you locate the capability pattern
you want to extend.</li>
<li>Select the pattern, and then click <strong>OK</strong>. The Select Dialog For Processes
window closes and the capability pattern is applied.</li>
</ol>
</div>
<div class="p"><div class="note"><span class="notetitle">Note:</span> If you do not want a specific activity or task in the capability
pattern to be included in your process you can suppress it. The activity or
task will not appear in the published process or be exported to a project
planning tool. To suppress a process element, right click the element and
then select <strong>Suppress</strong>. The element appears grayed out in the process
view.</div>
</div>
</div>
<div class="section"><div class="p">To add elements to an activity in an extended capability pattern:<ol><li>Find the activity's parent element. If this element is a not a local element
that appears in green italic font, then you need create a contribution to
this parent first. If the parent's parent is not local, also appearing in
green italic font, then you need to create a contribution to the parent first,
and so on. </li>
<li>To create a contribution to an extended activity, right click the extended
activity and then click <strong>Contribute</strong>. The activity becomes local and
appears in a standard black font. Do this with all parent elements, top-down,
until you reach the activity to which you want to apply the element. Once
you click Contribute, the activity becomes local and is presented in standard
black font.</li>
</ol>
For more information see <a href="contributes.html#contributes">Contributes</a>.</div>
</div>
</div>
<div><div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="capabilitypattern.html#capabilitypattern">Capability Pattern</a></div>
<div><a href="replace.html#replaces">Replaces</a></div>
<div><a href="process.html#process">Process</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="createareusablecapabilitypattern.html#createareusablecapabilitypattern">Create a Reusable Capability Pattern</a></div>
</div>
</div>
</body>
</html>