File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help opening file with eclipse plugin

 
Chris Christopher
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I'm trying to make a plugin in eclipse which will place warning markers in an Xml file. I created my own custom view where these markers will be placed and and when the user clicks on one of them the plugin will open up the Xml file in an editor taking the user to the marker's location. Similar to if you had a java warning and clicked on the marker it would take you to the location of that warning in the java file.

This is my first plugin so I'm taking it one step at a time. I just want to start by having my plugin open a file when a marker is clicked, but I cant figure out how to that even. The OpenFileAction seems to be the class I need, but even after checking the javadocs I can't figure out how to use it.

Thanks in advance for your help.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic