Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » plugin source(xtext plugin source)
plugin source [message #998122] Wed, 09 January 2013 12:11 Go to next message
Dana Klein is currently offline Dana KleinFriend
Messages: 63
Registered: October 2012
Member
Hi,

I'm using eclipse application to run my dsl.
I want to add a feature that takes files from the running ui and do something.

how can i get the file directory of the plugin in runtime?

thanks,
dana
Re: plugin source [message #998139 is a reply to message #998122] Wed, 09 January 2013 12:34 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 01/09/2013 01:11 PM, Dana Klein wrote:
> Hi,
>
> I'm using eclipse application to run my dsl.
> I want to add a feature that takes files from the running ui and do
> something.
>
> how can i get the file directory of the plugin in runtime?
>
> thanks,
> dana

you may want to have a look at platform uris:

http://lmap.blogspot.it/2008/03/platform-scheme-uri.html

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: plugin source [message #998225 is a reply to message #998139] Wed, 09 January 2013 15:51 Go to previous message
Dana Klein is currently offline Dana KleinFriend
Messages: 63
Registered: October 2012
Member
i tried to use the platform:/plugin example but i'm still not sure what is the plugin path..
Previous Topic:Multiline Comment processing
Next Topic:How to add a class to the list of imports in the generated Java ?
Goto Forum:
  


Current Time: Thu Apr 25 13:24:00 GMT 2024

Powered by FUDForum. Page generated in 0.02802 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top