Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
	<head>
	<meta name="copyright" content="Copyright (c) IBM Corporation and others 2007, 2009. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<title>Command Section</title>
		<link rel="STYLESHEET" href="../../../../book.css" type="text/css">
		<link rel="STYLESHEET" href="../../../tweak.css" type="text/css">
		<script language="JavaScript" type="text/javascript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
	</head>
	<body>
		<h2>Command Section</h2>
		
		<h3>About This Section</h3>
		
		<p>
			This section allows you to do the following:
		</p>

		<ul>
			<li>
				Add an executable workbench command to a step or sub-step
			</li>
			<li>
				Remove an executable workbench command from a step or sub-step
			</li>
			<li>
				Edit the properties of an executable workbench command added to a step or sub-step
			</li>			
		</ul>

		<p>
			This section is accessible by selecting a step or sub-step node in the <strong>Content</strong> section.
		</p>

		<img src="../../../images/simple_cs_editor/section_step_master_1.png" alt="Step Content Section">

		<h3>Section Fields</h3>

		<p>
			This section contains the following fields:
		</p>

		<table cellspacing="0">
			<tr>
				<td class="header">
					Label
				</td>
				<td class="header">
					Type
				</td>
				<td class="header">
					Name
				</td>
				<td class="header">
					Description
				</td>
				<td class="header">
					Required
				</td>					
			</tr>
			<tr>
				<td class="body">
					<strong>Command</strong>
				</td>
				<td class="body">
					Combo Box
				</td>
				<td class="body">
					Workbench Command
				</td>
				<td class="body">
					Select a recently added workbench command from this field to add a command to a step or sub-step.
					Select <strong>&lt;none&gt;</strong> to remove a command from a step or sub-step.
					<br>
					<br>
					Note: A command cannot be added to a step that contains sub-steps.
					<br>
					<br>
					This field is globally populated and synchronized with all commands recently added 
					to all steps and sub-steps.
					<br>
					<br>
					Use the <strong>Browse...</strong> button to select new workbench commands.					
				</td>
				<td class="body">
					No
				</td>				
			</tr>		
			<tr>
				<td class="body">
					<strong>Parameters</strong>
				</td>
				<td class="body">
					Table
				</td>
				<td class="body">
					Workbench Command Parameters
				</td>
				<td class="body">
					This non-editable field shows the applicable parameters for a workbench 
					command selected in the <strong>Command</strong> combo box.
					<br>
					<br>
					Each row represents one command parameter or key-value pair.  The first 
					column lists command parameter keys and the second column lists command
					parameter values.	
					<br>
					<br>
					To edit the parameters of a selected workbench commands, click the 	
					<strong>Browse...</strong> button.  							
				</td>
				<td class="body">
					No
				</td>				
			</tr>									
		</table>
		
		<img src="../../../images/simple_cs_editor/section_command_details.png" alt="Command Definition Section">

		<h3>Section Actions</h3>

		<p>
			This section provides the following actions:
		</p>

		<table cellspacing="0">
			<tr>
				<td class="header">
					Label
				</td>
				<td class="header">
					Type
				</td>
				<td class="header">
					Name
				</td>
				<td class="header">
					Description
				</td>
			</tr>
			<tr>
				<td class="body">
					<strong>Browse...</strong>
				</td>
				<td class="body">
					Button
				</td>
				<td class="body">
					Browse Workbench Commands
				</td>
				<td class="body">
					Click this button to launch the
					<a href="dialog_command-composer.htm">Command Composer Dialog</a>.
					<br>
					<br>
					This dialog allows you to browse, test and select new executable workbench 
					commands to add to a step or sub-step.  The dialog also allows you to edit
					applicable parameters for selected workbench commands.  					
				</td>
			</tr>	
		</table>
			
		<h3>Representation</h3>

		<p>
			A step with a command is represented in the <strong>Cheat Sheet</strong> view as follows:
		</p>
		
		<img src="../../../images/simple_cs_editor/section_step_view_2.png" alt="Step Cheat Sheet View">

		<p>
			A sub-step with a command is represented in the <strong>Cheat Sheet</strong> view as follows:
		</p>
		
		<img src="../../../images/simple_cs_editor/section_step_view_1.png" alt="Step Cheat Sheet View">

		<h3>Relevant Links</h3>

		<ul>
			<li>
				<a href="../../../../../org.eclipse.platform.doc.isv/guide/wrkAdv_keyBindings_actionDef.htm">Commands</a>
			</li>
			<li>
				<a href="dialog_command-composer.htm">Command Composer Dialog</a>
			</li>
			<li>
				<a href="section_content.htm">Content Section</a>
			</li>
			<li>
				<a href="section_step.htm">Step Section</a>
			</li>
			<li>
				<a href="section_sub-step.htm">Sub-Step Section</a>
			</li>
		</ul>

	</body>
</html>
New to GrepCode? Check out our FAQ X