[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [Dltk-dev] How to listen for interpreter changes?
|
- From: Gabriel Petrovay <gabipetrovay@xxxxxxxxx>
- Date: Wed, 16 Sep 2009 14:13:04 +0200
- Delivered-to: dltk-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=v9wHX8XMc3tmaNHQTqApBVrMcO9dEcxP8+dewm78TY0=; b=RDQDODYpkF7W0thnYlVzilNYFN2hay7h1e4QdydcETl7lpJ/QZf/EKbJ68eR0Uph0o oednc9SsgBPVvqH0KVbErSdxBLjRfus70xd/vL00qKDphtaJsVXTM4fRFo/1KoyXBWoc v+yUfn7HQAdLMYtFwh65AowZhbfCfagJYyfLE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=f87YId1DfdQRWTV9KqCPUrf4NbawgW+AS3SFZtEZ2SubpfiTDpp2GcDlQTA4xD17ot VDy0mRAna86RSfYYLIoCbxDfVUrUOj6DLsQwcOG3xR/VS1vRDkez3nM9l0oHLD6RNPY0 42S5IsPqlOX+Q7GKie1hCU/1PSNEyMKvjZ870=
Hi Andrei,
The IInterpreterInstallChangedListener is only notified when workspace
interpreter changes occur (adding, removing, editing or changing the
default one). What I need is a listener like that but for projects
(when the user changes the interpreter of the project I have to
perform custom actions depending on the chosen interpreter). Any
solution for this?
Thanks!
Gabriel
On Tue, Sep 15, 2009 at 6:57 AM, Andrei Sobolev
<andrei.sobolev@xxxxxxxxx> wrote:
> Hi Gabriel,
>
> You could use
> org.eclipse.dltk.launching.ScriptRuntime.addInterpreterInstallChangedListener()
> method to register listener.
>
> Best regards,
> Andrei Sobolev.
>>
>> Hi,
>>
>> Is there a way one can listen for interpreter changes (This event can
>> appear either by changing the Eclipse preference or the project
>> property).
>>
>> Thanks!
>>
>> Regards,
>> Gabriel
>>
>>
>
> _______________________________________________
> dltk-dev mailing list
> dltk-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dltk-dev
>
--
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com