Package com._1c.g5.v8.dt.md.ui.dialogs
Class UserVisibilityDialog
java.lang.Object
com._1c.g5.v8.dt.md.ui.dialogs.UserVisibilityDialog
This class is a wrapper over AEF
UserVisibilityDialog2
for changes user visibility-
Constructor Summary
ConstructorsConstructorDescriptionUserVisibilityDialog
(org.eclipse.swt.widgets.Shell shell, AdjustableBoolean model, IV8Project v8project, boolean readonly) Creates a new dialogUserVisibilityDialog
(org.eclipse.swt.widgets.Shell shell, AdjustableBoolean model, IV8Project v8project, String dialogTitle, String rolesLabel, String isCommonButtonText, boolean readonly) Creates a new dialog -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes this dialog.getValue()
The collection ofForRoleType
objects.boolean
isCommon()
The 'common visibility' value.int
open()
Opens theUserVisibilityDialog2
dialog class
-
Constructor Details
-
UserVisibilityDialog
public UserVisibilityDialog(org.eclipse.swt.widgets.Shell shell, AdjustableBoolean model, IV8Project v8project, String dialogTitle, String rolesLabel, String isCommonButtonText, boolean readonly) Creates a new dialog- Parameters:
shell
- is the shell.model
- is AdjustableBoolean model.v8project
- the V8 projectDialogTitle
- is the dialog title.RolesLabel
- is the roles label text.IsCommonButtonText
- is the isCommon button text.readonly
- is the read-only flag.
-
UserVisibilityDialog
public UserVisibilityDialog(org.eclipse.swt.widgets.Shell shell, AdjustableBoolean model, IV8Project v8project, boolean readonly) Creates a new dialog- Parameters:
shell
- the the shell.model
- the AdjustableBoolean model.v8project
- the V8 projectreadonly
- the read-only flag.
-
-
Method Details
-
dispose
public void dispose()Disposes this dialog. -
open
public int open()Opens theUserVisibilityDialog2
dialog class- Returns:
- returns the code
-
isCommon
public boolean isCommon()The 'common visibility' value. It is filled after dialog is closed.- Returns:
-
getValue
The collection ofForRoleType
objects. It is filled after dialog is closed.- Returns:
-