org.eclipse.cdt.internal.ui.dialogs
Class AbstractElementListSelectionDialog

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.ui.dialogs.SelectionDialog
                  extended by org.eclipse.cdt.internal.ui.dialogs.SelectionStatusDialog
                      extended by org.eclipse.cdt.internal.ui.dialogs.AbstractElementListSelectionDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider
Direct Known Subclasses:
ElementListSelectionDialog

public abstract class AbstractElementListSelectionDialog
extends SelectionStatusDialog

A class to select one or more elements out of an indexed property


Nested Class Summary
 
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.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
 
Method Summary
 void create()
           
 int open()
           
 void setEmptyListMessage(java.lang.String message)
          If a empty-list message is set, a error message is shown Must be set before widget creation
 void setMessage(java.lang.String message)
          Sets the message to be shown above the match text field.
 void setNothingSelectedMessage(java.lang.String message)
          If the selection is empty, this message is shown
 void setValidator(ISelectionValidator validator)
          A validator can be set to check if the current selection is valid
 
Methods inherited from class org.eclipse.cdt.internal.ui.dialogs.SelectionStatusDialog
getPrimaryResult, setImage, setInitialSelection, setInitialSelections, setStatusLineAboveButtons
 
Methods inherited from class org.eclipse.ui.dialogs.SelectionDialog
getOkButton, getResult, setDialogBoundsSettings, setInitialElementSelections, setTitle
 
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
close, closeTray, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getBlockedHandler, getImage, setBlockedHandler, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public void create()
Overrides:
create in class SelectionStatusDialog

open

public int open()
Overrides:
open in class org.eclipse.jface.window.Window

setEmptyListMessage

public void setEmptyListMessage(java.lang.String message)
If a empty-list message is set, a error message is shown Must be set before widget creation


setMessage

public void setMessage(java.lang.String message)
Sets the message to be shown above the match text field. Must be set before widget creation

Overrides:
setMessage in class org.eclipse.ui.dialogs.SelectionDialog

setNothingSelectedMessage

public void setNothingSelectedMessage(java.lang.String message)
If the selection is empty, this message is shown


setValidator

public void setValidator(ISelectionValidator validator)
A validator can be set to check if the current selection is valid