Custom IDecorator [message #81086] |
Mon, 27 November 2006 09:38  |
Eclipse User |
|
|
|
Hi,
I've just implemented a custom IDecorator, so that icons corresponding
to problem markers are shown in my diagram. This is very useful, to
avoid having to switch to the problem view to look for model errors.
Unfortunately I ended up copying almost all the code from
BookmarkDecorator, since I didn't dare to extend an internal class and
the generic Marker parts where separated from the Bookmark specific
Is there any chance that a non-internal abstract MarkerDecorator class
could be made by refactoring the BookmarkDecorator, so that an
IDecorator based on markers would be easier to make?
Hallvard
|
|
|
Re: Custom IDecorator [message #81159 is a reply to message #81086] |
Mon, 27 November 2006 11:34  |
Eclipse User |
|
|
|
Hallvard,
Sounds like a good idea to me. I suggest you write a bugzilla for this.
To ensure a faster resolution time, feel free to attach an outline
of your decorator code to help us determine what can be shared, or
better yet, provide the abstract MarkerDecorator class yourself. ;-)
Regards,
Cherie
Hallvard Trætteberg wrote:
> Hi,
>
> I've just implemented a custom IDecorator, so that icons corresponding
> to problem markers are shown in my diagram. This is very useful, to
> avoid having to switch to the problem view to look for model errors.
>
> Unfortunately I ended up copying almost all the code from
> BookmarkDecorator, since I didn't dare to extend an internal class and
> the generic Marker parts where separated from the Bookmark specific
>
> Is there any chance that a non-internal abstract MarkerDecorator class
> could be made by refactoring the BookmarkDecorator, so that an
> IDecorator based on markers would be easier to make?
>
> Hallvard
|
|
|
Powered by
FUDForum. Page generated in 0.04360 seconds