blob: 83bf99c6b36120827520e1b64e8d88f5ac7cdc3f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
== Customization selection dialog ==
EMF Facet provides a customization selection dialog:
[[Image:../img/LoadCustomizationsDialog.png]]
To open this dialog to let the user select customizations, use <code>ILoadCustomizationsDialogFactory#createLoadCustomizationDialog</code> from the plug-in '''org.eclipse.papyrus.emf.facet.custom.ui'''. For example:
<pre>
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();
</pre>
<font size="-2">
Copyright (c) 2012 Mia-Software.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html.
Contributors: Nicolas Bros (Mia-Software)
</font>
|