org.radrails.server.internal.ui.dialogs
Class EditServerDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.radrails.server.internal.ui.dialogs.EditServerDialog
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider
- public class EditServerDialog
- extends org.eclipse.jface.dialogs.Dialog
Dialog to display server properties for editing.
- Author:
- mkent
Nested classes inherited from class org.eclipse.jface.window.Window |
org.eclipse.jface.window.Window.IExceptionHandler |
Fields inherited from class org.eclipse.jface.dialogs.Dialog |
blockedHandler, buttonBar, DLG_IMG_ERROR, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS |
Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
Constructor Summary |
EditServerDialog(org.eclipse.swt.widgets.Shell parentShell,
java.lang.String currName,
java.lang.String currPort,
java.lang.String currEnvironment)
Constructor. |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenText |
Methods inherited from class org.eclipse.jface.window.Window |
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditServerDialog
public EditServerDialog(org.eclipse.swt.widgets.Shell parentShell,
java.lang.String currName,
java.lang.String currPort,
java.lang.String currEnvironment)
- Constructor.
- Parameters:
parentShell
- parent shell of the dialogcurrName
- current name of the servercurrPort
- current port of the servercurrEnvironment
- current runtime environment of the server
buttonPressed
public void buttonPressed(int buttonId)
- See Also:
org.eclipse.jface.dialogs.Dialog#buttonPressed(int)
getName
public java.lang.String getName()
- Return server name
- Returns:
- name the name of the server
getPort
public java.lang.String getPort()
- Return server port
- Returns:
- port the port the server runs on
getEnvironment
public java.lang.String getEnvironment()
- Return server environment
- Returns:
- environment the runtime environment of the server