Adding custom decorators to an EditPart [message #47429] |
Wed, 13 September 2006 21:49 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 #48658 is a reply to message #47429] |
Fri, 15 September 2006 10:07 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04122 seconds