Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Custom Setup Task: Label and Icon?
Custom Setup Task: Label and Icon? [message #1713530] Wed, 04 November 2015 20:42 Go to next message
Eclipse UserFriend
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 Go to previous message
Ed Merks is currently offline Ed MerksFriend
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/
Previous Topic:SSH keys
Next Topic:Copy folder using ResourceCopyTask
Goto Forum:
  


Current Time: Sun Dec 08 18:51:15 GMT 2024

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

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

Back to the top