* @param partTemplate
*/
protected void exportImportablePart(String xmlStartElement, String partTemplate) {
String xmlEndElement = xmlStartElement.replaceFirst("<", "</");
ExportImportablePartDialog dialog = new ExportImportablePartDialog(this);
if (dialog.open() == Window.CANCEL)
return;
PrintWriter printWriter = setupToPrintFile(dialog.genFilePath);
if (null != printWriter) {
String wholeModel = editor.prettyPrintModel();
int start = wholeModel.indexOf(xmlStartElement);