Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Custom decoration not being called
Custom decoration not being called [message #995597] Sun, 30 December 2012 16:09
Nigel Daniels is currently offline Nigel DanielsFriend
Messages: 66
Registered: July 2009

I have been following the GMF decoration example
and have added my own extension point:

name="Test Decorators"

In my diagram code the class OptionEditPart has been created and when i
added the extension point I have created and edited the
SelectedOptionDecoratorProvider class and I created a
SelectedOptionDecorator. However i never see the decoration I have added
appear in my diagram.

I have set a breakpoints in the provides(IOperation operation) method
and the createDecorators(IDecoratorTarget decoratorTarget) method but
they never seem to get called.

Is there something else i need to do to get this extension point working?

Thanks for any advice.

Best regards,

Previous Topic:How to add diagram objects to (EMF) tree browser
Next Topic:Save operation corrupts diagram file
Goto Forum:

Current Time: Sun Mar 29 06:17:41 GMT 2020

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

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

Back to the top