[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ease-dev] Selection as script parameter
|
Hi Jonah!
Thanks. I will try that!
Raphael
2018-08-02 15:03 GMT+02:00 Jonah Graham <jonah@xxxxxxxxxxxxxxxx>:
> You can use getSelection() and then extract the IProject from there. See
> this example as a starting point:
> http://git.eclipse.org/c/ease/org.eclipse.ease.scripts.git/tree/JavaScript%20Snippets/Explore%20from%20here.js
>
> HTH
> Jonah
> ~~~
> Jonah Graham
> Kichwa Coders Ltd.
> www.kichwacoders.com
>
>
> On Thu, 2 Aug 2018 at 13:52, Raphael Geissler <raphael.geissler@xxxxxxxxx>
> wrote:
>>
>> Hi all,
>>
>> I am writing an EASE Script that uses an Eclipse-Project as parameter.
>> At the moment the project name is hard coded as variable.
>> But what I want is to select a Eclipse-Project in the Package-Explorer
>> and then run the script, e.g. via context menu and get the project
>> name as input parameter.
>>
>> Is that somehow possible?
>>
>> Thanks for your help!
>>
>> Raphael
>> _______________________________________________
>> ease-dev mailing list
>> ease-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/ease-dev
>
>
> _______________________________________________
> ease-dev mailing list
> ease-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/ease-dev