public class MappingAction extends BaseActionDelegate {
public void run(IAction action) {
MappingContentProvider.INSTANCE.addMappingInfo();
MappingDialog dialog = new MappingDialog(window.getShell());
if (dialog.open() != IDialogConstants.CANCEL_ID) {
MappingContentProvider.INSTANCE.saveToInput();
}
}