Package com._1c.g5.v8.dt.cmi.ui.dialogs
Class CommandGroupSelectionDialog
- java.lang.Object
-
- com._1c.g5.v8.dt.cmi.ui.dialogs.CommandGroupSelectionDialog
-
public class CommandGroupSelectionDialog extends Object
Command group selection dialog
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ListItemSelectionDialog
createCommandGroupSelectionDialog(org.eclipse.swt.widgets.Shell parentShell, IV8Project v8project, IMdObjectByTypeProvider objectByTypeProvider, String title, CommandGroup currentSelectedGroup)
Create command group selection dialogstatic IStructuredContentProvider
getContentProvider(IV8Project v8project, IMdObjectByTypeProvider objectByTypeProvider)
Get content provider for command group.static ILabelProvider
getLabelProvider(IV8Project v8project)
Get label provider for command group
-
-
-
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 shellv8project
- the V8 project, cannot benull
title
- - titlecurrentSelectedGroup
- - 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 benull
- 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 benull
objectByTypeProvider
- The DAO reference to access MD objects.- Returns:
- content provider
-
-