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

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 AM

    Sorry 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

  • Help in SQL Developer

    Is there any context-sensitive help in SQL Developer. I'm looking for a way to link SQL syntax with some sort of a Help function. Searching the SQL Reference pdf just doesn't cut it. For example, when I search the SQL Reference pdf for Round, I get 134 hits. I would look for a page or 2 on how to use Round, with examples, but accessible directly from SQL Developer.

    No there isn't.
    There's a rejected feature request for this at the Exchange (http://htmldb.oracle.com/pls/otn/f?p=42626:39:947182819474243::NO::P39_ID:5662), so chances are very small it ever makes it in.
    Nevertheless, you can still vote and add comments there; if there's enough weight on an item it will eventually make it for the TODO list.
    Including the doc isn't necessary, but just linking to the correct page would save a lot of time. In the case of ROUND, on pressing F1 inside the code editor or worksheet, sqldev could link directly to the SQL reference (http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/functions135.htm).
    If the team doesn't want to put it in, maybe someone else does. It would make a nice extension... if you feel up for it?
    K.

  • SQL Developer extension

    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 ?
    Thanks

    You 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

  • Accessing online help in Sql developer

    For some reason I have lost the ability to access Help in Sql Developer. Nothing happenx when I click on the "Table of Contents" in the Help menu. I un and re installed Sql Developer, but thie problem remains.
    My OS is vista 32 bit.
    Thanks
    Mewbie

    There's a +\sqldeveloper\system1.5.1.54.40\o.ide.11.1.1.0.22.49.42\windowinglayout.xml+ under your user profile. Deleting that should revert illegal positions (as it may have got pushed off screen).
    You can also delete the whole +\sqldeveloper+ folder (or selective subfolders) to reset everything to factory defaults...
    Hope that helps,
    K.

  • 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.com

    Hi,
    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

  • 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.

  • 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

  • SQL Developer Extension, GeoRaptor Release 2.1.1 (Build 3) now available

    Cross Post.
    See details at: GeoRaptor Release 2.1.1 (Build 3) Available for SQL Developer
    regards
    Simon Greener

    Hi,
    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

  • Where to find help with SQL Developer installation?

    Hi,
    I just want to try out SQL Developer and compare its capabilities to TOAD's. Unfortunately, I am not PC software savvy and now am stuck with a SQL Developer (sqldeveloper-1.2.2998) installation problem. When I clicked on the .exe file, I got a blank SQL Developer screen - there is nothing in the screen except a heading that reads 'Oracle SQL Developer'...
    Does anyone know of a blog or a site that I can get some help with problems like mine?
    Any help is much appreciated!

    Hi,
    SQL Developer forum link:
    "http://forums.oracle.com/forums/forum.jspa?forumID=260"
    There are 2 versions of SQL Developer, with/without JRE.
    Try out the full install version with JRE.
    HTH
    Zack

  • 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:30

    You 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 getting SQL Developer to work

    I'm just trying to get SQL Developer to work so I can use student databases. I have no intent of being a networker, and I definetly have no intent of failing this class because I can't do my homework.
    Update.
    Someone from my Java Class told me to restart the services related to Oracle. I attempted to do so, but got the following errors:
    http://img220.imageshack.us/img220/5087/clipboard01hq.jpg
    http://img27.imageshack.us/img27/32/clipboard02ro.jpg
    I believe the TNSListener service is the main problem (seeing as when I try to open the database I get an error saying "TNSListener service is not running.") So I looked that up, and it said to check sqlnet.log:
    Sat Jan 29 18:11:16 2011
    Create Relation ADR_CONTROL
    Create Relation INC_METER_IMPT_DEF
    Create Relation INC_METER_PK_IMPTS
    Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_1\log] [C:\app\Davidi\product\11.1.0\db_1\log\diag\clients]
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=C:\Install\sqldeveloper-2.1.1.64.45\sqldeveloper\sqldeveloper.exe)(HOST=THE-FALCON)(USER=Davidi))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
    Time: 29-JAN-2011 18:11:18
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0
    Thu Feb 03 23:04:39 2011
    Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=The-Falcon)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=C:\Install\sqldeveloper-2.1.1.64.45\sqldeveloper\sqldeveloper.exe)(HOST=THE-FALCON)(USER=Davidi))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.6.0 - Production
    Time: 03-FEB-2011 23:04:41
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0
    Thu Feb 03 23:08:05 2011
    Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
    Thu Feb 03 23:08:31 2011
    Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
    Thu Feb 03 23:09:36 2011
    Directory does not exist for read/write [C:\app\Davidi\product\11.1.0\db_3\log] [C:\app\Davidi\product\11.1.0\db_3\log\diag]
    And now I'm stuck again. Does anyone have any suggestions?

    Oh right. I did change the port in an attempt to get Scott to work.
    Changed back to port 1521, but still no luck.
    I think my problem has something to do with OracleDBConsoleorcl. I get Error Code 2 when I try to start that service up.
    Although...my SERVERNAME_SID is 192.168.15.101_orcl (Directory: C:\app\Davidi\product\11.1.0\db_1\192.168.15.101_orcl)
    Which was the IP Address ipconfig set up the day that SQL Developer was actually working. Of course, that IP Address changes every time you restart windows. My teacher suggested that I set up a static IP Address or try setting it to local host, but I really don't know how to do either of those.
    Any help would be appreciated.
    Thank you.

  • Remove (delete) a SQL Developer Extension

    How can I remove the Schema Visualizer from my SQL Developer installation?
    Best Regards
    Niels Jessen

    Tools -> 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?
    Regards

    Sorry 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

Maybe you are looking for

  • Issue with Referential Integrity check in Oracle VPD Policy

    Hi, Lets assume I have two tables - Customer and Order, with cust_id in Order table referring to primary key of Customer table. Example Data; Customer cust_id Name 1 abc 2 def 3 ghi Order Order_id cust_id Order_type 1 1 A 2 2 A 3 1 B Now I have polic

  • Powerbook G4 and Intel processor

    NBCOlympics.com allows viewing Olympics video but only if you have Intel processor. I have a Powerbook G4 - is there anyway to change this to intel processor?

  • Quicktime error, won't open.

    Hi there, my name's Brian. Just joined the forum because i'm having some trouble running my quicktime software. Whenever i'd open up a picture or quicktime, i'd get the msg asking if I want to upgrade to pro so i'd just hit "later" and it'd continue.

  • Groups in LMS based on protocol used by RME

    My customer would like to have posibly dynamic groups that hold device reachable by TELNET, SSH, and device the support both protocols. The TELNET group should be monitored to see if the devices can be upgrade to use SSH The group holding devices sup

  • How to Unassign a Configurable Material to Material in MRP3 View

    Hello All, Is there any way to Unassign a Configurable Material to Material in MRP3 View, the fieldl are greyed out. We accidentally assigned a Configurable Material to Material in MRP-3 View. Any Inputs would be of Great help. regards, BRN.