public class MavenProjectSelectionDialog extends AbstractMavenDialog
Modifier and Type | Class and Description |
---|---|
protected static class |
MavenProjectSelectionDialog.MavenContainerContentProvider
The content provider class.
|
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DIALOG_SETTINGS |
private org.eclipse.ui.dialogs.FilteredTree |
filteredTree |
private static org.slf4j.Logger |
log |
protected static long |
SEARCH_DELAY |
private boolean |
useCheckboxTree |
KEY_HEIGHT, KEY_WIDTH, settings
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 and Description |
---|
MavenProjectSelectionDialog(org.eclipse.swt.widgets.Shell parent)
Creates a dialog instance.
|
MavenProjectSelectionDialog(org.eclipse.swt.widgets.Shell parent,
boolean useCheckboxTree)
Creates a dialog instance.
|
Modifier and Type | Method and Description |
---|---|
private void |
collectCheckedItems(org.eclipse.swt.widgets.TreeItem[] items,
java.util.List<java.lang.Object> list) |
protected void |
computeResult()
Produces the result of the selection.
|
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent)
Creates the dialog controls.
|
protected org.eclipse.jface.viewers.TreeViewer |
getViewer() |
protected void |
okPressed() |
close, getInitialLocation, getInitialSize, readSettings
configureShell, create, createButtonBar, getFirstResult, setImage, setResult, setStatusLineAboveButtons, updateButtonsEnableState, updateStatus
createButtonsForButtonBar, createMessageArea, getDialogBoundsSettings, getDialogBoundsStrategy, getInitialElementSelections, getInitialSelections, getMessage, getOkButton, getResult, isResizable, setDialogBoundsSettings, setInitialElementSelections, setInitialSelections, setMessage, setResult, setSelectionResult, setTitle
closeTray, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
private static final org.slf4j.Logger log
protected static final java.lang.String DIALOG_SETTINGS
protected static final long SEARCH_DELAY
private org.eclipse.ui.dialogs.FilteredTree filteredTree
private boolean useCheckboxTree
public MavenProjectSelectionDialog(org.eclipse.swt.widgets.Shell parent, boolean useCheckboxTree)
public MavenProjectSelectionDialog(org.eclipse.swt.widgets.Shell parent)
protected void computeResult()
computeResult
in class org.eclipse.ui.dialogs.SelectionStatusDialog
private void collectCheckedItems(org.eclipse.swt.widgets.TreeItem[] items, java.util.List<java.lang.Object> list)
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
protected void okPressed()
okPressed
in class org.eclipse.ui.dialogs.SelectionStatusDialog
protected org.eclipse.jface.viewers.TreeViewer getViewer()