Added "Create Extension" menu item in context menu of Database node.
Added a new method "node_node" in ExtensionModule class. If a node has child, returns True, otherwise False.
Fixed an issue in which icon won't display in create extension link in context menu.
Added Docstring for the class and methods in python file and proper commenting in js file.
Followed PEP-08 coding conventions.
I haven't tested this, but a few initial comments:
- The commenting of the JS code is better than I've seen in other patches \o/, but the commenting style is inconsistent. We should use /* */ for multi-line comments, and // for single line.
- The JS code could use some carefully introduced blank lines to help make it more readable.
- s/}else{/} else {/
- Dependency/depends display is missing (see previous email to Akshay). This is essential for this node!
- There's no pydoc comment introducing __init__.py