Class ColumnFilterDialog

  • All Implemented Interfaces:
    org.eclipse.jface.window.IShellProvider

    public class ColumnFilterDialog
    extends DialogWithEntry
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jface.window.Window

        org.eclipse.jface.window.Window.IExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private XViewerColumn column  
      private java.util.Date date1  
      private org.eclipse.swt.widgets.DateTime date1Widget  
      private java.util.Date date2  
      private org.eclipse.swt.widgets.DateTime date2Widget  
      private DateRangeType dateRangeType  
      private org.eclipse.jface.viewers.ComboViewer dateRangeTypeCombo  
      private org.eclipse.swt.widgets.DateTime time1Widget  
      private org.eclipse.swt.widgets.DateTime time2Widget  
      private org.eclipse.swt.widgets.Composite widgetComp  
      • 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
      • Fields inherited from class org.eclipse.jface.window.Window

        CANCEL, OK, resizeHasOccurred
    • Constructor Summary

      Constructors 
      Constructor Description
      ColumnFilterDialog​(org.eclipse.swt.widgets.Shell shell, java.lang.String dialogTitle, java.lang.String dialogMessage, int question, java.lang.String[] strings, int i, XViewerColumn column)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void createExtendedArea​(org.eclipse.swt.widgets.Composite parent)
      Override to provide other widgets
      java.util.Date getDate1()  
      java.util.Date getDate2()  
      DateRangeType getDateRangeType()  
      private boolean isBetweenDates()  
      void setDate1​(java.util.Date date1)  
      private void setDate1Selection()  
      void setDate2​(java.util.Date date2)  
      private void setDate2Selection()  
      void setDateRangeType​(DateRangeType dateRangeType)  
      void updateDate2Composite()  
      • 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

        createButtonBar, createContents, createDialogAndButtonArea, createMessageArea, 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, 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dateRangeTypeCombo

        private org.eclipse.jface.viewers.ComboViewer dateRangeTypeCombo
      • date1Widget

        private org.eclipse.swt.widgets.DateTime date1Widget
      • date1

        private java.util.Date date1
      • date2

        private java.util.Date date2
      • date2Widget

        private org.eclipse.swt.widgets.DateTime date2Widget
      • time1Widget

        private org.eclipse.swt.widgets.DateTime time1Widget
      • time2Widget

        private org.eclipse.swt.widgets.DateTime time2Widget
      • widgetComp

        private org.eclipse.swt.widgets.Composite widgetComp
    • Constructor Detail

      • ColumnFilterDialog

        public ColumnFilterDialog​(org.eclipse.swt.widgets.Shell shell,
                                  java.lang.String dialogTitle,
                                  java.lang.String dialogMessage,
                                  int question,
                                  java.lang.String[] strings,
                                  int i,
                                  XViewerColumn column)
    • Method Detail

      • createExtendedArea

        protected void createExtendedArea​(org.eclipse.swt.widgets.Composite parent)
        Description copied from class: DialogWithEntry
        Override to provide other widgets
        Overrides:
        createExtendedArea in class DialogWithEntry
      • isBetweenDates

        private boolean isBetweenDates()
      • updateDate2Composite

        public void updateDate2Composite()
      • setDate1Selection

        private void setDate1Selection()
      • setDate2Selection

        private void setDate2Selection()
      • getDate1

        public java.util.Date getDate1()
      • setDate1

        public void setDate1​(java.util.Date date1)
      • getDate2

        public java.util.Date getDate2()
      • setDate2

        public void setDate2​(java.util.Date date2)
      • setDateRangeType

        public void setDateRangeType​(DateRangeType dateRangeType)