Get currently opened file in code editor

Hi,
I am writing an extension for Oracle Jdeveloper. I have created a view and now I need to access the currently opened file in the code editor. However, all I get is the context of my own view:
Context.newIdeContext(this);
But how can I get the Code Editor and its currently opened file? Any ideas?
Regards,
Michael

There are a couple of blog posts that may help you out with this.
https://blogs.oracle.com/jdevextensions/tags/files
HTH,
--jb                                                                                                                                                                                                                                                                               

Similar Messages

  • When opening more image files in CC they are floating at the back, behind current open files

    When I'm working on an image or images (not docked) in PS CC on iMac OSX 10.9 Maverick, if I open a new file it does Not open at the front.  The newly opened file will open hidden/behind the currently open files yet if I got to the window drop down menu at the bottom it clearly shows the newly opened file is selected and thats the file I'm working on, even though its behind all the previously opened images and I can't see it fully .  Hard to explain but has anyone else found this issue?   Its strange and awkward when working at full speed.
    Any idea whats going on?

    So in this screenshot I have 2 bed images open, then I open the office-2 image but it doesn't open on top of the bed images but behind, yet you can see from the layers & nav bar that its the office-2 image were working on. 
    This issue can cause problems when working fast with lots of images. previously I've accidentally closed files that weren't finished destroying history snapshots etc.
    Any idea whats going on?

  • How to get an open file dialog in Forms 9i?

    Although in online help I can find the get_file_name function just like it was in Forms 6.0, at runtime this wonderful function doesn't seem to do anything.
    Furthermore, there is no more d2kwutil.pll, nor d2kwutil.dll.
    How could I get an open file dialog?

    Hi,
    actually this functionality does not work. The reason for this is that Forms9i is Web only and there is no functionality downloaded with the generic Java Applet. For the moment I filed an enhancement request to have this on our radar. Meanwhile, if you need thi sfunctionality you can help yourself by writing a PJC that opens a dialog and performs the action that you want to.
    Frank
    Forms Product Management

  • Do I not get the "open file after publishing" checkbox with the trial version?

    I owned the Adobe Acrobat 8 Professional version on my pc, and recently bought a Mac. Do I not have the option to "Open file after publishing" checkbox with the trial version? Do I have to repurchase the whole program to get that?

    uninstall.
    download from prodesigntools.com.
    if you follow all 7 steps you can directly download a trial here:  New Adobe Lightroom 6 (CC) Direct Download Links – Free Trials | ProDesignTools
    and activate with your serial number.
    if you have a problem starting the download, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com or initiates the download of an incorrect (eg, current) version.

  • Open file in sample editor

    Hey forum,
    This is probably a super noob question, but I have a clip of a 7 bar guitar line that I want to open in the sample editor so I can reverse it. I know the default is to double-click it, but it has the arrow on the left side and when I double click it, it pulls down the only take that I did of that section (instead of opening in sample editor). I want to know how to do this for other clips with more than one take as well.
    So basically, how do I open a snippet in sample editor without double clicking on it?
    Thanks,
    Daniel

    Hey Jorge.
    Thanks for the suggestion. I've actually had to re-install the bug ridden 8.0.0 version to get it to work. Never thought i'd be saying that
    I haven't updated it yet as i need to get some work done before i waste another day trying to sort out mysterious errors.
    Thanks anyway
    Rowan

  • Always open files in code view?

    I never use design view and it's very annoying that Dreamwaver CS4 can't seem to understand and remember that. I can be editing a file one day in code view, and when I open the file again the next day it opens in design view!? Is there a setting for this somewhere or is this a bug? Any suggestions for a solution?

    The preference to open in Code view prevents that page type from being opened any other way. It means open ONLY in Code view.
    The way that Dreamweaver opens documents follows a logical pattern. If no document is open, the first document is opened in whichever view was active when the last document was closed or Dreamweaver was shut down. If a document is already open, Dreamweaver opens the next document in the same view.
    If you always work in Split view, as I do, all documents will open in Split view. The only exception is if you open a file that is set to open in Code view only. If that document is active when you open a new document, it will also be in Code view.
    It's logical and simple to understand. If you don't like the way it works, file an enhancement request through the official form at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform.

  • I get error when clicking on Code Editor after I install Install Visual Studio 2012 with the Microsoft Visual Studio Tools for Applications 2012 add-on.

    Hi, 
    I have ultimate VS 2012.  Following direction here, http://msdn.microsoft.com/en-us/library/office/ee526362(v=office.15).aspx 
    I installed this, http://www.microsoft.com/en-us/download/details.aspx?id=38807 
    Now all my infopath form when I click on Code Editor or On-load-Event....  the all give me error saying "infopath has encountered an error.  The operation failed"
    What is going on? How can I fix this?  
    p.s.  I'm using C# as the language choice
    thank you.

    I suspect you're running into a similar issue: http://www.sbrickey.com/Tech/Blog/Post/Office_2013_InfoPath_2010_Forms
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Open file with system editor..

    Hello,
    I have a File (any kind of file) inside a java desktop application (swing) , and I want to open it with the appropriate system editor just like Eclipse does (right click on file | open with system editor).
    Could you provide sample java code doing that ? (I know it's not easy and haven't found much googling).
    Would that code be portable ?
    thanks a lot !

    Hai,
    Yeah, that true Desktop is available on Java 1.6. These Desktop class is derived from jdic.jar, which u can find by googling. It contains APIs and examples for opening a file with the system editor. Dowload the jar file add to classpath use it, thats all. Refer to the examples.

  • How to get current local  file system volume sizes information from OMS?

    Hi
    I know I can get this information from the table SYSMAN.MGMT$STORAGE_REPORT_LOCALFS.
    But info stored in this table is not always up to date, but when going to the page em/console/monitoring/hostFilesystemOverview$target=xxxhostnamexxx$type=host$pageType=current$ctxType=Hosts the information is current.
    I have accessed mentioned table in apex, from outside OMS, I would like to have current information instead of old.
    How to do that?
    Thanks

    I think that there is nothing wrong with this table, just that the data is not collected every 5 minutes or so, only on a daily basis.
    But as ca107207 said - when you go to the page, showing information about the files system, from the host home page - the data is up to date to the current second.
    Therefore I think that OMS ask agent to send this value, but it is then not stored anywhere.
    My question would be how to ask agent from outside OMS to get this information?
    I have done a little reverse engineering on OMS packages and there should be a way to get this, using some procedures, pl/sql code with generating some cursors etc.
    I'm not that good in pl/sql to create something like that, it would take too much time for me. I think that it can't be done without OMS at all, I just have another database with apex on the same host and apex display some information for other users about the file systems etc. It would be nice to have information about file system usage current.
    Thanks

  • Always open files in code view (with option to switch back to design/split)

    I almost never use design view and it's very annoying that Dreamwaver CS4 can't seem to understand and remember that. I can be editing a file one day in code view, and when I open the file again the next day it opens in design view!? Is there a setting for this somewhere or is this a bug? Any suggestions for a solution?
    Someone suggested I add the relevant suffixes in the "Open in code view" field (Preferences > File Types / Editors) but Adobe has decided that if I choose to always open a certain file type in code view via this method, I will not be allowed to temporarlily switch to design/split view.
    Any other suggestions?
    Original thread (incorrectly marked as "answered")
    http://forums.adobe.com/message/2399024

    All I can suggest is that you post an official feature request via the official form and wait for Adobe to implement something in CS6 or CS7 (assuming the feature set for CS5 is set in stone by now).
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • How can I get current Number file name in a cell ?

    I want to write current Number (3.5) file name in a cell.
    It was working in previous version of Number but not with latest one. Thanks.

    Yes, you can click the title bar of any document (the down arrow) to access the current file name:

  • Indesign - Cannot open file - error code 5

    Hello,
    I'm having a huge problem with my indesign...
    I lost all the work that I've been working on for at least a week...
    Could you please help me with the error code 5?
    Best Regards
    Joana

    Answered in the other thread

  • I can't change the "open file" directory location

    I've got a new installation of version HomeSite 5, which
    works really well except that I cannot get the Open File dialog box
    to go to the last directory I opened. So EVERY single time I want
    to, say, get a graphic from a directory, I have to double click my
    way down the path to reach the same directory I just picked up a
    previous file from. It doesn't seem to matter whether I have
    checked "Start in the folder last opened in the Files tab" or
    "Start in the folder last opened in the file open dialog." The
    "Always start in this folder" DOES work -- but that's not
    sufficient.
    Is there somewhere else I need to change or check something
    to get the Open File to always open in the directory I last
    opened?! (REALLY frustrating!)
    Thanks, Elenor

    Not sure if this will help - you can dock 2 panes for files.
    If I am working with a large site I will sometimes do the code work
    in #1 open an images directory in #2.
    Hope that helps!

  • Loadjava Error while opening file: –resolve  Exception java.io.FileNotFound

    Dears,
    I'm having Oracle 11gr2 on Windows 2008r2. I have very strange issue while trying to load ordinary Java source. I get error that loadjava can't open file. I'm using the following command in loading:
    %ORACLE_HOME%\dbhome_1\BIN\loadjava -thin -user ORAMQ/***@localhost:1521:DEVAR -verbose -fileout %C:\temp\loadjava-9-MQReasonCodeResolver.java.log C:\src\MQReasonCodeResolver.java –resolve-----
    I got the following error in the verbose file out:
    arguments: '-user' 'ORAMQ/***@localhost:1521:DEVAR' '-thin' '-verbose' '-fileout' 'C:\temp\loadjava-9-MQReasonCodeResolver.java.log' 'C:\src\MQReasonCodeResolver.java' '–resolve'
    creating : source MQReasonCodeResolver
    loading  : source MQReasonCodeResolver
    Error while opening file: –resolve
        Exception java.io.FileNotFoundException: –resolve (The system cannot find the file specified)
    creating :  –resolve
    The following operations failed
         –resolve: opening file-----
    The code is very simple and doesn't have any issue:
    import java.lang.reflect.Field;
    public class MQReasonCodeResolver
        public MQReasonCodeResolver()
        public static final String MQ_EXCEPTION_CLASS = "com.ibm.mq.MQException";
        public static final String RC_FIELD_PREFIX = "MQRC_";
        public static final String RC_VALUE_FIELD = "reasonCode";
        public static String resolve( Exception mqex )
            if ( !canResolve( mqex ) )
                return mqex.getClass().toString() + mqex.getMessage();
            Class class1 = mqex.getClass();
            try
                Field field = class1.getField( RC_VALUE_FIELD );
                Object key = field.get( mqex );
                Field[] fields = class1.getFields();
                for ( int i = 0; i < fields.length; i++ )
                    Field ff = fields;
    String name = ff.getName();
    if ( name.startsWith( RC_FIELD_PREFIX ) && ff.get( null ).equals( key ) )
    return mqex.getMessage() + " " + name;
    catch ( Exception ex )
    return "unknown";
    public static boolean canResolve( Exception exx )
    Class class1 = exx.getClass();
    while ( Exception.class.isAssignableFrom( class1 ) )
    if ( MQ_EXCEPTION_CLASS.equals( class1.getName() ) )
    return true;
    class1 = class1.getSuperclass();
    return false;
    I load other classes and no issue, even jar files, I don't know what is the problem with this file? Also, it is strange is creating class and loading it has no issue, but the issue comes when resolve.
    Can anyone help?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi:
    Put your -resolve flag at the beginning of the list of arguments.
    Latest arguments should be files to be uploaded by loadjava.
    Best regards, Marcelo.

  • Where is "open file" in PDF Portfolio?

    How do I get back Open File in the top right corner of a PDF Portfolio I created in Acrobat X?

    It's a two step process. First, double-click on a file thumbnail in the portolio to view the preview:
    Then when you're viewing the preview, see Open File at the upper right:

Maybe you are looking for