Package com._1c.g5.v8.dt.md.ui.dialogs
Class UserVisibilityDialog2
- java.lang.Object
- 
- org.eclipse.jface.window.Window
- 
- org.eclipse.jface.dialogs.Dialog
- 
- com._1c.g5.v8.dt.md.ui.dialogs.UserVisibilityDialog2
 
 
 
- 
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider
 
 public class UserVisibilityDialog2 extends org.eclipse.jface.dialogs.DialogDialog for 'user visibility' selection.
- 
- 
Field Summary- 
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 UserVisibilityDialog2(org.eclipse.swt.widgets.Shell parentShell, Object context, IContentProvider contentProvider, ILabelProvider labelProvider, boolean isCommon, String dialogTitle, String rolesLabel, String isCommonButtonText, boolean readonly)Creates a newUserVisibilityDialog2.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.widgets.ControlcreateButtonBar(org.eclipse.swt.widgets.Composite parent)protected voidcreateComponents(org.eclipse.swt.widgets.Composite parent)protected org.eclipse.swt.widgets.ControlcreateContents(org.eclipse.swt.widgets.Composite parent)protected org.eclipse.swt.widgets.ControlcreateDialogArea(org.eclipse.swt.widgets.Composite parent)booleangetCommonValue()protected org.eclipse.jface.dialogs.IDialogSettingsgetDialogBoundsSettings()Collection<CheckedItemViewModel>getValue()protected booleanisResizable()Returnstrueprotected voidokPressed()- 
Methods inherited from class org.eclipse.jface.dialogs.DialogapplyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 - 
Methods inherited from class org.eclipse.jface.window.WindowcanHandleShellCloseEvent, configureShell, 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
 
- 
 
- 
- 
- 
Constructor Detail- 
UserVisibilityDialog2public UserVisibilityDialog2(org.eclipse.swt.widgets.Shell parentShell, Object context, IContentProvider contentProvider, ILabelProvider labelProvider, boolean isCommon, String dialogTitle, String rolesLabel, String isCommonButtonText, boolean readonly)Creates a newUserVisibilityDialog2.- Parameters:
- parentShell- it the shell.
- context- is the input for content provider
- contentProvider- is the content provider
- labelProvider- is the label provider
- isCommon- is the 'common visibility' initial value
- DialogTitle- is the dialog title or- nullfor default value.
- RolesLabel- is the roles label text or- nullfor default value.
- IsCommonButtonText- is the isCommon button text or- nullfor default value.
- readonly- is the read-only flag.
 
 
- 
 - 
Method Detail- 
getValuepublic Collection<CheckedItemViewModel> getValue() - Returns:
- the collection of CheckedItemViewModelobjects that has 'checked' or 'unchecked' state. It is filled after dialog is closed.
 
 - 
getCommonValuepublic boolean getCommonValue() - Returns:
- the 'common visibility' value. It is filled after dialog is closed.
 
 - 
isResizableprotected boolean isResizable() Returnstrue- Overrides:
- isResizablein class- org.eclipse.jface.dialogs.Dialog
 
 - 
createContentsprotected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent) - Overrides:
- createContentsin class- org.eclipse.jface.dialogs.Dialog
 
 - 
getDialogBoundsSettingsprotected org.eclipse.jface.dialogs.IDialogSettings getDialogBoundsSettings() - Overrides:
- getDialogBoundsSettingsin class- org.eclipse.jface.dialogs.Dialog
 
 - 
createDialogAreaprotected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent) - Overrides:
- createDialogAreain class- org.eclipse.jface.dialogs.Dialog
 
 - 
createButtonBarprotected org.eclipse.swt.widgets.Control createButtonBar(org.eclipse.swt.widgets.Composite parent) - Overrides:
- createButtonBarin class- org.eclipse.jface.dialogs.Dialog
 
 - 
createComponentsprotected void createComponents(org.eclipse.swt.widgets.Composite parent) 
 - 
okPressedprotected void okPressed() - Overrides:
- okPressedin class- org.eclipse.jface.dialogs.Dialog
 
 
- 
 
-