Class CommandGroupSelectionDialog


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

      • 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