Is there any sample sql dev 4 extensions available yet?

I just ask the questions first if you do not need to try and find them below. The purpose is explained to half way down.

Using Jdev 12.1.2 Sql Dev 4.0.2.15.21 and the last Extension SDK

1. are there available from Oracle Sql Developer 4 sample extensions and the new framework?

2. ALL the documentation is available on the 'specific to sql dev' ID used for menu and other UI elements?

3. is there a CURRENT version of the extension.xsd file available?

Here is the link to an article more than two years, by Jeff Smith, titled "how to create an Extension set of Java".

https://wikis.Oracle.com/display/oraclesqldeveloper/how+to+create+a+Java+defined+extension

That was useful as other examples of extension provided.

The menu structure and IDs for Sql Developer are different from that of the JDeveloper. If some documents (list?) or the programmatic method was necessary to get the ID to use for working with menus.

The old framework and Sql Dev samples and my own extension used "db_nav" and I was able to get the JDev FirstSample of the ESDK extension to Sql Dev 4. But I don't know any place that even what an 'id' is actually documented.

The extension.xsd file deployed with JDeveloper and Sql Developer seems to be an older version of what is required in JDeveloper. The "menuType" says that the first element may be a 'label' but JDeveloper gives an error saying that it expects a section element.

< name XS: complexType "menuType" = >

< xs:complexContent >

< xs:extension base = "identifiableType" >

< xs: Sequence minOccurs = "0" >

< xs: element name = "label" type = "i18n_string" minOccurs = '0 '.

maxOccurs = "1" >

< xs: annotation >

< intention > the label for the menu. < / intention >

< / xs: annotation >

< / xs: element >

I have reviewed all the last JDeveloper samples in the SDK of Extension for the new extension OSGI framework.

The goal is to migrate my Sql Dev 3 extension to the new framework. Basically, it adds a submenu and items when you right-click on any item in the database (for example, the DEPT table)

(1) adding multiple, and/or on several levels, items to a context menu

(2) the types of node specific filtering / acknowledging

(3) the execution of the custom actions for new context menu items

Assuming that this tree in the DB browser

IDE connections

Scott-Dev

Tables

Dept

. . .

Table

Column

Forced to
. . .

The goal is to add additional menu items to ONLY the lowest level (the show of the elements of FirstSample everywhere).

Therefore, for a given, for example, table Dept, add Custom1, Custom2, or CustomSubMenu... which then Custom1 and Custom2 submenu items.

Dept

. . .

Table

Column

Forced to
. . .

CUSTOM1

CUSTOM2

CustomSubMenu

CustomSub1

CustomSub2

In the old framework, it has been easy. You need just a hook in the extension.xml file listener

<>hooks

"< jdeveloper-crochet xmlns ="http://xmlns.oracle.com/jdeveloper/1013/extension">."

< context-menu-listeners >

< site idref = "db_nav" >

com.any.myContextMenuListener <-listener class >

< / listener class >

< / site >

< / context-menu-listeners >

< / jdeveloper-crochet >

. . .

This class of earphone set in place ContextMenuListener and the controller.

1. menuWillShow method - build the menu several levels using Java code and add it to the "contextMenu" using the parameter passed. You set the actions and add IdeAction items to the menu. By getting the selection and tests for a ' instanceof ObjectNode (an element datababase) could I do NOT add to the menu unless the user has clicked in a suitable place in the nav tree.

2. method handleEvent - use "action.getCommandId" to find out who stocks (menus) the user has clicked and shipped to the appropriate code

Does anyone know any examples of the use of the new framework of the extension to do a similar thing?

The new mix of actions, controllers, auditors, etc. is quite confused and many examples ESDK use a common extension.xml file that has a bit of everything in it.

I was also unable to find samples of freeware/shareware extension for the new framework to use as a template.

The ultimate goal of actually being able to use Sql Developer as a platform target in JDeveloper is on hold because it now uses version 12.1.3 the JDeveloper which has not yet been made public.

Links to examples would be appreciated.

Thank you.  I think you have some bad assumptions here.

(1) If this xsd was not supposed to be public, he would not.  I would never put anything OTN if she was not intended to be used.

2) there are discrete examples of various things on my blog for 1.x through 3.x.  All these need updates for 4.x with the large OSGI now.  Here are some examples:

(3) release the thread that has been created for questions of migration of extension<  we="" didn't="" lock="" it="" the="" system="" did="" from="">

OSGI changed way more that I like for people to extend and it is on my list to get all the samples updated and several of them.

Tags: Database

Similar Questions

  • is there any type of compression sql network

    I have a user who is trying to be rolled up to a select statement that is located close to a text of 2 gig file when its done...
    the statement runs in 3 minutes when it is running on a sql client connected to a 1gig full duplex network...
    but when it is connected to a network of 100 Mbps half duplex it takes 7 hours...
    the obvious solution would be to upgrade the network of clients... but it of not my call... and will not happen...
    I offered to schedule his local and send the zip zip file it... but they don't want that...

    is there any type of compression setting that can be specified.

    I do not think that to be honest, but I've not paid through documentation. This can be beneficial however: [unit of configuration of Session data | http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/performance.htm#sthref1395]

    HTH!

  • SQL dev to connect via odbc to non-oracle db

    Question asked to me regarding the use of sql dev to connect to a Turbo Image databsae running on a HP-3000 through odbc.  They have odbc drivers, but the front-end client is no longer supported and are looking for an alternative.  I've never used Dev of SQL to connect to a non-oracle database, but it seems as it should, maybe with the OTG for odbc.

    Ideas?

    We are a java application. Yes JDBC.

    And we offer only 3rd connectivity to help migration of Oracle. Currently we do not support Turbo-Image of database migration to Oracle.

    There are however several ODBC database generic tools out there.

  • ADDM report is not produced by SQL DEV if connected 4.0 user is not SYSDBA privilege

    Hello-

    SQLDEV 4.0 (early adapter), I logged in as a user with SYSDBA privileges. But ADVICE given and run DBMS_ADDM granted and "select any dictionary" granted, etc..

    Then I go in the menu view-> DBA--> Performance-> automatic database diagnostic monitor

    Select report ADDM in the choices available.

    Off the menu 3 options: summary, results and report ADDM, I can see the first two, but I get a grey screen for report ADDM.

    ^^^^^^^^^^^^^^^^^^^^^

    If I do exactly the same thing but connection as SYSDBA, ADDM report can be produced and can be seen. So, the question is the lack of subsidies and privileges.

    ^^^^^^^^^^^^^^^^^^^^^^

    The goal we are pursuing in our shop is to give developers to work with reports of the ADDM by connect non-SYSDBA user.

    ^^^^^^^^^^^^^^^^^^^^^^^^

    Please tell us what privilege must be granted to get this working for a non-SYSDBA connection

    The same user can successfully run $ORACLE_HOME/rdbms/admin/addmrpt.sql and produce files with ADDM full report. But not able to get the ADDM of SQL DEV 4.0

    Thank you

    VR

    Hi RV,.

    The security model for the DBMS_ADVISOR package means that a database user can only generate reports for ADDM tasks created by this user. To create a task SQLDev ADDM, invoke the action "Performance / automatic database Diagnostic monitor-> run ADDM. Once this is done, you should be able to generate and view report 'ADDM' for the new task.

    In order to accomplish the above, you should probably add the following privileges to your user name: -.

    Executer run on dbms_workload_repository, Advisor, select any dictionary and select_catalog_role

    I hope this helps.

    Best regards

    Phil Richens.

    SQLDev development team.

  • SQL Dev 4 EA3 - new SQL worksheet window opens docked on the far right of the window

    Hello

    While doing tests on the new EA of SQLDev version I found a weird behavior in the homepage of logic.

    Normally, when I click on a new database connection in the Connections window, a new window of worksheet is open in the center pane (the one with the Start Page) and it's as expected. Usually, I change the default configuration of work to get the best from my wide screen, docking station (and making visible permanently) the window "Find database objects" in a narrow pane to the right of the main pane. This Setup program creates all the problems in version 3 of SQL Dev and it worked well always.

    In version 4 of the SQL Developer instead, there are problems with the above configuration. In fact when I want to look at an object in another database instance (by choosing a new connection of database in the "Search database objects" window), or when I just open a new database connection in the Connections pane, a new spreadsheet for the connection will not open in the center pane (as in SQL Dev 3) , but in the right of the workspace, docked pane right next to the window "find database objects. The net result is that I have to withdraw each time the new worksheet window and dock it manually to the center pane in the workspace.

    I think that it is quite confusing because users expect the new worksheet window to open right were they do normally, which is in the center pane. The new worksheet is not quite visible, like the "Search database objects" window is narrower than the center pane and use the user must manually drag and drop it onto the center pane each time in order to work with it.

    Hope it can be fixed before GA

    Thank you

    Paolo Marzucco

    You're not home right, you create a new document tab group. When the search results come back, it goes to this group of tabs. Tell me open, Panel code fragments, which is anchored on the right. Go find a DB object this Panel, then do your research - you will see the results in the main document tab group.

  • data via sql dev store

    Hello
    I've given cluster and can store files and it is clustering ID in the new database using the ODM. I group these data via SQL dev. Oracle again but I'm not for any folder for the storage of cluster ID. How do I? can I put something in response or detail node?

    Hi Nasiri,
    In your description, you have only the Cluster node as entry in the node to apply it. You should also connect a node type of source of data as well. Just to get this to work, why not connect the source of input data to your Cluster node to the node to apply it. If the node to apply it should have 2 inputs, a node of type of data source, but also a model node.
    Thank you, Mark

  • Access DB in SQL Server using SQL Dev 3.2.2

    Could someone tell me how to set up SQL Dev 3.2.2 to access a SQL Server database. I am trying to connect to SQL Server 2005
    I tried to install the driver, JTDS JDBC of updates, but apparently not have installed anything.
    I have donwloaded a driver JTDS directly and tried a few statements used on the old version of SQL Dev, but when I copy the JAR files and ddl to the bottom of my window no longer works, once I have delete the connections I get it back.

    Any help would be greatly appreciated

    Paul

    Published by: Trotty on December 10, 2012 11:22

    I often have problems to install third party JDBC drivers use check for updates. The downloaded files are of length zero.

    To manually install...

    Download jtds 1.2. Later versions are not supported.

    Place the jar somewhere.
    In sqldeveloper, go to tools | Preferences | Database | Third of JDBC drivers
    Click Add entry...
    Navigate to which you've placed the jar file and select it. Click OK and close the Preferences dialog box.

    The new connection dialog box should now include tabs for SQL Server and Sybase.

  • Is there any AutoComplete component with customizable list?

    Hello guys

    Is there any AutoComplete component that uses mx:List as a list of suggestions

    In fact, I want to show a few tiny images on suggestions.

    Please guide in this regard

    Thank you

    The Flextras AutoCompleteComboBox is an extension of the Flex ComboBox control.  So, Yes, the drop-down menu that displays your data is a list.  And you can customize the display of the element using itemRenderer.

    More information is here:

    http://www.Flextras.com/?event=ProductHome&ProductID=10

    If you have any questions, contact me directly, and I'll help. ( http://www.flextras.com/?event=ContactForm ).

  • Are there any quick replay of the notification Center of whatsapp and messenger on ios10 apps and sms messages?

    Are there any quick replay of the notification Center of whatsapp and messenger on ios10 apps and sms messages?

    See if this information from the iPhone user Guide helps. http://help.Apple.com/iPhone/10/#/iph6534c01bc

  • iPhone 3 iOS 4.1 - is there any app available yet for this phone text message

    I would like to use my old iPhone 3 iOS 4.1 for an emergency situation. Is there any text message apps that still work?

    Not for the e/s 4.1, no.

    Nowadays, the minimum requirement is iOS 7.

  • Are there any available for the Mac Pro 2013 SSD expansion?

    Are there any available for the Mac Pro 2013 SSD expansion?

    I would like to increase my 1 or 2 GB of storage internal if possible.

    https://eShop.MacSales.com/shop/SSD/OWC/Mac-Pro/2013

  • Is there any function of linear programming in numbers version 3.6.2?

    I know there is no function of linear programming in numbers until 2011 (read all the old posts). I want to know is there any moment or Apple is still quite complacent to do something. In my class, I introduce spreadsheets and I choose to submit in numbers instead of excel, now I can't change my choice if I have to then I have to take excel classes and change all my previous worksheets which is equivalent to a failed in the class and object of repetition. I'm the only one facing this problem because I am the misfortunate, who made a mistake to love Mac. And in if he makes Apple feel better hear it "I manually fix (just had to learn any other way) linear programming models and then draw, while windows users use the built-in, they. Thank you Apple

    If you try to get the settings for a better line did I suggest to use linest() function:

    LINEST() is a function of linear estimation.  I suggest that spend you some time to familiarize yourself with the functions that offers numbers by typing the equal sign in any cell, and then looking through the list of functions on the right.

    To use the line eating function do something as show above, enter the data X and Y in the columns, as shown.  To get the slope (m in my example), select cell E2 and enter the formula:

    INDEX (LINEST (B2:B11, a2:a11, false, Nonzero-y-Intercept), 0)

    shortcut for this is:

    E2 = index (LINEST (B2:B11, a2:a11, Nonzero-y-Intercept, true), 0)

    to get the y:

    E3INDEX (LINEST (B2:B11, a2:a11, false, Nonzero-y-Intercept), 1).

    There are additional stats in the table linest() returns.  Read about it in the built-in help

    I hope this helps

  • someone did factory reset on me and I got iMovie and GarageBand, and I had to make a new account that dosent iMovie and GarageBand (I got them with the laptop) is there any way I can get back them? A response would be appreciated

    someone did factory reset on me and I got iMovie and garage band, now I had to make a new account and that dosent just iMovie and GarageBand is there any chance I can get back my account?

    The Apple ID, you saved your Mac with, is the Apple which has all the applications provided with the Mac ID. By creating a new Apple ID, you can buy Apps. I know, I have two Apple ID myself. It is very important to know your Apple that you used for the registration ID, install and download all your apps in the App Store.

    Bravo!

  • Are there any programs that work similar to the old Adobe Pagemaker?

    Are there any programs that work similar to the old Adobe Pagemaker?

    Aldus Pagemaker, later Adobe Pagemaker were abandoned 12 years ago and since some of it is functionally distributed and shared between Adobe Illustrator and Adobe InDesign.

    If you are looking for something similar, Illustrator and InDesign will be the direct dead unless you have a copy of PageMaker running on an older operating system that supports

    After your choices narrow down to a few suggestions here

    http://www.MakeUseOf.com/tag/free-alternatives-Photoshop-Illustrator-Lightroom/

    and if you are looking for something more 'professional' look in the affinity Designer

    https://affinity.serif.com/en-GB/Designer/

    or QuarkXPress

  • I want to put a link Firefox in a Freeware section of my Web site, is there any question of law?

    Godd afternoon,

    I have a company Web site and we do a section of freeware software.
    I want to put a link Firefox (http://www.cloudinfo.pt), is there any question of law?
    Can I host the package or simply insert the link?

    Thank you.

    Fernando

    Hello Fernando, there shouldn't be any problem with this, but for more details, please refer to Mozilla brand to https://www.mozilla.org/en-US/foundation/trademarks/policy/ policy - especially the part about software distribution & linking.

Maybe you are looking for

  • Could not find Stor.e ALU 2 s 2.5 "(500 GB)

    Hello!I took yesterday a 2 s Stor.e Aluminum 2.5 "(500 GB) and put a lot of data on it."Today, that my computer does not seem to find the trendy and more HD. Not even in the Device Manager.If any suggestions ill take em. I have an another question th

  • Error when using of a product bought at Toshiba disc recovery

    Hello I bought a recovery of the proceeds of the Germany cd, he has now deleted from my PC and is stuck on the continuation of the process of copy of F:\ZZImg\09115xSP5.swm to V:\HDDRecovery\SMimg [5/6] He has been stuck on this for hours, I left all

  • Photosmart c6250 all-in-one: frustration driver location

    New hard drive replace crapped-out of road.  Try to find and download the printer driver [Photosmart c6250 all-in-one] successfully to zero on the HP support site... remarkable circular effort: point to drivers, identify the printer, poster printer p

  • Hard drive swapped error "windows cannot be authentic."

    Original title: the hard drive. I have two laptops. It is Asus but questions of power and screen and cannot be used. My other laptop is a dell but crashed I just took my Asus drive and put it in my dell. I start but says windows can not be real.  But

  • New hardware designs

    I want to improve my office. currently have Windows Vista Edition AMD CPU Home Premium x 64 2.0 ghz. two hard drives. Vista on a 80gig and VMware 6.5.2 and various Linux distro on a 60gig drive.I want to move to a faster processor and use as a single