});
}
private void executeImpl(WaitLock waitLock) {
try {
XmlStructureWizard wizard = new XmlStructureWizard(/*TODO: Implement me*/null,
/*TODO: Implement me*/null, /*TODO: Implement me*/null);
wizard.setTitle(PackageResources.XmlPayload.WIZARD_TITLE);
WizardDialogDisplayer displayer = new WizardDialogDisplayer(view.getWindow(), waitLock);
displayer.setManageLocation(PayloadXmlStructureSelector.class);
wizard.setDisplayer(displayer);
displayer.setWizard(wizard);
wizard.addWizardListener(new WizardAdapter<XmlStructure>() {
@Override
public void wizardCompleted(XmlStructure xml) {
PayloadXmlStructureSelector.this.handleNewStructure(xml);
}
});
wizard.start(view.getWindow());
} catch (RuntimeException ex) {
// Must reset the wait state in case a RuntimeException slips
// out from the wizard invokation.
waitLock.release();
throw ex;