Class XCheckFilteredTreeDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.IconAndMessageDialog
org.eclipse.jface.dialogs.MessageDialog
org.eclipse.nebula.widgets.xviewer.util.internal.dialog.XCheckFilteredTreeDialog
- All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider
public class XCheckFilteredTreeDialog
extends org.eclipse.jface.dialogs.MessageDialog
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.swt.widgets.Label
statusLabel
Fields inherited from class org.eclipse.jface.dialogs.MessageDialog
CONFIRM, ERROR, INFORMATION, NONE, QUESTION, QUESTION_WITH_CANCEL, WARNING
Fields inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
imageLabel, message, messageLabel
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
-
Constructor Summary
Constructors Constructor Description XCheckFilteredTreeDialog(java.lang.String dialogTitle, java.lang.String dialogMessage, PatternFilter patternFilter, org.eclipse.jface.viewers.IContentProvider contentProvider, org.eclipse.jface.viewers.IBaseLabelProvider labelProvider, org.eclipse.jface.viewers.ViewerSorter viewerSorter)
-
Method Summary
Modifier and Type Method Description protected org.eclipse.swt.widgets.Control
createButtonBar(org.eclipse.swt.widgets.Composite parent)
protected org.eclipse.swt.widgets.Control
createCustomArea(org.eclipse.swt.widgets.Composite parent)
protected void
createPreCustomArea(org.eclipse.swt.widgets.Composite parent)
java.util.Set<java.lang.Object>
getChecked()
java.lang.Object[]
getResult()
XCheckedFilteredTree
getTreeViewer()
protected Result
isComplete()
void
setInitialSelections(java.util.Collection<? extends java.lang.Object> initialSelections)
Sets the initial selection.void
setInput(java.lang.Object input)
Sets the input.protected void
updateStatusLabel()
Methods inherited from class org.eclipse.jface.dialogs.MessageDialog
buttonPressed, configureShell, createButton, createButtonsForButtonBar, createDialogArea, customShouldTakeFocus, getButton, getButtonLabels, getDefaultButtonIndex, getImage, getMinimumMessageWidth, handleShellCloseEvent, open, open, openConfirm, openError, openInformation, openQuestion, openWarning, setButtonLabels, setButtons
Methods inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
createContents, createDialogAndButtonArea, createMessageArea, getColumnCount, getErrorImage, getInfoImage, getMessageLabelStyle, getQuestionImage, getWarningImage
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, dialogFontIsDefault, getBlockedHandler, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, 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, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
Field Details
-
statusLabel
protected org.eclipse.swt.widgets.Label statusLabel
-
-
Constructor Details
-
XCheckFilteredTreeDialog
public XCheckFilteredTreeDialog(java.lang.String dialogTitle, java.lang.String dialogMessage, PatternFilter patternFilter, org.eclipse.jface.viewers.IContentProvider contentProvider, org.eclipse.jface.viewers.IBaseLabelProvider labelProvider, org.eclipse.jface.viewers.ViewerSorter viewerSorter)
-
-
Method Details
-
createPreCustomArea
protected void createPreCustomArea(org.eclipse.swt.widgets.Composite parent) -
getChecked
public java.util.Set<java.lang.Object> getChecked() -
setInput
public final void setInput(java.lang.Object input)Sets the input. Convenience method. -
setInitialSelections
public void setInitialSelections(java.util.Collection<? extends java.lang.Object> initialSelections)Sets the initial selection. Convenience method. -
getResult
public java.lang.Object[] getResult() -
createCustomArea
protected org.eclipse.swt.widgets.Control createCustomArea(org.eclipse.swt.widgets.Composite parent)- Overrides:
createCustomArea
in classorg.eclipse.jface.dialogs.MessageDialog
-
updateStatusLabel
protected void updateStatusLabel() -
createButtonBar
protected org.eclipse.swt.widgets.Control createButtonBar(org.eclipse.swt.widgets.Composite parent)- Overrides:
createButtonBar
in classorg.eclipse.jface.dialogs.IconAndMessageDialog
-
isComplete
-
getTreeViewer
-