Getting the filepath of the current project in an Eclipse plugin

I'm developing my first eclipse plugin. Is there a method I can use in my plugin action code to get the file path of the project currently being worked on in the IDE. I want to be able to know where the project that somebody is writing is stored, when they are writing the project.

I dont think it is a problem with the linking of the library, as If i split up my code as such
LibraryClass lc;
lc = new LibraryClass();The program hangs on the second line, it gets through the first line.
I have no idea what is going on... The constructor for the LibraryClass is just blank (does nothing at all), and throws no exceptions.
Any ideas??

Similar Messages

  • Something happened, now I can't select clips in the timeline of my current project(in Elements 4)

    I've been working on a project for a few days now, everything's been fine. Last night while editing, something happened when I was trying to add a transition between two clips. Now I can't select or edit any clips in the timeline anymore, and can't add new ones. When I click on the clips in the timeline, nothing happens. When I try to drag the select box around several of them, same thing. It acts like there's nothing to select. Same thing with right clicks, soundtrack mp3s, etc. The clips ARE still THERE though, and they all play fine in the preview screen in real time, and when I drag the slider back and forth along them.
    All the clips are already rendered except the one transition I was adding when this started. When I hit 'Enter' to render, though, it says "Rendering 1 of 6 Audio Previews" instead of the usual x-number of video previews. I've not seen that before so it probably has something to do with all this.
    It's ONLY with this one project. I can still edit and select clips in all my other projects as before.
    I've already tried loading other projects and then coming back to this one, as well as closing the program and re-opening it. My current project is still stuck like this but the others are fine.
    Please keep all this info in mind. This can't have anything to do with codecs or the clips being in the wrong format for the program. They're all regular AVI files and MP3s, I've been selecting and editing every single clip on this timeline dozens of times over the past few days with no problems. I'm just suddenly not able to select or edit them anymore or add anything new to the timeline, but they still play normally as previews.
    I'm really hoping this is a simple thing where I've just tripped some setting and accidentally saved it that way and it can be easily changed back.

    OK, then all that I suggested here:
    Now, Exit from PrE, and Shutdown the computer completely. Wait a few moments, and then do a cold boot, launching PrE and Opening that Save_As Project. Do you now have the ability to edit the Clips on the Timeline?
    If not, go to the location where you Copied the AutoSave folder, and view the files with Detail View ON. Then, look at the Date/Time of the files (probably will be 5 of them). Choose the last one written, Open that, and test. If no change, work backwards to the oldest.
    If nothing is working, the only thing that comes to my mind would be an issue with the display driver, BUT that should affect all Projects, and not just this one. However, updating the video driver is always a good step, and should not hurt anything.
    Note: many MP3's can cause all sorts of problems. I recommend always converting them to PCM/WAV @ 48KHz 16-bit, and replacing MP3's with those WAV files. One can use the great, free audio-editor, Audacity, to convert the MP3's.
    If all of the above tests fail, let us know, and if you get any error, or warning messages, copy those down completely, and post those
    all failed too?
    If so, there is nothing that I can suggest. It seems that your Project is hosed, and is very likely not recoverable.
    Sorry,
    Hunt

  • Where are the movies in the project library saved?

    I am trying to find where my movie is saved on my computer. I can locate it only in the Project File, and under "file" there is no option that says "save" or "save as."

    Thank you. Two questions:
    1. So is the reason that my current project is not in that folder because I haven't exported it yet?
    2. I did share the movie with you tube.  When I created my you tube account, I hit "private."  Now I find that no one else can see my movie but me.  Yikes! That's not good.  I tried to change my "private" to "public" or to start all over again and just open a new you tube account...BUT  my you tube page never looks like the page in the example.  I go to  youtube.com  as they recommend...but my own page never has  any of the links or questions that the "help" page says it does.  I'm very frustrated.

  • Initialize the filepath in FileUpload ?

    Hello,
    Is it possible to initialize the filepath in the inputfield of the FileUpload UIElement ?
    I need to do that to upload the content stored at a fixed place on the client computer.
    Note: If someone know how i can read the COM serial port on the client, i will appreciate any help.
    Thanks

    Hi Nguyen,
    The Web Dynpro FileUpload element gets rendered to HTML as an INPUT element of form:
    <input type="file" />
    While the
    <input>
    element does have a value attribute which can be set to an initial value, this value is ignored by all browsers when the input type is of type file.  This is for security reasons to prevent "stealing" files from a client computer by a combination of HTML and client-side JavaScript.
    For this reason, Web Dynpro has no function for setting a file path for the FileUpload element.
    - Walter

  • Switching the language of the "Crystal Reports for Eclipse" plugin

    Good day everyone,
    I would like to ask about configuring the language of the "Crystal Reports for Eclipse" plugin:
    - I have "Crystal Reports for Eclipse" version: 2.0.7.r1040
    - I have installed the language packs 1 and 2
    - Currently, the Crystal Reports perspective and the associated views are displayed in German.
    - I would like to switch these views back to English.
    Questions:
    1. How can I switch the language?
    2. Will this switching of the language have any known side effect on the existing reports, because some of the reports in my current project are displayed in German?
    Thank you in advance for your support.
    Best regards,
    Samar

    Hello everyone,
    I have found a solution for this question that I would like to share with you.
    - Browse the Control Panel
    - Open the Regional and Language Options
    - In the Regional Options tab under the Standards and formats group, select the Locale that you prefer.
    - *Restart Eclipse* and the Crystal Reports plugin would read the changed setting and display the Crystal Reports perspectives and views in the language of the selected Locale.
    Best regards,
    Samar
    Edited by: Samar Hossam on Jun 30, 2011 6:56 PM

  • My current project in the events library has gone into list mode. ie a single clip on the left, one above another, so showing only about 7 clips. how can I get it back into normal horizontal mode

    My  current project in the Events Library has gone into list mode. ie a single clip on the left one above another, so showing only about 7 clips. How can I get it back into normal horizontal mode?

    That's about what it's supposed to look.
    How do You want it to look ?
    a. You can change places by using this
    b. May be You changed this top right symbol of an hard disk ?
    c. or changed the number of frames to be viewed ?
    d. OR - it can (at least for me) be so that You think of how it looks in iPhoto. (To me a very common mistake)
    Yours Bengt W

  • How to get the index of the word at current cursor position in the word?

    Dear All
    I am implementing a spell checker of my native language in Word. Whenever I run spell checker it start from the first word. How can I make it to start from the current cursor position? How can I get the index of the word at the current cursor position?
    Thanks in advance.
    Dharam Veer Sharma

    hi Dharam Veer Sharma,
    Thanks for sharing the solultion with us.
    It is helpful for others who have the same issue. And if you have any Office developing issue, please feel free to open a new thread.
    Have a nice day.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I have PR cs6 and my mac has recently upgraded itself from iPhoto where i imported all my photos and film from to "photos" now all of my current project is showing 'media offline' AAAAARGGGH!! now i can't see anything. the audio is fine but everything els

    can anyone help me get all of my edited holiday video visible again? my mac upgraded itself from iPhoto where i keep my imported video and photos, to "photo" now all of my current project (and probably old ones as well! ) are showing media offline. how can i get this back seeing the clips on 'photo'?

    When you open a project you need to point PPro to the new media location and relink
    >mac upgraded itself from iPhoto
    THAT is not good... I am Windows, but at least a Windows update gives ME the option of unchecking an update

  • Help and some explanation how to get a Microsoft.Office.Tools.Excel.Worksheet host item that extends the functionality of the current Microsoft.Office.Interop.Excel.Worksheet object

    Hello,
    I would use some help and more info about how to get host object that extends the functionality of my current Interop.Excel.Worksheet object. I read this artical: https://msdn.microsoft.com/en-us/library/ee794671.aspx where I can call this function
    GetVstoObject to get host object. But I see that here I need to pass the Globals.Factory object as second parametar. Can someone give me more details about that parameter and how to access it? I would like to get host object so I can access extension
    property, since my interop excel worksheet doesn't have it.  
    I am using Visual Studio 2013 for developing Excel addin. Using Excel 2010.
    Thanks in advance for help.
    Regards,
    Zeljka

    Hi Zeljka,
    >>I am using the Microsoft Office PIAs, so my question is how to access this automatic generated class Globals in my case?   <<
    Sorry, I am not able to understand the application you were developing exactly. From the orgnal post, you were developing an application level add-in, however based on the description above, it seems that you were building an console or Windows form application
    to automate Office application.
    If you were developing Office automation, the host item can't work for this secnario since it should run under the VSTO runtime.
    If I misunderstood, please feel free to let me know.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can I update to the new FCPx without effecting my current project?

    Stupidly, I updated my computer to Mavericks. However I'm halfway through an FCPx project and now I can't export it.
    I'll get the new fcp x but will this effect my current project? Does it simply open in the updated version?
    Thanks for your help.
    (Why is it I always regret updating my apple products?)

    You really need to answer this:
    What are your complete computer specs?
    The current version if 10.1.1. It will not effect your projects and events if they are updated correctly. You need to read about this.
    http://www.fcpxbook.com/updates/101/
    You also need to give your computer specs to see if there may be other problems going forward that will not make it possible.

  • Help! There are no video tracks defined in the current project.

    I have been sending slideshows from Iphoto to Idvd for over a year without any problems. Now when I click the burn icon I get this message:
    There are no video tracks defined in the current project. Can anyone help? I'm really in a panic concerning how this could have happened and how to fix it. Thanks

    Hi t
    Don't know BUT
    I would start a new account/user and log into this and re-try.
    Yours Bengt W

  • "There are no video tracks defined in the current project"

    I can't get the IDVD program to burn a Dvd. When I click the burn button I get the Message "There are no video tracks defined in the current project. Error in Project Structure". The iMovie seems to be fine. I had burned one previous movie to DVD and had no problem
    iMac G5 Mac OS X (10.4.3)
    iMac   Mac OS X (10.2.x)  

    Also be sure that you have "dropped" the movie into the right location. The " ...error in project structure." simply means that the DVD specification calls for at least one video track. Your video track is probably in a drop zone on the menu; in which case you have no playable video track. Drag the movie outside the drop zone and see what happens.
    Mike

  • HT2534 I am from the U.S, now currently in the Czech Republic. Just bought an iphone with vodafone. I can't get past the account setting on itunes, etc...either way, How do I get ENGLISH SPEAKING HELP instead of being redirected to the Czech Language stor

    I am somewhat new to apple products. I am from the U.S. and currently studying in the Czech Republic.
    I have an itouch with an apple ID, but lately I can't get it to charge or work. After pluggin the usb recharge cable to the computer at my universities facility, it gives a black page with a picture of the cable and the arrow pointing to itunes logo. The school's computer labs don't have i tunes or anything like that.
    I also just got an iphone 4S and have been trying to set up and i can't seem to complete the process for the itunes so i can install the apps i had in the itouch and also to get new apps. It stops me and says to contact the itunes for support right after the input of address and phone number information, etc...
    The purchase was made in the czech republic from a vodafone store, but if i remember right i configured it to US settings so I don't have to deal so much with everything showing up in Czech.
    I tried getting help by going to the support, but after putting in my  name, email, phone number for scheduling a call with them it rejects the phone number because i am putting in my czech phone number. Putting in my previous US number would be useless because I am not in the US and that number is probably inactive.
    I would to get some English speaking support while being here in the czech republic.
    Any advice?
    -peteMD-

    If you are completely confident that you didn't hide it, then you purchased those with different apple id. If you completely confident that you purchases with same apple id then you have hidden it. One of the other or you are speaking about a miracle. While miracles are possible they are not very likely. Remember
    Occam's razor?

  • Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit

    Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit

    Download the Brother Mountain Lion drivers here.

  • I have a 1st gen iPod Touch and have purchased the ios 3.1, but cannot get it to download from the store to the iPod? On iTunes, it says that I have the current version of 2.1  Help!

    I have purchased the ios 3.1 update for my 1st generation iPod Touch, but cannot get it to download.  When I check the summary on iTunes, it says that I have the most up-to-date version of 2.1.  I really need to update to 3.1 to download some games for my son.  I have an iPad and do not want to purchase a new iPod if I  can get some games on the current one.
    Thanks in advance!

    So you are saying that you purchased it by:
    Purchasing iOS 3.1 Software Update for iPod touch (1st generation)
    Is iTunes signed into the same iTunes account that purchased it?
    How long ago did you purchase it?
    Did you purchase it on another computer?
    Contact iTunes:
    Apple - Support - iTunes - Contact Us

Maybe you are looking for

  • ColdFusion with IIS URL Rewrite - Page never finishes loading

    I am running CF10 on IIS 7.5 with URL Rewrite module installed. All the rewrite rules work perfectly and ColdFusion is returning the correct pages. In order to get the page displayed in the browser I have to manually set the 'content-length' value in

  • MIRO - Verify Cross Company Invoice

    Hello Experts. In transaction MIRO the system automatically detect a cross company transaction, and that's fine.   But my client, just need a cross company invoice between specific two company codes.   Otherwise,  the system should send and error mes

  • Taking huge time to fetch data from CDHDR

    Hi Experts, To count the entries in CDHDR table it taking huge time and throught time_out dump. I hope in this table some more than million entries exist. Is there any alternate to findout the entries?. We are finding the data from CDHDR by following

  • Starting DevStudio ends in error message

    Hello Experts I'm working with the SAP Netweaver Developer Studio since the year 2005. We haven't made any changes to the configuration besides updating it to higher service pack levels, but we had no problems with that. Now the DevStudio does not st

  • Human task flow call back events with external web service

    Hi All, I have a requirement to call webservice inside human task flow. I have three participant in my human task flow. Let suppose A, B and C. When A approves then task will be assigned to B and when B approves it will go for C. My requirement is th