Sql Developer extensions
Hi,
I've just started writing sqlDev extensions. I've gone through Kris Rice's and Sue Harper's blogs which were very helpful on the same. I still have a couple of questions though.
1.) Is it possible to have another panel alongside Connections (For e.g. the Reports Panel appears alongside the Connections Panel. I would like to have another Panel specifically for the extension I'm working on). If so, how do I achieve the same??? Till now I've seen how to add in menus or as a child within the Connections Pane or as a right-click option on an object on the connections Pane.
2.) I'm having trouble understanding the extensions.xml. The hook structure seems confusing as I've gone through the samples and seen Jdeveloper hooks, menu hooks, feature hooks, etc... I have a vague idea on these but would like some clarification. Any documentation links for the same are also welcome.
I apologize if the questions seem silly as I've just started out with extension development
Regards,
Leon.
Thanks Kris for the quick reply. I did find a link for documentation on the extensions.xml and i'll go through that.
I've gone through your blog articles on extending the navigator and extending the children nodes there. Is it possible to have a separate pane alongside the Connections Pane(like the Reports Pane) which would contain my nodes in a parent-child hierarchy???
Regards,
Leon.
Similar Messages
-
Help required in developing SQL developer extension
Hi,
We have a requirement to develop an extension for Sql Developer. The requirement matches the Reports framework in Sql Developer.
We need to have a separate dock as in reports where we can navigate through the tree and execute some predefined queries.
I implemented this using the Docking Sample of Sql Developer extensions. I am able to show a separate dock with the tree hieararchy of the nodes and adding context menus to the nodes.
But , the problem is how do we integrate this UI with the queries and how do we prompt the user to select the connections and other bind variables.
We can do this by using an XML file and importing it in the reports. But, we need a separate dock for our functionality.
I tried modifying the reports API by obtaining the code from the oracle.sqldeveloper.report.jar . But , facing problems while compiling the modified code to a jar.
Any help in this regard is appreciated.
Edited by: 883431 on Sep 8, 2011 12:32 AMSorry for that,
Here is what I did,
Create a variable for posting period
Put posting period in column.
Create 2 selections for the KF.
Restrict 1st sel from Jan Variable-1
Restrict 2nd sel from Variable Dec -
SQL Developer extension for APEX workspace management
Hi everyone,
I've put together some SQL Developer extensions - one of them provides APEX workspace management
from within SQL Developer when connected to the database as SYS. A screenshot and a short
description is available here:
http://sql-plsql-de.blogspot.com/2009/09/erweiterungen-fur-den-sql-developer.html?lang=en
You can download the zip archive directly from here (the blog posting contains this link also)
http://htmldb.oracle.com/pls/otn/f?p=20225:2:0::::P2_SUCHWORT:sqldev-ext
Try it out - if you like it: Please give me feedback; if not: please do also
Regards
-Carsten
Oracle 11g Release 2: New Features for Developers in German
http://www.oracle.com/global/de/community/index.html
BLOG: SQL und PL/SQL in Oracle
http://sql-plsql-de.blogspot.comHi,
Looks very nice and I really like idea. Great job !
For futher development idea:
I like see that individual workspace admin could use same kind plugin, connecting DB with user that is assigned to workspace and manage only that WS properties.
Br, Jari -
Hello,
I'm trying to add an extension to SQL Developer. I download manually RDB for SQL Developer extension and then I follow those instructions :
1 . Click Help menu
2 . Click Search for updates menu item
3 . Install from local file and select installer.zip
4 . Restart SQL Developer
5 . Add some reports
I should have an RDB tab in the new connexion window, but it doesn't work. Then I tried another way :
1 . Click Help menu
2 . Click Search for updates menu item
3 . Check all sources (Oracle SQL Developer, Oracle Extensions, Third Party..), next
4 . Check Oracle Rdb extension for SQL Developer 7.3, next
In this case I have an error saying something like this :
An error occured during the updates download
http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/*null*
Does anyone has an idea about this problem ?
ThanksYou can in the meantime download the extension yourself, instead of using check for updates. This http://www.oracle.com/technetwork/developer-tools/sql-developer/extensions-083825.html is our extensions page. Select the RDB link to take you their downloads page and you'll find the Oracle Rdb Extension for SQL Developer Release 7.3 on that page.
Quick link is: http://www.oracle.com/technetwork/database/rdb/downloads/index.html
Sue -
Howto write SQL Developer Extensions in JDeveloper?
Hello,
we want to develop an extension for SQL Developer. We want this extension to appear in the context menu at the table node. We did pretty well developing the necessary Java classes but now we have the problem to integrate our extension to the context menu. So is there any possibility to do this or where we can find some documentation or examples?
Kind regards
Jürgen>
we want to develop an extension for SQL Developer. We want this extension to appear in the context menu at the table node. We did pretty well developing the necessary Java classes but now we have the problem to integrate our extension to the context menu. So is there any possibility to do this or where we can find some documentation or examples?
>
Make sure you use the correct matching versions of the Extension JDK, JDeveloper and sql Developer.
See 1. Adding a Context Menu in the 'How To Create an XML User Defined Extension' example
https://wikis.oracle.com/display/oraclesqldeveloper/How+To+Create+an+XML+User+Defined+Extension
There are several other examples of extensions here
https://wikis.oracle.com/display/oraclesqldeveloper/SQL+Developer+SDK+How+To%27s
>
Page: How To Create a Java Defined Extension
Page: How To add a new folder to the database navigator
Page: How To add a new node to the database navigator
Page: How To add a new sub folder to the database navigator
Page: How To create an editor for a Node
Page: How To create a muliselect nodes action
Page: How To create an action (rc context) for a Navigator Node
Page: How To Create an XML User Defined Extension -
JAR conflicts in Oracle SQL Developer Extension
Hi,
I am developing a extension for Oracle SQL Developer. I want to use JavaFX to show a WebView inside SQLDeveloper, so I imported such library.
When I try to use such library, the program crashes with an error (NoSuchMethodError) pointing to the constructor of JSObject. The problem is that oracle.help_5.0 (bundled with sql developer) and JavaFX (in the future is going to be bundled in jre) defines the same class (netscape.javascript.JSObject) with different implementations.
My question is that if it is possible to define/modify the ClassLoader to serve the JSObject provided by JavaFX library to the JavaFX library.
Thank you in advance!Thats odd.
Do you see any exceptions in console ? (to see the console launch sqldeveloper.exe in ../sqldeveloper/sqldeveloper/bin dir.)
-Raghu -
SQL Developer Extensions in Java
Hallo,
I am trying to find some tutorial/sample/example about extending the SQL Developer in Java. The documentation about the XML-Extension seems pretty good, but the only usefull [site |http://wiki.oracle.com/page/SQL+Dev+SDK+How+To+Create+a+Java+Defined+Extension] I've for java extensions contains a [broken link to the example file|ftp://ftp.oracle.com/svrtech/outgoing/sqldev_sdk/java_simple_tablespace.zip]. Does anyone know, where to find something like a getting-started in the java extensions for sql-developer? Or where to find some example file?
Many thanks!!
scitrx
Edited by: user10472320 on 23.10.2009 05:30You will find some information and another link to the example in this thread:
Re: User Defined XML Extension - Java Defined
And if you search the forums for "xml user extension" you'll find a few more threads on the subject.
Also, look in my web site:
http://www.smdi.com/employee/JohnF/
There is a link to my ODTUG paper on extending SQL Developer, and you can download my extension to browse the Oracle Designer Repository as an example of how to write a Java extension that is mostly XML with only a little Java. -
Help debugging SQL Developer extension
Folks,
JDeveloper 11.1.1.1.0
SQL Developer 2.1.1.64
I am working on enhancing an existing extension and am having problems.
I have a Menu.java class that does this:
package org.GeoRaptor;
public class Menu implements Addin {
public void initialize() {
// Add context menus
XMLBasedObjectAction.registerContextMenus(this.getClass().getResource("menu.xml"));
}menu.xml is loaded as the menus appear correctly when I right-mouse click.
The class that implements the selected MenuAction is:
package org.GeoRaptor;
public class MenuAction extends AbstractMenuAction {
// Action to do at launch
private String action;
@Override
public void launch() {
@Override
public void setArgs(final String args) {
this.action = args;
}The menu.xml reference for this class is:
<?xml version="1.0" encoding="UTF-8"?>
<items xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="dialogs.xsd">
<folder type="TABLE">
<name>Georaptor</name>
<item type="TABLE" className="org.GeoRaptor.MenuAction" classArgs="add_view">
<title>Add to spatial view</title>
</item>
<item type="TABLE" className="org.GeoRaptor.MenuAction" classArgs="create_index">
<title>Create spatial index</title>
</item>
</folder>Whenever I select an action eg add_view, MenuAction.class is never called.
Can anyone give me an idea as to why or how to track down why?
regards
Simon[email protected] wrote:
Thanks but I don't find any SQL Developer forum..1. Go to the OTN forum home page
2. Open the Database link
3. Scroll down until the SQL Developer forum is listed -
Remove (delete) a SQL Developer Extension
How can I remove the Schema Visualizer from my SQL Developer installation?
Best Regards
Niels JessenTools -> Prefs ->Extensions -> Uncheck the the plug-in you want to disable.
If you want to remove it from your system, you have to go into your '%SQL_DEV_INSTALL_DIR%\sqldeveloper\extensions' directory and remove the jar files related to that extension. -
Digger SQL Developer extension 1.1 - How can I make this work?
I installed it and averything looks fine but I cannot find the option to use it, Does any one knows how to make it work?
RegardsSorry for overlooking this message. Just in case you still need it (yeah, i know :)) it's very easy to use, although I must admit it may be a little confusing at first. Basically you just have to open a trace file, i.e. file with an extension .trc. Digger is triggered by this extension and opens its window inside SQL Developer.
Dmitry Skavish
http://www.fourthelephant.com -
SQL Developer extensions : Help required regarding reports
Hi,
We are developing an extension for SQL Developer which is similar to reports . So , I need some information regarding the APIs related to report output.
I need to access the resultset of the query output of a User Defined report so that we can customize our extension for some specific requirements. Is there a way to access the resultset after the query gets executed ? Or Are there any APIs where I can look into for some understanding of the background process which happens after the query execution and before the output gets printed on the output window.
Any help or suggestions on this is highly appreciated.Please do not duplicate threads. No answer means nobody can or wants to help.
At most you can bump the first thread in case someone missed it.
Thanks,
K. -
Cross Post.
See details at: GeoRaptor Release 2.1.1 (Build 3) Available for SQL Developer
regards
Simon GreenerHi,
The original GeoRaptor had some documentation but it has not been updated.
It is a task on the development list but it has a low priority next to the developments we have planned for the next release. (The main ones being the ability to map the whole, or part, of a SELECT statement executed in a SQL Worksheet - including export to shapefile; the addition of multiple SRID-aware Views to enhance the current single, SRID-unaware view; length/area tools; line and polygon selection tools.)
The attribute and geometry tabs in the pane in the lower half of the spatial view will appear when an "identify" operation is executed and selected data exists.
The split into attribute and geometry tabs was done to better control the visualisation experience of a user. The original Geometry tab displayed a single geometry in a non-standard way and allowed a user to drag select ordinates which could then be mapped. The button should have been removed in build 3 but it wasn't. It will probably do nothing. Perhaps in the next release we might replace the button with an ability to select and individual geometry, highlight it and show its points or even show elements in a multi-element geometry eg show me inner ring 2 in the first outer-ring of a multi-polygon. Don't know. If anyone wants this type of functionality register an enhancement request on the sourceforge GeoRaptor website.
Remember, GeoRaptor is an open source, community driven tool. If you want to help by writing documentation eg a simple one page wiki page on how to validate geometry etc (it doesn't have to be a whole manual), or contribute code, let us know. Or if you simply like the tool or want an enhancement, let us know.
It is hard writing a tool in the vacuum of one's own experience (no matter how considerable that might be) in a land far, far away (I live in Hobart, Tasmania, Australia), to let us know how we are going......
regards
Simon -
Hey folks!
So I've been wanting to delve deeper into building user extensions. Have done several google searches and thus far, I've seen only examples of building an extension into the editor tabs on a table object, or creating a context menu. There are other items I'm curious about which I can't find much information on.
1. Wondering what the 'navigation' user extension does and how to build one?
2. Also, is there a way to build new buttons along the top under the file menu that will run a specific query upon pushing it or something?
Anyone have any useful links I can read up on? I'm just having a problem finding anything relating to what these two questions. Thanks in advance!Please do not duplicate threads. No answer means nobody can or wants to help.
At most you can bump the first thread in case someone missed it.
Thanks,
K. -
Announcement: OrindaBuild 5.0 Extension for SQL Developer 1.5.1
Folks,
OrindaBuild is now available as an extension for SQL Developer 1.5.1.
OrindaBuild creates Java source code to run your existing PL/SQL. This is a non-trivial task and for large projects can consume hundreds on man hours as well as delay development.
OrindaBuild does roughly the same thing that JPublisher does, but writes human readable code, doesn't need SQLJ and doesn't require that you use oracle TYPE objects as parameters for records and arrays.
Another way of thinking of OrindaBuild is "We reach that parts of your application that Hibernate can't".
OrindaBuild is available as extensions for JDeveloper and SQL Developer 1.1. After an unreasonably long gestation OrindaBuild is now available as an extension for SQL Developer 1.5.1 The delay has been caused by us rewriting both the JDeveloper and SQL Developer extensions so that code base has now been unforked. We've also standardized the functionality with that of our recently upgraded Eclipse extension.
To install the demo select 'Help/Check for updates' and then use the 'Add' button to create an update center for Orinda Software using this URL:
http://www.orindasoft.com/public/sqldev15Center.xml
Functionality:
The demo version is fully playable, with the only limitation being that it expires after 1 month. You can install the demo multiple times.
In addition to generating Java to call PL/SQL it also allows you to create code to run any SQL statement and access database tables.
OrindaBuild generates code for PL/SQL procedures that take %ROWTYPE and Package Records as parameters. Generated code uses a library. If you buy OrindaBuild you get the source code for the library and end up with a 100% source code solution - i.e. there are no mysterious runtime binary dependencies.
Limitations:
The extension does not work with versions of SQLDeveloper prior to 1.5.1 (build 5440). We expect you to buy a licence if you deploy generated code in a production environment.
For more information see
http://www.orindasoft.com/public/sdefeatures.php4
David RolfeIt is possible that the patch has replaced you shortcut with one pointing to the version within the 11g home. Try running sqldeveloper directly from the executable in the 151 directory.
-
SQL Developer SDK wiki(for extensions development) link broken
Hi,
I would like to develop an extension for Oracle SQL Developer. I searched around the web for extension development API but couldn't find any working links.
The link http://wiki.oracle.com/page/SQL+Dev+SDK+Getting+Started
in the forum sticky as well as
the main extensions development page http://www.oracle.com/technetwork/developer-tools/sql-developer/extensions-083825.html#create
is broken.
Any help would be much appreciated. Thanks.Hi,
Is there any wiki link that I can use for extension development?
Maybe you are looking for
-
This has probably been asked and answered, but I couldn't find the answer when searching the newsgroups. On most of my database tables, there is a date column to store the date when a row was added (it is never changed after insert). Without Kodo JDO
-
PC can't connect ( by bonjour ) to Mac shared printer
New Mac user love it so far - Love iLife! I have an iMac, 10.5.1. Have an HP printer connected to the iMac and it works good. I wanted to share the printer to my wireless net so my windozes PC 's can print to it. I have shared it system preferences.
-
How to run OBIEE Reports in Multi-Org Environment?
How to run OBIEE Reports in Multi-Org Environment of EBS.
-
Hi, I get this error when I try to use task.getAttachment ORABPEL-09733Task service closed.Trying to use the task service after it is closed.Contact oracle support. at oracle.tip.pc.services.hw.task.repos.TaskService.checkStatus(TaskService.java:
-
Hi, I want to call the method of a remote class... CreateObject works fine, but if I try to call a method of this class in eCATT I only get a green message "RFC:" and the callmethod command gets not created... any ideas about the error or about calli