Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Uninitialise plugin
Uninitialise plugin [message #460408] Thu, 25 August 2005 05:00 Go to next message
Eclipse UserFriend
Originally posted by:

Hello all,

I am implementing a license module which checks for an existing valid
licence key first . If there is none or Trial period expired i want disable
teh plugin till its registrered again. How cn we do thta.

Any suggestions would be greatly appreacitaed.
Thansk in advance.

Re: Uninitialise plugin [message #460409 is a reply to message #460408] Thu, 25 August 2005 08:15 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Check it in the 'start(Bundle)' method of the Plugin class, and throw an exception if startup fails. The plugin will automatcially be deactivated during that run of Eclipse. When eclipse restarts, it should be called again.
Previous Topic:capture the mouse
Next Topic:Add icon in a TableTree
Goto Forum:

Current Time: Fri Apr 16 15:31:19 GMT 2021

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

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

Back to the top