Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Do something right after plugin installation(How to do sth (e.g. open a website, run code) right after the installation of a plugin.)
icon3.gif  Do something right after plugin installation [message #1386500] Tue, 17 June 2014 22:30 Go to next message
Stefan Surkamp is currently offline Stefan SurkampFriend
Messages: 4
Registered: June 2014
Junior Member
Hello everyone,

I'm trying to execute a specific action right after the user installed my plugin. Is there a convenient way to do so?

My current approch is saving a isFirstStartup boolean value in the plugin's preferences - but that's rather cumbersome and not the smartest solution possible, I think.

Best regards,
Stefan
Re: Do something right after plugin installation [message #1386610 is a reply to message #1386500] Wed, 18 June 2014 15:21 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1813
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 18/06/2014 13:09, Stefan Surkamp wrote:
> Hello everyone,
>
> I'm trying to execute a specific action right after the user installed
> my plugin. Is there a convenient way to do so?
> My current approch is saving a isFirstStartup boolean value in the
> plugin's preferences - but that's rather cumbersome and not the smartest
> solution possible, I think.

You might want to have a look at p2.inf

http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata
http://eclipsesource.com/blogs/2013/05/23/custom-touchpoints-in-p2/


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:add classpath at runtime tab in manifest
Next Topic:Viewing custom marker attribute in problems view
Goto Forum:
  


Current Time: Tue Sep 24 17:02:41 GMT 2024

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

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

Back to the top