org.netbeans.modules.server/0 1.20

org.netbeans.api.server
Class CommonServerUIs

java.lang.Object
  extended by org.netbeans.api.server.CommonServerUIs

public final class CommonServerUIs
extends Object

Class providing access to UI dialogs managing instances.


Method Summary
static ServerInstance showAddServerInstanceWizard()
          Displays the modal wizard for creating new server instance.
static void showCloudCustomizer(ServerInstance instance)
          Displays the modal cloud manager dialog with the specified cloud instance preselected.
static void showCustomizer(ServerInstance instance)
          Displays the modal server manager dialog with the specified server instance preselected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showCustomizer

public static void showCustomizer(ServerInstance instance)
Displays the modal server manager dialog with the specified server instance preselected. This method must be called form the AWT event dispatch thread.

Parameters:
instance - server instance which should be preselected, if null the first server instance will be preselected

showCloudCustomizer

public static void showCloudCustomizer(ServerInstance instance)
Displays the modal cloud manager dialog with the specified cloud instance preselected. This method must be called form the AWT event dispatch thread.

Parameters:
instance - cloud instance which should be preselected, if null the first cloud instance will be preselected
Since:
1.15

showAddServerInstanceWizard

@CheckForNull
public static ServerInstance showAddServerInstanceWizard()
Displays the modal wizard for creating new server instance. This method must be called from the AWT event dispatch thread.

Returns:
created instance or null if user canceled the operation
Since:
1.18

org.netbeans.modules.server/0 1.20

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.