Class CommandGroupSelectionDialog

java.lang.Object
com._1c.g5.v8.dt.cmi.ui.dialogs.CommandGroupSelectionDialog

public class CommandGroupSelectionDialog extends Object
Command group selection dialog
  • Method Details

    • createCommandGroupSelectionDialog

      public static ListItemSelectionDialog createCommandGroupSelectionDialog(org.eclipse.swt.widgets.Shell parentShell, IV8Project v8project, IMdObjectByTypeProvider objectByTypeProvider, String title, CommandGroup currentSelectedGroup)
      Create command group selection dialog
      Parameters:
      parentShell - - parent shell
      v8project - the V8 project, cannot be null
      title - - title
      currentSelectedGroup - - current selection. Can be null.
      Returns:
      dialog
    • getLabelProvider

      public static ILabelProvider getLabelProvider(IV8Project v8project)
      Get label provider for command group
      Parameters:
      v8project - the V8 project, cannot be null
      Returns:
      label provider, never null
    • getContentProvider

      public static IStructuredContentProvider getContentProvider(IV8Project v8project, IMdObjectByTypeProvider objectByTypeProvider)
      Get content provider for command group.
      Parameters:
      v8project - the V8 project, cannot be null
      objectByTypeProvider - The DAO reference to access MD objects.
      Returns:
      content provider