SQL Developer extensions help
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.
Similar Messages
-
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. -
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 -
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 -
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 -
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 -
HR SCHEMA FILES PRESENT BUT TABLES NOT SHOWN IN SQL DEVELOPER - PLS HELP
Dear DBA's,
I am studying towards the OCA and working through the SQL Fundamentals I Exam guide text book by John Watson and Roopesh Ramklass. I have a problem with accessing the HR Schema tables in SQL Developer. I can get connected to the HR schema but no information is available when i click on the + sign next to the "Tables (filtered)" link in SQL Developer under Human Resources - BTW (I've downloaded Oracle 11G)
Please help, I've tried the following already;
1. Downloaded the HR Schema sample scripts again
2. Resetting the Sample schema with this syntax in SQL PLUS - @?/demo/schema/mksample systempwd syspwd hrpwd oepwd pmpwd ixpwd shpwd bipwd default_tablespace temp_tablespace log_file_directory/
3. I have no Master script file so I cant recreate the sample scripts
I've been reading forums and trying to Google but I am too new at this and just can't get the HR schema to display all the information in SQL Developer. Please help as I really badly need to practice the exercises in the text book.
Any help to resolve this will be greatly appreciated.
Ali
Edited by: 942730 on Jun 26, 2012 1:15 AM942730 wrote:
Dear DBA's,
I am studying towards the OCA and working through the SQL Fundamentals I Exam guide text book by John Watson and Roopesh Ramklass. I have a problem with accessing the HR Schema tables in SQL Developer. I can get connected to the HR schema but no information is available when i click on the + sign next to the "Tables (filtered)" link in SQL Developer under Human Resources - BTW (I've downloaded Oracle 11G)
Please help, I've tried the following already;
1. Downloaded the HR Schema sample scripts again
2. Resetting the Sample schema with this syntax in SQL PLUS - @?/demo/schema/mksample systempwd syspwd hrpwd oepwd pmpwd ixpwd shpwd bipwd default_tablespace temp_tablespace log_file_directory/
3. I have no Master script file so I cant recreate the sample scripts
I've been reading forums and trying to Google but I am too new at this and just can't get the HR schema to display all the information in SQL Developer. Please help as I really badly need to practice the exercises in the text book.
Any help to resolve this will be greatly appreciated.
Alisqlplus
/ as sysdba
alter user HR identified by hr account unlock;
connect hr/hr
select table_name from user_tables;
exit -
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 -
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 -
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 -
Oracle SQL Developer Installation Help (Basics?)
Hello
So im taking a class (student here, totally new to this) in Oracle SQL right now and trying to download the Oracle SQL Developer tool onto my desktop (v 2.1.1).
Im just starting up Oracle SQL Developer and its asking, or I am looking to create a connection.
I was wondering if anyone had a tutorial for how to make a connection?
I only have Oracle SQL developer installed on my machine right now, nothing else. I dont have a server or anything, and just wanted to run this on my desktop local machine to practice running some SQL.
Is there anything else i need to install?
Is there some basic username and password that would allow me to connect to my local machine?
What values do i need for the hostname, port and SID etc?
Any help for a new student to Oracle would be greatly appreciated.You'd need a database to connect the SQL Developer client to.
The easiest / quickest if you're a student would be the Express Edition.
http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
Pick your platform and away you go.
Your hostname will then be 127.0.0.1, SID will be XE .... username and password will depend on what you choose when you're installing (you should get prompted for SYS/SYSTEM passwords). -
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. -
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 -
Oracle SQL Developer Connection Help
Hi,
I'm a complete Oracle newbie, so please bear with me. I've been doing research on protein clustering and at my lab the SQL developer has been running queries that I can then do statistics on. I have the query that I need to run, and was told to download Oracle SQL Developer and Oracle Client.
I was also given a username and password, a hostname, a port and a SID. I'm a bit confused, do I still need to install Oracle Client? And if so, I can't quite find what it is on the website? I have SQL Developer installed but when I click connect I get:
"Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection"
I'm pretty computer literate outside the world of databases so if someone can offer some explanations and guidance, it would be appreciated!
Thanks!933874 wrote:
Hi,
I'm a complete Oracle newbie, so please bear with me. I've been doing research on protein clustering and at my lab the SQL developer has been running queries that I can then do statistics on. I have the query that I need to run, and was told to download Oracle SQL Developer and Oracle Client.
I was also given a username and password, a hostname, a port and a SID. I'm a bit confused, do I still need to install Oracle Client? And if so, I can't quite find what it is on the website? I have SQL Developer installed but when I click connect I get:
"Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection"
I'm pretty computer literate outside the world of databases so if someone can offer some explanations and guidance, it would be appreciated!
Thanks!If you have SQL Developer installed & need to connect to some Oracle DB,
then you do NOT need Oracle client.
FWIW - SQL Developer is written in Java & uses JDBC (thin) to connect to the DB
Is the DB Server on a subnet local to your system?
Maybe you are looking for
-
Survey in Activities. Interaction Center.
Hi experts. I'm trying to include a survey into an activity at Interaction Center. Something similar like showed in this blog /people/john.burton/blog/2010/02/15/crm-70-interaction-center-enable-navigation-from-interaction-record-to-business-activity
-
Missing pages when printing images
Hi, I'm fightig against a very strange problem when printing. When drawing images with g2.drawImage often everything is ok. But sometimes the output is incomplete - perhaps all pages after # 2 or # 7 are missing. Or no pages are missing but some imag
-
Setting Default value with SQL Query as Data Model
Hi All, I am developing report based on SQL query.date set as 'SQL Query'. I have created two params start-date and end-date. I am fetching records from database between these two dates. I want to populate sysdate as a default values. I do not want t
-
I have a Brother MFC-J835DW wireless printer (which is on the list of supported printers for Airprint), and have both the IPad 2 and the printer connected to the same wireless network. When I try to select the printer to print fromt he iPad, it cann
-
Coexistence & Upgrade Exchange 2010 SP3 Unified Messaging to Exchange 2013 SP1 UM
Hello Experts, We're doing Exchange 2010 SP3 to Exchange 2013 SP1 upgrade. This upgrade also include Unified Messaging component which is currently working with Exchange 2010 SP3 and Lync 2013. We have one dial plan and its SIP URI and Secured. Looki