• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need help opening file with eclipse plugin

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You'll never get away with this you overconfident blob! The most you will ever get is this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic