Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Custom IDecorator
Custom IDecorator [message #81086] Mon, 27 November 2006 09:38 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Custom IMarkerNavigationProvider
Next Topic:How can remove orphan views without reopening the editor
Goto Forum:
  


Current Time: Fri Jul 25 08:28:32 EDT 2025

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

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

Back to the top