Package com._1c.g5.v8.dt.md.ui.dialogs
Class OpenMdObjectSelectionDialog
- java.lang.Object
- 
- org.eclipse.jface.window.Window
- 
- org.eclipse.jface.dialogs.Dialog
- 
- org.eclipse.jface.dialogs.TrayDialog
- 
- org.eclipse.ui.dialogs.SelectionDialog
- 
- org.eclipse.ui.dialogs.SelectionStatusDialog
- 
- org.eclipse.ui.dialogs.FilteredItemsSelectionDialog
- 
- com._1c.g5.v8.dt.md.ui.dialogs.OpenMdObjectSelectionDialog
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider
 
 public class OpenMdObjectSelectionDialog extends org.eclipse.ui.dialogs.FilteredItemsSelectionDialogDialog for search and open exist metadata object in workspace
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.ui.dialogs.FilteredItemsSelectionDialogorg.eclipse.ui.dialogs.FilteredItemsSelectionDialog.AbstractContentProvider, org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.ItemsFilter, org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.SelectionHistory
 
- 
 - 
Field Summary- 
Fields inherited from class org.eclipse.ui.dialogs.FilteredItemsSelectionDialogCARET_BEGINNING, FULL_SELECTION, NONE
 - 
Fields inherited from class org.eclipse.jface.dialogs.DialogblockedHandler, 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 SummaryConstructors Constructor Description OpenMdObjectSelectionDialog(org.eclipse.swt.widgets.Shell shell, boolean multy, ISymbolicLinkLocalizer symbolicLinkLocalizer)Constructor create a new instance of dialog
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureShell(org.eclipse.swt.widgets.Shell newShell)protected org.eclipse.swt.widgets.ControlcreateExtendedContentArea(org.eclipse.swt.widgets.Composite parent)protected org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.ItemsFiltercreateFilter()protected voidfillContentProvider(org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.AbstractContentProvider contentProvider, org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.ItemsFilter itemsFilter, org.eclipse.core.runtime.IProgressMonitor progressMonitor)protected org.eclipse.jface.dialogs.IDialogSettingsgetDialogSettings()StringgetElementName(Object item)protected Comparator<com._1c.g5.v8.dt.md.ui.dialogs.OpenMdObjectSelectionDialog.ObjectDescriptionPair>getItemsComparator()protected voidsetResult(List newResult)protected org.eclipse.core.runtime.IStatusvalidateItem(Object item)- 
Methods inherited from class org.eclipse.ui.dialogs.FilteredItemsSelectionDialogaccessedHistoryItem, addListFilter, applyFilter, close, computeResult, create, createDialogArea, fillContextMenu, fillViewMenu, getDialogBoundsSettings, getInitialPattern, getPatternControl, getSelectedItems, getSelectionHistory, getStyledStringHighlighter, handleDoubleClick, handleSelected, isDuplicateElement, isHistoryElement, okPressed, refresh, reloadCache, removeHistoryItem, restoreDialog, scheduleProgressMessageRefresh, scheduleRefresh, setDetailsLabelProvider, setInitialPattern, setInitialPattern, setListLabelProvider, setListSelectionLabelDecorator, setSelectionHistory, setSeparatorLabel, setStyledStringHighlighter, storeDialog, updateProgressLabel, updateStatus
 - 
Methods inherited from class org.eclipse.ui.dialogs.SelectionStatusDialogcreateButtonBar, getFirstResult, setImage, setResult, setStatusLineAboveButtons, updateButtonsEnableState
 - 
Methods inherited from class org.eclipse.ui.dialogs.SelectionDialogcreateButtonsForButtonBar, createMessageArea, getDialogBoundsStrategy, getInitialElementSelections, getInitialSelections, getMessage, getOkButton, getResult, isResizable, setDialogBoundsSettings, setInitialElementSelections, setInitialSelections, setMessage, setSelectionResult, setTitle
 - 
Methods inherited from class org.eclipse.jface.dialogs.TrayDialogcloseTray, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
 - 
Methods inherited from class org.eclipse.jface.dialogs.DialogapplyDialogFont, buttonPressed, 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.WindowcanHandleShellCloseEvent, 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
 
- 
 
- 
- 
- 
Constructor Detail- 
OpenMdObjectSelectionDialogpublic OpenMdObjectSelectionDialog(org.eclipse.swt.widgets.Shell shell, boolean multy, ISymbolicLinkLocalizer symbolicLinkLocalizer)Constructor create a new instance of dialog- Parameters:
- shell- shell to parent the dialog on
- multy- indicates whether dialog allows to select more than one position in its list of items
- symbolicLinkLocalizer- the symbolic link localizer for model object names, can not be- null
 
 
- 
 - 
Method Detail- 
getElementNamepublic String getElementName(Object item) - Specified by:
- getElementNamein class- org.eclipse.ui.dialogs.FilteredItemsSelectionDialog
 
 - 
setResultprotected void setResult(List newResult) - Overrides:
- setResultin class- org.eclipse.ui.dialogs.SelectionDialog
 
 - 
createExtendedContentAreaprotected org.eclipse.swt.widgets.Control createExtendedContentArea(org.eclipse.swt.widgets.Composite parent) - Specified by:
- createExtendedContentAreain class- org.eclipse.ui.dialogs.FilteredItemsSelectionDialog
 
 - 
configureShellprotected void configureShell(org.eclipse.swt.widgets.Shell newShell) - Overrides:
- configureShellin class- org.eclipse.ui.dialogs.SelectionStatusDialog
 
 - 
getDialogSettingsprotected org.eclipse.jface.dialogs.IDialogSettings getDialogSettings() - Specified by:
- getDialogSettingsin class- org.eclipse.ui.dialogs.FilteredItemsSelectionDialog
 
 - 
validateItemprotected org.eclipse.core.runtime.IStatus validateItem(Object item) - Specified by:
- validateItemin class- org.eclipse.ui.dialogs.FilteredItemsSelectionDialog
 
 - 
createFilterprotected org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.ItemsFilter createFilter() - Specified by:
- createFilterin class- org.eclipse.ui.dialogs.FilteredItemsSelectionDialog
 
 - 
getItemsComparatorprotected Comparator<com._1c.g5.v8.dt.md.ui.dialogs.OpenMdObjectSelectionDialog.ObjectDescriptionPair> getItemsComparator() - Specified by:
- getItemsComparatorin class- org.eclipse.ui.dialogs.FilteredItemsSelectionDialog
 
 - 
fillContentProviderprotected void fillContentProvider(org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.AbstractContentProvider contentProvider, org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.ItemsFilter itemsFilter, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws org.eclipse.core.runtime.CoreException- Specified by:
- fillContentProviderin class- org.eclipse.ui.dialogs.FilteredItemsSelectionDialog
- Throws:
- org.eclipse.core.runtime.CoreException
 
 
- 
 
-