@API(type=NOT_EXTENDABLE, src=PRIVATE) public class ECSortCustomizerDialog extends org.eclipse.jface.dialogs.Dialog implements SortCustomizer, KeysController
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 |
---|
ECSortCustomizerDialog(org.eclipse.swt.widgets.Shell parentFrame,
AuthorResourceBundle authorResourceBundle,
java.lang.String selectedElemensString,
java.lang.String allElementsString)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureShell(org.eclipse.swt.widgets.Shell newShell) |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
SortCriteriaInformation |
getSortInformation(java.util.List<CriterionInformation> criteriaInformation,
boolean hasSelectedSortableElements,
boolean cannotSortAllElements)
Obtain the sort information given some initial sort criteria.
|
protected boolean |
isResizable() |
protected void |
okPressed() |
void |
selectionChanged(java.lang.String newSelection,
java.lang.String oldSelection)
Method which controls the change of the selected key.
|
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
public ECSortCustomizerDialog(org.eclipse.swt.widgets.Shell parentFrame, AuthorResourceBundle authorResourceBundle, java.lang.String selectedElemensString, java.lang.String allElementsString)
parentFrame
- The parent shell.authorResourceBundle
- The author resource bundle.selectedElemensString
- The name of the "selected elements" radio combo.allElementsString
- The name of the "all elements" radio combo.protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
Dialog.createDialogArea(org.eclipse.swt.widgets.Composite)
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
configureShell
in class org.eclipse.jface.window.Window
Window.configureShell(org.eclipse.swt.widgets.Shell)
public SortCriteriaInformation getSortInformation(java.util.List<CriterionInformation> criteriaInformation, boolean hasSelectedSortableElements, boolean cannotSortAllElements)
SortCustomizer
getSortInformation
in interface SortCustomizer
criteriaInformation
- The information about the available sorting criteria.hasSelectedSortableElements
- true
when elements selected in the document can be sorted.cannotSortAllElements
- true
when all the elements from the parent of the sort operation cannot be sorted.
for example when the selected rows from a table can be sorted but the whole table cannot because it contains, outside the selected rows,
some rows with multiple rowspan cells.SortCustomizer.getSortInformation(java.util.List, boolean, boolean)
protected void okPressed()
okPressed
in class org.eclipse.jface.dialogs.Dialog
Dialog.okPressed()
protected boolean isResizable()
isResizable
in class org.eclipse.jface.dialogs.Dialog
Dialog.isResizable()
public void selectionChanged(java.lang.String newSelection, java.lang.String oldSelection)
KeysController
selectionChanged
in interface KeysController
newSelection
- The new selected key.oldSelection
- The old selected key.KeysController.selectionChanged(java.lang.String, java.lang.String)
© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.