Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » issue with use of Properties provider
issue with use of Properties provider [message #207115] Thu, 25 September 2008 16:42 Go to next message
Eclipse UserFriend
Originally posted by: ledocc.gmail.com

Hi all,

I try to use
org.eclipse.gmf.runtime.common.ui.services.properties.IPrope rtiesProvider
like describe in the documentation here :
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. gmf.doc/reference/extension-points/index.html
but my class MyPropertiesProvider is never instanciated (I check the
constructor with debugger).

Someone have a solution ?? a Tip ?? any friendly experience with this
issue ??

Thanks
David
Re: issue with use of Properties provider [message #207401 is a reply to message #207115] Tue, 30 September 2008 02:10 Go to previous message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi David,

Put a breakpoint in the PropertiesService.getPropertySource() to see which
IPropertiesProvider is being selected for your editor.

The default
org.eclipse.gmf.runtime.diagram.ui.providers.internal.Diagra mPropertiesProvider
has a MEDIUM priority in org.eclipse.gmf.runtime.diagram.ui.providers so
likely your issue is that you need your provider to have a higher priority.

p.s. DiagramPropertiesProvider having a MEDIUM priority is an interesting
issue as the default providers should really have the LOWEST priority too
allow override as you are attempting to do.

Cheers...
Anthony

"ledocc" <ledocc@gmail.com> wrote in message
news:gbgf1j$neq$1@build.eclipse.org...
> Hi all,
>
> I try to use
> org.eclipse.gmf.runtime.common.ui.services.properties.IPrope rtiesProvider
> like describe in the documentation here :
> http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. gmf.doc/reference/extension-points/index.html
> but my class MyPropertiesProvider is never instanciated (I check the
> constructor with debugger).
>
> Someone have a solution ?? a Tip ?? any friendly experience with this
> issue ??
>
> Thanks
> David
Previous Topic:Cannot initialize foo_diagram with Diagram Partitioning - diagramLink not created
Next Topic:error about label attributes
Goto Forum:
  


Current Time: Mon Jan 18 17:58:09 GMT 2021

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

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

Back to the top