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 AEF UserVisibilityDialog2 for changes user visibility
  • 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 project
      DialogTitle - 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 project
      readonly - the read-only flag.
  • Method Details

    • dispose

      public void dispose()
      Disposes this dialog.
    • open

      public int open()
      Opens the UserVisibilityDialog2 dialog 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 of ForRoleType objects. It is filled after dialog is closed.
      Returns: