org.eclipse.mylar.internal.tasks.web
Class ParameterEditorDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.mylar.internal.tasks.web.ParameterEditorDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class ParameterEditorDialog
extends org.eclipse.jface.dialogs.Dialog

Property editor dialog

Author:
Eugene Kuleshov

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
private  java.lang.String name
           
private  org.eclipse.swt.widgets.Text nameText
           
private  org.eclipse.swt.widgets.Text status
           
private  java.lang.String title
           
private  java.lang.String value
           
private  org.eclipse.swt.widgets.Text valueText
           
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, 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
ParameterEditorDialog(org.eclipse.swt.widgets.Shell parent)
           
ParameterEditorDialog(org.eclipse.swt.widgets.Shell parent, java.lang.String name, java.lang.String value)
           
 
Method Summary
protected  void configureShell(org.eclipse.swt.widgets.Shell shell)
           
 void create()
           
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
           
 java.lang.String getName()
           
 java.lang.String getValue()
           
private  boolean isValid()
           
private  void updateButtons()
           
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

private java.lang.String title

name

private java.lang.String name

value

private java.lang.String value

valueText

private org.eclipse.swt.widgets.Text valueText

nameText

private org.eclipse.swt.widgets.Text nameText

status

private org.eclipse.swt.widgets.Text status
Constructor Detail

ParameterEditorDialog

public ParameterEditorDialog(org.eclipse.swt.widgets.Shell parent)

ParameterEditorDialog

public ParameterEditorDialog(org.eclipse.swt.widgets.Shell parent,
                             java.lang.String name,
                             java.lang.String value)
Method Detail

createDialogArea

protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
Overrides:
createDialogArea in class org.eclipse.jface.dialogs.Dialog

configureShell

protected void configureShell(org.eclipse.swt.widgets.Shell shell)
Overrides:
configureShell in class org.eclipse.jface.window.Window

create

public void create()
Overrides:
create in class org.eclipse.jface.dialogs.Dialog

updateButtons

private void updateButtons()

isValid

private boolean isValid()

getName

public java.lang.String getName()

getValue

public java.lang.String getValue()