BeanShell is a small, free, embeddable Java source interpreter with object scripting language features, written in Java. BeanShell dynamically executes standard Java syntax and extends it with common scripting conveniences such as loose types, commands, and method closures like those in Perl and JavaScript.
For more information, refer to the Quantum Help, installed as a extension of the Eclipse Help, under Getting Started->Beanshell Script View.
The Structure submenu groups all actions having to do with the metadata of the selected table(s) or view(s).
Copy will make a full structure copy of the selected items. The resulting XML may differ, usually being more extensive than the normal Copy action of the table.
Write to file... saves the full structure XML to a file that the user selects.
DDL from clipboard is a VERY experimental feature that tries to create a DDL statement that would create a table, view or sequence similar in structure to the ones selected. The structure data is taken from the clipboard. Note that even if this option appears when you select a table, you must be on a Bookmark or Schema to generate DDL for a table. The development of this feature is in very early stages, basically working only partially for ORACLE at the moment, but we make it available in case somebody has a use for it. The generated DDL will be pasted into the Query View, deleting whatever is there.
The XML definition for most of the structure is in state of flow, so it could change in the future, you shouldn't write utilities that use that XML definition. If you want you database to be supported sooner rather than later, you can write with explanations of the proper DDL sentences to apply for generation. If some data is missing in the XML definition, say it.
SELECT *
FROM "TEMP"
WHERE ID = 45
will be copied to the clipboard as :
"SELECT * " +
"FROM \"TEMP\" " +
"WHERE ID = 45 " ;