Custom Setup Task: Label and Icon? [message #1713530] |
Wed, 04 November 2015 20:42 |
Eclipse User |
|
|
|
Hi all,
i use gradle in lots of my builds and since oomph does not yet support
the import of gradle projects i tried to create my own setup task for
it. Using the skeleton created by the wizard it was quite easy to
implement the functionality, just using buildship to import the project
and runnig the "eclipse" target on it.
Now i am stuck at the fine-tuning: the setup editor shows my task with
a default icon and the label "Task". Can give me someone a pointer
where/how i create my own label (i want the directory i am inporting
from and the name of the gradle task i will execute be shown in the
editor) and my own icon?
(By the way, i am an EMF beginner)
Best regards,
Hermann
|
|
|
Re: Custom Setup Task: Label and Icon? [message #1713560 is a reply to message #1713530] |
Thu, 05 November 2015 07:27 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
Herman,
This is done via the generated .edit plugin. I.e., the
XyzTaskItemProvider.getText and the icons/full/obj16/XyzTask.gif.
On 04/11/2015 9:42 PM, Hermann wrote:
> Hi all,
>
> i use gradle in lots of my builds and since oomph does not yet support
> the import of gradle projects i tried to create my own setup task for
> it. Using the skeleton created by the wizard it was quite easy to
> implement the functionality, just using buildship to import the
> project and runnig the "eclipse" target on it.
> Now i am stuck at the fine-tuning: the setup editor shows my task with
> a default icon and the label "Task". Can give me someone a pointer
> where/how i create my own label (i want the directory i am inporting
> from and the name of the gradle task i will execute be shown in the
> editor) and my own icon?
> (By the way, i am an EMF beginner)
>
> Best regards,
> Hermann
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03599 seconds