org.eclipse.ohf.stem.ui.ge.views
Class DisplayAreaDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.jface.dialogs.TrayDialog
              extended by org.eclipse.jface.dialogs.TitleAreaDialog
                  extended by org.eclipse.ohf.stem.ui.ge.views.DisplayAreaDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class DisplayAreaDialog
extends org.eclipse.jface.dialogs.TitleAreaDialog

Let the user enter the info needed to display on GoogleEarth the selected Admin area.


Nested Class Summary
static class DisplayAreaDialog.DisplayAreaData
          Simple class to store the dialogs last used values
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
 
Fields inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, 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
DisplayAreaDialog(org.eclipse.swt.widgets.Shell parentShell)
           
 
Method Summary
 boolean close()
          This gets the values from the dialog and saves them so that the caller of this dialog can get them later.
 void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
          creates Apply, OK and Cancel buttons.
 java.lang.String getAdminFile()
           
 java.lang.String getSearch()
           
 boolean isClear()
           
 
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
 
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, 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
 

Constructor Detail

DisplayAreaDialog

public DisplayAreaDialog(org.eclipse.swt.widgets.Shell parentShell)
Parameters:
parentShell -
Method Detail

createButtonsForButtonBar

public void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
creates Apply, OK and Cancel buttons.

Overrides:
createButtonsForButtonBar in class org.eclipse.jface.dialogs.Dialog
See Also:
Dialog.createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)

close

public boolean close()
This gets the values from the dialog and saves them so that the caller of this dialog can get them later.

Overrides:
close in class org.eclipse.jface.dialogs.TrayDialog
Returns:
true if close dialog is OK

getAdminFile

public java.lang.String getAdminFile()
Returns:
name of file containing GML for area border

getSearch

public java.lang.String getSearch()
Returns:
Search argument

isClear

public boolean isClear()
Returns:
true if user wants to clear the existing map display