Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Adding custom decorators to an EditPart
Adding custom decorators to an EditPart [message #47429] Wed, 13 September 2006 21:49 Go to next message
Eclipse UserFriend
Originally posted by: biggreencaterpillar.yahoo.com

I attended Anthony Hunters EclipseWorld session on GMF and he
demonstrated how to add a custom decorator to an EditPart on a property
value change. I didn't take notes on that part (typical eh?) and was
wondering if anyone knows how to do this.

I have tried adding an extension using
org.eclipse.gmf.runtime.diagram.ui.decoratorProviders but I am having no
luck getting my decorator provider being called.

kr
Re: Adding custom decorators to an EditPart [message #47517 is a reply to message #47429] Wed, 13 September 2006 22:05 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi,

The decorators example plug-in org.eclipse.gmf.runtime.diagram.decorator
came directly without modification from our GMF Runtime examples.

If you load the most recent GMF 1.0.1 maintenance build, you can do a new ->
example -> review decorator provider diagram plug-in, since we have added
example unzippers to the SDK.

Otherwise you can download the plug-in which is available in the examples
download.

Cheers...
Anthony

"kr" <biggreencaterpillar@yahoo.com> wrote in message
news:ee9ueb$odt$1@utils.eclipse.org...
>I attended Anthony Hunters EclipseWorld session on GMF and he demonstrated
>how to add a custom decorator to an EditPart on a property value change. I
>didn't take notes on that part (typical eh?) and was wondering if anyone
>knows how to do this.
>
> I have tried adding an extension using
> org.eclipse.gmf.runtime.diagram.ui.decoratorProviders but I am having no
> luck getting my decorator provider being called.
>
> kr
Re: Adding custom decorators to an EditPart [message #48658 is a reply to message #47429] Fri, 15 September 2006 10:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

Shortcuts are provided as decorations in generated gmf editors; you
could check them too.

kr wrote:
> I attended Anthony Hunters EclipseWorld session on GMF and he
> demonstrated how to add a custom decorator to an EditPart on a property
> value change. I didn't take notes on that part (typical eh?) and was
> wondering if anyone knows how to do this.
>
> I have tried adding an extension using
> org.eclipse.gmf.runtime.diagram.ui.decoratorProviders but I am having no
> luck getting my decorator provider being called.
>
> kr
Re: Adding custom decorators to an EditPart [message #50288 is a reply to message #47517] Mon, 18 September 2006 19:46 Go to previous message
Eclipse UserFriend
Originally posted by: biggreencaterpillar.yahoo.com

This solved the problem, many thanks

Regards
kr

Anthony Hunter wrote:
> Hi,
>
> The decorators example plug-in org.eclipse.gmf.runtime.diagram.decorator
> came directly without modification from our GMF Runtime examples.
>
> If you load the most recent GMF 1.0.1 maintenance build, you can do a new ->
> example -> review decorator provider diagram plug-in, since we have added
> example unzippers to the SDK.
>
> Otherwise you can download the plug-in which is available in the examples
> download.
>
> Cheers...
> Anthony
>
> "kr" <biggreencaterpillar@yahoo.com> wrote in message
> news:ee9ueb$odt$1@utils.eclipse.org...
>> I attended Anthony Hunters EclipseWorld session on GMF and he demonstrated
>> how to add a custom decorator to an EditPart on a property value change. I
>> didn't take notes on that part (typical eh?) and was wondering if anyone
>> knows how to do this.
>>
>> I have tried adding an extension using
>> org.eclipse.gmf.runtime.diagram.ui.decoratorProviders but I am having no
>> luck getting my decorator provider being called.
>>
>> kr
>
>
Previous Topic:Side-affixed children can not be placed in compartments
Next Topic:cannot generate model code
Goto Forum:
  


Current Time: Sat Jul 27 13:25:46 GMT 2024

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

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

Back to the top