org.netbeans.modules.j2eeserver/4 1.55.0 1

org.netbeans.modules.j2ee.deployment.plugins.api
Class UISupport

java.lang.Object
  extended by org.netbeans.modules.j2ee.deployment.plugins.api.UISupport

public final class UISupport
extends Object

UI support for plugins provided by the j2eeserver.

Since:
1.7

Nested Class Summary
static class UISupport.ServerIcon
          Server icon constants.
 
Method Summary
static Image getIcon(UISupport.ServerIcon serverIcon)
          Returns the specified icon.
static InputOutput getServerIO(String url)
          Get a named instance of InputOutput, which represents an output tab in the output window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIcon

public static Image getIcon(UISupport.ServerIcon serverIcon)
Returns the specified icon.

Returns:
The specified icon.
Since:
1.19

getServerIO

public static InputOutput getServerIO(String url)
Get a named instance of InputOutput, which represents an output tab in the output window. The output tab will expose server state management actions for the given server: start, debug, restart, stop and refresh. Streams for reading/writing can be accessed via getters on the returned instance. If the InputOutput already exists for the given server, the existing instance will be returned. The display name of the given server will be used as a name for the tab.

Parameters:
url - server instance id (DeploymentManager url).
Returns:
an InputOutput instance for accessing the new tab, null if there is no registered server instance with the given url.

org.netbeans.modules.j2eeserver/4 1.55.0 1

Built on December 1 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.