this(Messages.getString("ModifyBeanWizard.TITLE")); //$NON-NLS-1$
this.beanFile = beanFile;
this.existingBean = existingNode;
this.fileBrowsingEnabled = false;
IModelManager modelManager = StructuredModelManager.getModelManager();
DOMModelImpl modelForRead = null;
try {
modelForRead = (DOMModelImpl) modelManager.getModelForRead(beanFile);
originalDocument = modelForRead.getDocument();
DOMModelImpl copiedModel = (DOMModelImpl) modelManager.createNewInstance(modelForRead);
IDOMDocument copiedDocument = copiedModel.getDocument();
newBean = (IDOMElement) copiedDocument.importNode(existingNode, true);
}
catch (IOException e) {