EMF Facet provides a customization selection dialog:
To open this dialog to let the user select customizations, use ILoadCustomizationsDialogFactory#createLoadCustomizationDialog from the plug-in
org.eclipse.emf.facet.custom.ui. For example:
ILoadCustomizationsDialogListener callback = new ILoadCustomizationsDialogListener() {
public void okPressed(List<Customization> selection) {
// do something with the selection
}
};
ILoadCustomizationsDialog dialog = ILoadCustomizationsDialogFactory.DEFAULT.createLoadCustomizationDialog(
getShell(), availableCustomizations, initiallySelectedCustomizations, callback);
dialog.open();