Not able to use com.intellij.database in a plugin

I am trying to develop a plugin which would generate some code using a Table from the database tools window.
Somewhat similar to
But the DatabaseView class in getting resolved. I tried using 

<depends optional="true">com.intellij.database</depends>

in plugin.xml similar to the plugin mentioned>but that too cannot be resolved. How do I fix this? 

1 comment

You need to add the following to IntelliJ SDK:


And optionally its sources:


Please sign in to leave a comment.