Class EclipseUtils.MyOpenResourceDialog

  • All Implemented Interfaces:
    org.eclipse.jface.window.IShellProvider
    Enclosing class:
    EclipseUtils

    static class EclipseUtils.MyOpenResourceDialog
    extends org.eclipse.ui.internal.ide.dialogs.OpenResourceDialog
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.ui.dialogs.FilteredResourcesSelectionDialog

        org.eclipse.ui.dialogs.FilteredResourcesSelectionDialog.ResourceFilter
      • Nested classes/interfaces inherited from class org.eclipse.ui.dialogs.FilteredItemsSelectionDialog

        org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.AbstractContentProvider, org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.ItemsFilter, org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.SelectionHistory
      • 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
      (package private) org.eclipse.swt.widgets.Text myPattern  
      private java.lang.String patternStr  
      • Fields inherited from class org.eclipse.ui.dialogs.FilteredItemsSelectionDialog

        CARET_BEGINNING, FULL_SELECTION, NONE
      • 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
      MyOpenResourceDialog​(org.eclipse.swt.widgets.Shell parentShell, org.eclipse.core.resources.IContainer container, int typesMask, java.lang.String patternStr)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void create()
      Hook for creating dialog area to set text on protected "Text" field from dialog.
      protected org.eclipse.swt.widgets.Control createDialogArea​(org.eclipse.swt.widgets.Composite parent)
      Hook for creating dialog area to fetch protected "Text" field from dialog.
      • Methods inherited from class org.eclipse.ui.internal.ide.dialogs.OpenResourceDialog

        buttonPressed, createButtonsForButtonBar, fillContextMenu, updateButtonsEnableState
      • Methods inherited from class org.eclipse.ui.dialogs.FilteredResourcesSelectionDialog

        applyFilter, configureShell, createExtendedContentArea, createFilter, fillContentProvider, fillViewMenu, getDialogSettings, getElementName, getItemsComparator, getResult, open, restoreDialog, setTitle, storeDialog, validateItem
      • Methods inherited from class org.eclipse.ui.dialogs.FilteredItemsSelectionDialog

        accessedHistoryItem, addListFilter, close, computeResult, getDialogBoundsSettings, getInitialPattern, getPatternControl, getSelectedItems, getSelectionHistory, getStyledStringHighlighter, handleDoubleClick, handleSelected, isDuplicateElement, isHistoryElement, okPressed, refresh, reloadCache, removeHistoryItem, scheduleProgressMessageRefresh, scheduleRefresh, setDetailsLabelProvider, setInitialPattern, setInitialPattern, setListLabelProvider, setListSelectionLabelDecorator, setSelectionHistory, setSeparatorLabel, setStyledStringHighlighter, updateProgressLabel, updateStatus
      • Methods inherited from class org.eclipse.ui.dialogs.SelectionStatusDialog

        createButtonBar, getFirstResult, setImage, setResult, setStatusLineAboveButtons
      • Methods inherited from class org.eclipse.ui.dialogs.SelectionDialog

        createMessageArea, getDialogBoundsStrategy, getInitialElementSelections, getInitialSelections, getMessage, getOkButton, isResizable, setDialogBoundsSettings, setInitialElementSelections, setInitialSelections, setMessage, setResult, setSelectionResult
      • Methods inherited from class org.eclipse.jface.dialogs.TrayDialog

        closeTray, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
      • Methods inherited from class org.eclipse.jface.dialogs.Dialog

        applyDialogFont, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
      • Methods inherited from class org.eclipse.jface.window.Window

        canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, 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

      • myPattern

        org.eclipse.swt.widgets.Text myPattern
      • patternStr

        private final java.lang.String patternStr
    • Constructor Detail

      • MyOpenResourceDialog

        public MyOpenResourceDialog​(org.eclipse.swt.widgets.Shell parentShell,
                                    org.eclipse.core.resources.IContainer container,
                                    int typesMask,
                                    java.lang.String patternStr)
    • Method Detail

      • create

        public void create()
        Hook for creating dialog area to set text on protected "Text" field from dialog.
        Overrides:
        create in class org.eclipse.ui.dialogs.FilteredItemsSelectionDialog
      • createDialogArea

        protected org.eclipse.swt.widgets.Control createDialogArea​(org.eclipse.swt.widgets.Composite parent)
        Hook for creating dialog area to fetch protected "Text" field from dialog.
        Overrides:
        createDialogArea in class org.eclipse.ui.dialogs.FilteredItemsSelectionDialog