Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF Decoration Location
GMF Decoration Location [message #645684] Sun, 19 December 2010 20:24 Go to next message
Philip Langer is currently offline Philip LangerFriend
Messages: 31
Registered: July 2009
Member
Hi again,

I'm struggling with GMF Decorators. I managed to add decorations and
update them whenever I need to.

However, my problem is the location (and visibility) of the decorator
icons I'm trying to add:
I'm using a custom locator. If I locate the decorator icon _within_ the
figure everything works fine. But when I locate it outside (or even
partially outside) of the figure to be decorated the decorator icon
won't show up any more.
Do I miss to refresh or notify something in order to get the canvas
around the figure to be refreshed?

My goal is to place the decorator icon on the upper right border of the
figure.

Thank you very much for any hints on this!

Cheers,

Philip
Re: GMF Decoration Location [message #645685 is a reply to message #645684] Sun, 19 December 2010 20:28 Go to previous message
Philip Langer is currently offline Philip LangerFriend
Messages: 31
Registered: July 2009
Member
On 2010-12-19 21:24, Philip Langer wrote:
> Hi again,
>
> I'm struggling with GMF Decorators. I managed to add decorations and
> update them whenever I need to.
>
> However, my problem is the location (and visibility) of the decorator
> icons I'm trying to add:
> I'm using a custom locator. If I locate the decorator icon _within_ the
> figure everything works fine. But when I locate it outside (or even
> partially outside) of the figure to be decorated the decorator icon
> won't show up any more.
> Do I miss to refresh or notify something in order to get the canvas
> around the figure to be refreshed?
>
> My goal is to place the decorator icon on the upper right border of the
> figure.
>
> Thank you very much for any hints on this!
>
> Cheers,
>
> Philip

Just a short follow up information:

Placing the icons outside of the decorated figure works for my own
generated GMF diagram editors, but for instance, it doesn't work with
the Ecore Diagram Editor.

Thanks a lot!

Philip
Previous Topic:Question about diagram partitioning and synchronization
Next Topic:Reuse xtext validators in our gmf editor
Goto Forum:
  


Current Time: Thu Apr 25 04:11:33 GMT 2024

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

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

Back to the top