Action newAction = new Action() {
public void run() {
BeanProxy interactionModel = (BeanProxy) context.getInteractionModel();
ListProxy variantsModel = (ListProxy) interactionModel.getPropertyProxy(PolicyModel.VARIANTS);
VariantType type = ((PolicyEditorContext) context).getDefaultVariantType();
NewVariantWizard wizard = NewVariantWizard.createNewVariantWizard(type, variantsModel, context);
wizard.init(null, null);
// Instantiates the wizard container with the wizard and opens it
WizardDialog dialog = new WizardDialog(control.getShell(), wizard);
dialog.create();
dialog.open();
}