@Override
public TextDocument createStructure(DatabaseStructure dbStructure) {
quotes = dbStructure.getBeginEndQuote();
Folder parent = folders.getWizardFolder(EntityType.Document, true);
DatabaseStructureTree tree = new DatabaseStructureTree(dbStructure);
Node root = tree.getRoot();
DatabaseObject table = root.getTable();
TextDocument doc = createEmptyDocument(parent, table);
TextStructure struct = createTextStructure(root);
doc.setStructure(struct);
insertIntoProject(parent, doc);
return doc;