org.eclipse.emf.facet.custom.ui.internal.exported.dialog
Interface ILoadCustomizationsDialogFactory


public interface ILoadCustomizationsDialogFactory

Factory for ILoadCustomizationsDialog.

Since:
0.2.0

Field Summary
static ILoadCustomizationsDialogFactory DEFAULT
          The default implementation
 
Method Summary
<D> ILoadCustomizationsDialog<D>
createLoadCustomizationDialog(Shell parent, java.util.List<Customization> availableCustoms, java.util.List<Customization> selectedCustoms, IDialogCallbackWithPreCommit<java.util.List<Customization>,java.lang.Boolean,D> callback)
           
<D> ILoadCustomizationsDialog<D>
createLoadCustomizationDialog(Shell parent, java.util.List<Customization> availableCustoms, java.util.List<Customization> selectedCustoms, java.util.List<Customization> lockedCustoms, IDialogCallbackWithPreCommit<java.util.List<Customization>,java.lang.Boolean,D> callback, java.lang.String lockMsg)
           
 

Field Detail

DEFAULT

static final ILoadCustomizationsDialogFactory DEFAULT
The default implementation

Method Detail

createLoadCustomizationDialog

<D> ILoadCustomizationsDialog<D> createLoadCustomizationDialog(Shell parent,
                                                               java.util.List<Customization> availableCustoms,
                                                               java.util.List<Customization> selectedCustoms,
                                                               IDialogCallbackWithPreCommit<java.util.List<Customization>,java.lang.Boolean,D> callback)
Parameters:
parent - the parent shell
availableCustoms - the customizations that the user will be able to select
selectedCustoms - the customizations that will be selected when the dialog opens
listener - called when the dialog closes
Returns:
the dialog
Since:
0.2

createLoadCustomizationDialog

<D> ILoadCustomizationsDialog<D> createLoadCustomizationDialog(Shell parent,
                                                               java.util.List<Customization> availableCustoms,
                                                               java.util.List<Customization> selectedCustoms,
                                                               java.util.List<Customization> lockedCustoms,
                                                               IDialogCallbackWithPreCommit<java.util.List<Customization>,java.lang.Boolean,D> callback,
                                                               java.lang.String lockMsg)
Parameters:
parent - the parent shell
availableCustoms - the customizations that the user will be able to select
selectedCustoms - the customizations that will be selected when the dialog opens
lockedCustoms - a list of customizations that the user will not be able to unload
listener - called when the dialog closes
lockMsg - a message indicating why certain customizations cannot be unloaded
Returns:
the dialog
Since:
0.2