org.netbeans.modules.j2ee.deployment.plugins.api
Class UISupport
java.lang.Object
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
Method Summary |
static org.openide.windows.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 |
getServerIO
public static org.openide.windows.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.