blob: 6d6c22905d822bf6fd5da9bf019ecac6718daf6d [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 content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2011 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 API and implementation" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2011" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<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 content="task" name="DC.Type" />
<meta name="DC.Title" content="Showing the state and status in the Servers view" />
<meta name="abstract" content="When the Server State Decorator is enabled, the workbench shows in the Servers view label decorations that indicate the state and status of the server and its projects. If the Servers view does not display a current state or status for the project, the workbench cannot retrieve this detail from the server, the server is stopped, or the server does not support this function." />
<meta name="description" content="When the Server State Decorator is enabled, the workbench shows in the Servers view label decorations that indicate the state and status of the server and its projects. If the Servers view does not display a current state or status for the project, the workbench cannot retrieve this detail from the server, the server is stopped, or the server does not support this function." />
<meta content="servers, decorator, server" name="DC.subject" />
<meta content="servers, decorator, server" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/rwrcview.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/tpref.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="tdecor_wst" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Showing the state and status in the Servers view</title>
</head>
<body id="tdecor_wst"><a name="tdecor_wst"><!-- --></a>
<h1 class="topictitle1">Showing the state and status in the Servers view</h1>
<div><p>When the <span class="uicontrol">Server State Decorator</span> is enabled, the workbench shows in the Servers view label decorations that indicate the state and status of the server and its projects. If the Servers view does not display a current state or status for the project, the workbench cannot retrieve this detail from the server, the server is stopped, or the server does not support this function.</p>
<div class="section" id="tdecor_wst__context"><a name="tdecor_wst__context"><!-- --></a><span id="tdecor_wst__ph1"><a name="tdecor_wst__ph1"><!-- --></a>For more detail about the state and status of the server and its project, refer to the <em>Servers view</em> topic, a link is provided at the bottom of this topic.</span>
<div class="tablenoborder"><a name="tdecor_wst__table"><!-- --></a><table summary="" cellspacing="0" cellpadding="4" id="tdecor_wst__table" frame="border" border="1" rules="all"><caption>Table 1. The following is the Servers view showing or hiding the Server State decorator: </caption>
<thead align="left">
<tr valign="bottom">
<th valign="bottom" id="N10083">Showing the Server State decorator</th>
<th valign="bottom" id="N1008B">Hiding the Server State decorator</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" headers="N10083 "><img src="../images/scpview.gif" alt="This is an image of the Servers view showing the Server State decorator." /><p><span id="tdecor_wst__ph2"><a name="tdecor_wst__ph2"><!-- --></a>When the <span class="uicontrol">Server State Decorator</span> preference is enabled, the Servers view shows the label decorations that indicate the state and status of the server and its projects. </span> In this example, the Servers view shows the state of the Tomcat server is started and the status is synchronized. In addition, the status of the HelloWorld project is synchronized with the server.</p>
</td>
<td valign="top" headers="N1008B "><img src="../images/scpview_no_decor.gif" alt="This is an image of the Servers view hiding the Server State decorator." /><p><span id="tdecor_wst__ph3"><a name="tdecor_wst__ph3"><!-- --></a>When the <span class="uicontrol">Server State Decorator</span> preference is cleared, the state and status of the server and its projects does not display in the Servers view.</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<span id="tdecor_wst__ph4"><a name="tdecor_wst__ph4"><!-- --></a>To enable the server status decorator:</span></div>
<a name="tdecor_wst__steps"><!-- --></a><ol id="tdecor_wst__steps">
<li class="stepexpand"><span>Open the Label Decorations preference page<span id="tdecor_wst__steps_ph5"><a name="tdecor_wst__steps_ph5"><!-- --></a>: Click <span class="menucascade"><span class="uicontrol">Window</span> &gt; <span class="uicontrol">Preferences</span></span>, expand <span class="menucascade"><span class="uicontrol">General </span> &gt; <span class="uicontrol">Appearance</span></span>, and click <span class="uicontrol"> Label Decorations</span>.</span></span></li>
<li class="stepexpand"><span id="tdecor_wst__steps_cmd2"><a name="tdecor_wst__steps_cmd2"><!-- --></a>To show or hide the state and status of the server from the Servers view, select or clear the <span class="uicontrol">Server State Decorator</span> check box.</span> By default, this check box is selected.</li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/tpref.html" title="The server tools allow you to define the following preferences:">Defining server preferences</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../topics/rwrcview.html" title="The Servers view (similar to the one shown below) allows you to manage the servers. This view displays a list of all your servers and projects that are associated with that server. A project displays under a server when a project from the workbench is added to the server. You can use this view to start, start in debug mode, restart, or stop the servers. In addition, you can use the Servers view to determine the current status and state of the server; and the projects added to the server from the workbench.">Servers view</a></div>
</div>
</div>
</body>
</html>