Package com._1c.g5.v8.dt.md.ui.dialogs
Class UserVisibilityDialog
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.dialogs.UserVisibilityDialog
-
public class UserVisibilityDialog extends Object
This class is a wrapper over AEFUserVisibilityDialog2for changes user visibility
-
-
Constructor Summary
Constructors Constructor Description UserVisibilityDialog(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Disposes this dialog.List<ForRoleType>getValue()The collection ofForRoleTypeobjects.booleanisCommon()The 'common visibility' value.intopen()Opens theUserVisibilityDialog2dialog class
-
-
-
Constructor Detail
-
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 Detail
-
dispose
public void dispose()
Disposes this dialog.
-
open
public int open()
Opens theUserVisibilityDialog2dialog class- Returns:
- returns the code
-
isCommon
public boolean isCommon()
The 'common visibility' value. It is filled after dialog is closed.- Returns:
-
getValue
public List<ForRoleType> getValue()
The collection ofForRoleTypeobjects. It is filled after dialog is closed.- Returns:
-
-