Papyrus Banner

Customization selection dialog

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.papyrus.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();

Copyright © 2012 Mia-Software. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/. Contributors: Nicolas Bros (Mia-Software)