Class SymbolProviderConfigDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.jface.dialogs.TitleAreaDialog
org.eclipse.tracecompass.tmf.ui.symbols.SymbolProviderConfigDialog
- All Implemented Interfaces:
org.eclipse.jface.preference.IPreferencePageContainer,org.eclipse.jface.window.IShellProvider
public class SymbolProviderConfigDialog
extends org.eclipse.jface.dialogs.TitleAreaDialog
implements org.eclipse.jface.preference.IPreferencePageContainer
This class shall be used to configure one or more
ISymbolProvider. It
receives an array of ISymbolProviderPreferencePage and creates a
dialog that can be used to configure the corresponding providers. If the
Window.open() method exits with IDialogConstants.OK_ID the caller
shall assume that the corresponding ISymbolProvider's have a new
configuration.- Since:
- 2.0
- Author:
- Robert Kiss
-
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.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGEFields 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, ELLIPSISFields inherited from class org.eclipse.jface.window.Window
CANCEL, OK -
Constructor Summary
ConstructorsConstructorDescriptionSymbolProviderConfigDialog(org.eclipse.swt.widgets.Shell parentShell, ISymbolProviderPreferencePage... pages) Create a new dialog that will use the given shall and preference pages. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jface.preference.IPreferenceStorebooleanvoidvoidvoidMethods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
getErrorMessage, getMessage, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImageMethods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, getTray, isDialogHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableMethods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenTextMethods inherited from class org.eclipse.jface.window.Window
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager
-
Constructor Details
-
SymbolProviderConfigDialog
public SymbolProviderConfigDialog(org.eclipse.swt.widgets.Shell parentShell, ISymbolProviderPreferencePage... pages) Create a new dialog that will use the given shall and preference pages.- Parameters:
parentShell- The parent shellpages- the pages that provides the configuration UI forISymbolProvider's. The array shall not be empty and shall not contain null elements.
-
-
Method Details
-
isHelpAvailable
public boolean isHelpAvailable()- Overrides:
isHelpAvailablein classorg.eclipse.jface.dialogs.TrayDialog
-
getPreferenceStore
public org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()- Specified by:
getPreferenceStorein interfaceorg.eclipse.jface.preference.IPreferencePageContainer
-
updateTitle
public void updateTitle()- Specified by:
updateTitlein interfaceorg.eclipse.jface.preference.IPreferencePageContainer
-
updateButtons
public void updateButtons()- Specified by:
updateButtonsin interfaceorg.eclipse.jface.preference.IPreferencePageContainer
-
updateMessage
public void updateMessage()- Specified by:
updateMessagein interfaceorg.eclipse.jface.preference.IPreferencePageContainer
-