JDev extension sdk help

Hi,
We are trying to build an extension on JDev 11.1.1.6. We need to get the list of all files in current project like jspx or jsff files. The ApplicationOverview sample application has given a way to get list of all files but we are not able to run as IndexManager class is not found in extension package. Please let us know how can we get the list of files. We have tried using Project , ProjectContent classes but unable to get required list.
Thanks

What do you mean when you say that "IndexManager class is not found in extension package"? Indexing is the correct way to search the contents of a project. By adding a dependency on oracle.ide.indexing you should be able to use te IndexManager.

Similar Messages

  • JDev extension SDK: How to refresh navigator via API?

    Hi,
    I'm developing a jdev extension, in which I create some files in the project source folder manually (in file system).
    These changes are not displayed in the projects navigator tree (of course). Is it possible to refresh the navigator view via SDK API, same like pressing the blue refresh-button on top of the navigation area?
    thx,
    Marcel

    Hi Harry,
    Sorry for the delayed response. I'm assuming we are on opposite sides of the world. :-)
    I looked deeper into the method that you pointed out and I've posted an internal question to some of the developers about how to get that TNode. I tried a couple of things myself, but kept running into a dead end.
    You can't get a TNode from the workspace. It has to come from the NavigatorWindow class.
    The Workspace and the NavigatorWindow are two completely different things. One is a representation of the jws and jpr files, and the other is the representation of the filesystem.
    I'm not quite sure that this will really do what you are looking for anyway. While it may refresh the Navigator window, I don't think it will go out and rebuild the tree with whatever is new in the project folder. When I look at the internal code for that Refresh button, it is doing a lot of re-reading of the filesystem and then rebuilding the tree.
    I was able to create my own menu item and have it call the action for the refresh button, but it still requires that the workspace be selected first, so it's in context when the menu us selected. Doesn't quite achieve what you're looking for.
    I'm assuming that you are looking to refresh the navigator window programmatically after you have add one or more files to the filesystem for a project. Is that correct? Just want to make sure I'm working with the same goal that you are.
    I'll keep looking into how this is done with some of our internal wizards. There has to be a way to do it.
    --jb                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Extension SDK : Where are the wizards for extension creation in JDev

    I remember seeing there were few wizards in JDev 10.1.3 Preview version for creating extensions which generates the stubs (like create extension with windows etc.), but I don't see it in the new extension SDK. It only contains extension.xml file with basic properties, also it doesn't XML give insight in the extensions.xml.
    Why are the wizards missing? Are they left by mistake oir by intension?
    I hope having wizards for extension creation (like eclispe) will help people creating extensions. Currently we have to copy paste some extensions provided by Extension SDK and merge our code as and where required.

    Hi,
    The Extension Manifest gallery item that's in 10.1.3 production's Extension SDK at least provides a starting point. It will generate extension.xml automatically based on values entered in the creation dialog.
    There were a couple of other extension design time features in 10.1.3 preview that were pulled prior to production. This was mainly due to scheduling constraints (a number of other features had higher priority), changes to the extension SDK API between preview and production, and several bugs and design issues with the functionality.
    As I mentioned, extension design time support will be expanded in future releases, and is now a priority for us. These improvements are currently targeted for the 11.0 release, but it's not inconceivable that the ESDK for 10.1.3 could be updated with these improvements too if there's enough demand.
    Thanks,
    Brian

  • Downloading extension SDK fails

    Howdy,
    I'm trying to install the extension SDK from within JDeveloper 11.1.1.1.0, but I'm failing miserably. It seems that the download manager cannot connect with the download server. The update manager displays the SDK as a download option, but when I select the item and press "Next", connecting fails and the Summary page displays nearly immediately.
    There is no apparent sign of failure, but the download did not finish successfully and when checking $HOME/.jdeveloper/tmp/update, the file "esdk_bundle.zip" has only 708 bytes! Enabling debug output reveals that the update manager seems to require a proxy server.
    Jul 21, 2009 12:24:40 PM oracle.ideimpl.webupdate.DownloadUpdatesRunnable fixProxyForDownloadOracleCom
    INFO: Detected internal Oracle user with no proxy. Using emeacache for download.oracle.com.
    Jul 21, 2009 12:26:53 PM oracle.ideimpl.webupdate.DownloadUpdatesRunnable fixProxyForDownloadOracleCom
    INFO: Detected internal Oracle user with no proxy. Using emeacache for download.oracle.com.
    But I've explicitly disabled the proxy server in the preferences, because it does not seem to work.
    No HTTP response received.
    java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 405 Method Not Allowed"
         at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1517)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:164)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
         at oracle.ide.webbrowser.HttpPing$PingRunnable.run(HttpPing.java:109)
         at oracle.ide.webbrowser.ProxyOptions.doTask(ProxyOptions.java:811)
         at oracle.ide.webbrowser.HttpPing.ping(HttpPing.java:74)
         at oracle.ide.webbrowser.ProxySettingsPanel$5.run(ProxySettingsPanel.java:811)
         at java.lang.Thread.run(Thread.java:619)
    The host name of the proxy is "emeacache.uk.oracle.com". Port 80.
    I could not find any information about an alternative proxy. Can anyone provide some information about how the proxy and/or update manager can be configured to allow downloads from the internal Oracle server? Or is there an alternative means to download the extension SDK?
    Thanks for your help.
    Best regards,
    Marco Hunsicker

    Hello Shay,
    thanks much for your quick reply.
    you can download the file directly from the link here:
    http://www.oracle.com/technology/products/jdev/101/update/center.xml#oracle.jdeveloper.esdk
    Got it! Thanks.
    Internal JDeveloper forums for Oracle Employees are here:
    http://myforums.oracle.com/jive3/?categoryID=445
    I don't seem to be able to access that forum. Not sure whether there is such a possibility for developers outside of Oracle, as John's post seems to be implying. Or maybe it hasn't been obvious that I'm not an Oracle employee.
    Anyway, my immediate need is satisfied. Thanks much for all the help.
    If anybody is interested to receive further information regarding the proxy server issue, please don't hesitate to contact me.
    Cheers,
    Marco

  • Working with PL/SQL Packages and Extension SDK

    Hi,
    I'm working on an Extension for SQL Developer. I want this Extension to wrap my PL/SQL Packages.
    The Situation:
    I got an Oracle DB 10g Revision 1 so I can't use the dbms_ddl call to wrap my Packages. I have to use the wrap.exe Utility.
    When I right click on a PL/SQL Package I can choose "Wrap it!" and the Extension does the following: It implements an oracle.ide.controller.ContextMenuListener and when the handleEvent function is called I cast the Context Parameter to a oracle.dbtools.raptor.navigator.plsql.PlSqlNode Object.
    Through the getSource function I get source code, print it into a file wrap it and write it back to the database.
    But I have to call this for both the package body and the package header. How can I got the header if my oracle.dbtools.raptor.navigator.plsql.PlSqlNode Object is the body or the body if my oracle.dbtools.raptor.navigator.plsql.PlSqlNode Object is the header with the Extension SDK? There has to be a Way, cause there is also a standart function called "Save Package Spec and Body".
    Can someone help me, please. :-)
    Thanks
    Andi
    P.S.: I'm sorry for my bad english. :(

    Greetings,
    If you are using the HTP/HTF procedures/functions then the following code does what you are asking:
    htp.formOpen( curl => 'schema.package.procedure_name', cmethod => 'post');
    which would generate the following HTML:
    <FORM ACTION='schema.package.procedure_name' METHOD="post">
    The names of <INPUT> items between the <FORM> tags should match parameter names in your PL/SQL procedure.
    Thanks,
    Dale

  • Cannot download bpm jdev extension from the new set of binaries

    People:
    I cannot download http://download.oracle.com/otn/beta/bpmbeta1/bpm-jdev-extension.zip from the new set of binaries. I tried using firefox 3.6 and IE 8
    and i always get:
    We're sorry, the page you requested was not found.
    Please any help will be appreciated :)

    Seems to be working okay now. Try again, Nico and let me know how it goes.
    Heidi.

  • How to get the Extension SDK

    I am new to JDeveloper and would like to explore how extensions can be added to JDeveloper. I have had some sample odes, but i cannot add the JDeveloper Extension SDK as a library because such a library is not listed in the list of available libraries. I tried downloading a few samples, even then the code would nt compile. When i checked the project properties for the added libraries, the entry for extesion SDK was there but with an error tag. It was seen that it was just a dummy entry and there was no corresponding library for it with my installation. I am having the JDeveloper 10g Studio Version 10.1.3.0.4.3673

    You download the Extension SDK as .... extension. Go to Help->Check for Updates.
    The Extension SDK is listed there. If you are behind a proxy, then don't forget to configure that in Tools->Preferences.
    Sascha

  • Extension SDK problem

    except the sample provided from oracle.
    any place can i find more sample about extension tool ?

    Is there a specific area of the extension SDK you need more information / examples on?
    I don't know if you've seen them already, but you can find many sample extensions along with source code on the Extension Exchange:
    http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/content.html
    Thanks,
    Brian ([email protected])
    JDev Team

  • How can I get JDeveloper Extension sdk for 9.0.4 version

    HI~
    I want to download JDeveloper Extension sdk for 9.0.4 version.
    Of course, I found some link for downloading, but all of them I found were not connected or connected with 11g version.
    I also try to install the sdk in JDeveloper menu called "Check for updates" in help menu. But it was not operated in my pc(Windows 7 64bit).
    I really need to older version Extension sdk.
    How can I get the sdk?

    The only way I see is through support. Versions this old are not accessible via the web.
    Timo

  • Extending the UML class diagrams with JDeveloper Extensions SDK?

    Hello,
    I studied the JDeveloper Extension SDK docs, but couldn't figure out how to write extensions that support UML Diagrams.
    What I would like to do, is to pin a different data model under the class diagram view.
    Well if you can't do that. In the worst case, my extension would register with a regular class diagram and listen to its events and and refuse particular changes. It would also create or use an empty class diagram and fill in the classes and associations in it. (this is less clean but I could live with it).
    Thanks in advance for all your suggestions.
    Slawek

    By definition you can change classes through the model so I guess the problem here is that the model cannot apply updates to something that it is pointing to the the compiled version of.

  • Windows sdk help file?

    Hi !
    I'm looking for windows sdk help file ?
    I'm using LabWindows 5.5 and I can't find
    information about windows sdk functions ?
    Piotr

    In order to use Windows SDK files you must have CVI Full Development System, not the starter kit nor base package.
    To install SDK on your hard disk you must run Custom installation: you will be prompted for a list of all installable items in which to select the appropriate options.
    Hope this helps
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to stop Firefox extension 'Shop Helper 0.91.32' from self installing?

    Over the last several days the extension Shop Helper 0.91.32 appears on the Firefox browser extension list and creates hyperlinks in many webpages. I have disabled and/or removed this extension several times and it still reappears. 'Shop Helper' acts like a virus, but my Norton s'ware doesn't see or stop it.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • JUnit for JDev Extension project

    Hi All,
    Just like JUnit integration for ADF BC's, does JDeveloper have any inbuilt wizard/support for JUnit in JDev extension project?
    Thanks

    Hi Frank,
    Thank you for the information. When you say "no specific JUnit" , does it mean that we could test an extension project using normal JUnit practices? I am asking this question because I am creating an extension project which adds a menu item to Tools Menu Bar. I am having trouble testing the successful addition of the menu item in JUnit. Could you provide some pointers towards the same?
    Thanks

  • JDEV Extensions

    I am new to JDEV Extensions. We are working on a project that requires to create a GUI designe time component where the user will be able to select items from the component gallery (custom items) and then drag it to the canvas. They should be able to connect the components using the connection links like in the BPEL designer or simple like the class diagram one.
    We are able to create new components in the component gallery, however, there is no example to make it draggable to the canvas. Also is there any example on how to build the connecting tool?
    Thank you.

    Shay,
    Sure, I have posted it in the internal oracleide message list.
    Thank you,
    Chida

  • Known Issue: Cannot use SocialInfoContract types even after adding the Mobile Extension SDK to my project.

    The Mobile Extension SDK is referring to
    Windows.ApplicationModel.SocialInfo.SocialInfoContract, but the contract is currently in the wrong location.

    Work around:
    From an administrative command prompt, rename the contract folder:
    On X64 bit machines type:
    Ren “C:\Program Files (x86)\Windows Kits\10\References\
    Windows.Phone.StartScreen.SOCIALRTContract” “Windows.ApplicationModel.SocialInfo.SocialInfoContract”
    On X86 bit machines type:
    Ren “C:\Program Files\Windows Kits\10\References\
    Windows.Phone.StartScreen.SOCIALRTContract” “Windows.ApplicationModel.SocialInfo.SocialInfoContract”

Maybe you are looking for