Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] Selection as script parameter

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

Back to the top