Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF2 and PropertyProvider
GMF2 and PropertyProvider [message #63884] Tue, 17 October 2006 11:28 Go to next message
Eclipse UserFriend
Originally posted by: tobk.gmx.de

Hello,

just experimenting with GMF2 Stream Stable Build. The new features and
bugfixes are really cool, but I miss the old extendable property source. I
do not mean that division in EMF and Style Folders (I didn't like that),
but I need to be able to extend some EObject-references.

In my model I have some non-visible elements which's attributes can be
modified only in their parent's property source (or in the EMF-Editor, but
switching between them s***s).

The GMF 1.0 had a class named XXXPropertyProvider which seems to have cared
about that. Now the standard EMF-Property view is used. By this, the
multiref-bug has been fixed, but I really miss the extendable EObject
references.

I tried to copy the PropertyProvider from an earlier version and restoring
the extension point in the plugin.xml, but it didn't work. Are there other
places I'd have to fix? Or will there be extendable property sources in the
final 2.0 release again? Or could you give me a template how to provide
extensible property sources in the edit code?

Since these elements do not have Edit Parts I can not select them via the
navigator, too.

Thanks,

tobias

PS.: Would you recommend to switch the GMF2 or to stick with the 1.0 for
now? I'd neither care about issues that might already be fixed in 2.0, nor
do I like to run in a dead end when relying on a feature that might not
make it in the final version...
Re: GMF2 and PropertyProvider [message #64000 is a reply to message #63884] Tue, 17 October 2006 11:50 Go to previous messageGo to next message
Artem Tikhomirov is currently offline Artem TikhomirovFriend
Messages: 222
Registered: July 2009
Senior Member
Add GenStandardPropertyTab with 'advanced' id to your GenPropertySheet and
you'll get the page that consults PropertyProviders back.


Artem

"tobias" <tobk@gmx.de> wrote in message
news:eh2em0$29v$1@utils.eclipse.org...
> Hello,
>
> just experimenting with GMF2 Stream Stable Build. The new features and
> bugfixes are really cool, but I miss the old extendable property source. I
> do not mean that division in EMF and Style Folders (I didn't like that),
> but I need to be able to extend some EObject-references.
>
> In my model I have some non-visible elements which's attributes can be
> modified only in their parent's property source (or in the EMF-Editor, but
> switching between them s***s).
>
> The GMF 1.0 had a class named XXXPropertyProvider which seems to have
> cared
> about that. Now the standard EMF-Property view is used. By this, the
> multiref-bug has been fixed, but I really miss the extendable EObject
> references.
>
> I tried to copy the PropertyProvider from an earlier version and restoring
> the extension point in the plugin.xml, but it didn't work. Are there other
> places I'd have to fix? Or will there be extendable property sources in
> the
> final 2.0 release again? Or could you give me a template how to provide
> extensible property sources in the edit code?
>
> Since these elements do not have Edit Parts I can not select them via the
> navigator, too.
>
> Thanks,
>
> tobias
>
> PS.: Would you recommend to switch the GMF2 or to stick with the 1.0 for
> now? I'd neither care about issues that might already be fixed in 2.0, nor
> do I like to run in a dead end when relying on a feature that might not
> make it in the final version...
Re: GMF2 and PropertyProvider [message #64023 is a reply to message #63884] Tue, 17 October 2006 11:52 Go to previous messageGo to next message
Artem Tikhomirov is currently offline Artem TikhomirovFriend
Messages: 222
Registered: July 2009
Senior Member
> PS.: Would you recommend to switch the GMF2 or to stick with the 1.0 for
> now? I'd neither care about issues that might already be fixed in 2.0, nor
> do I like to run in a dead end when relying on a feature that might not
> make it in the final version...

Take 2.0. Users are those to decide what and how makes it into final
versions, and if they don't check and verify what we are doing for 2.0, we
might end up with a thing they don't really need. ;)


Artem


"tobias" <tobk@gmx.de> wrote in message
news:eh2em0$29v$1@utils.eclipse.org...
> Hello,
>
> just experimenting with GMF2 Stream Stable Build. The new features and
> bugfixes are really cool, but I miss the old extendable property source. I
> do not mean that division in EMF and Style Folders (I didn't like that),
> but I need to be able to extend some EObject-references.
>
> In my model I have some non-visible elements which's attributes can be
> modified only in their parent's property source (or in the EMF-Editor, but
> switching between them s***s).
>
> The GMF 1.0 had a class named XXXPropertyProvider which seems to have
> cared
> about that. Now the standard EMF-Property view is used. By this, the
> multiref-bug has been fixed, but I really miss the extendable EObject
> references.
>
> I tried to copy the PropertyProvider from an earlier version and restoring
> the extension point in the plugin.xml, but it didn't work. Are there other
> places I'd have to fix? Or will there be extendable property sources in
> the
> final 2.0 release again? Or could you give me a template how to provide
> extensible property sources in the edit code?
>
> Since these elements do not have Edit Parts I can not select them via the
> navigator, too.
>
> Thanks,
>
> tobias
>
> PS.: Would you recommend to switch the GMF2 or to stick with the 1.0 for
> now? I'd neither care about issues that might already be fixed in 2.0, nor
> do I like to run in a dead end when relying on a feature that might not
> make it in the final version...
Re: GMF2 and PropertyProvider [message #64135 is a reply to message #64000] Tue, 17 October 2006 12:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tobk.gmx.de

Artem Tikhomirov wrote:

> Add GenStandardPropertyTab with 'advanced' id to your GenPropertySheet and
> you'll get the page that consults PropertyProviders back.

Worked (nearly) perfectly.

Some notes (no complaining; feedback):
- There were some annoying and discouraging errors when configuring the new
standard property tab
- a combobox holding the possible identifiers would be nice
- the XXXPropertyProvider and the extension point were not created; I had to
copy them from an earlier version (which does not everybody have). without
it there only was the appearence folder

Thanks,
tobias
Re: GMF2 and PropertyProvider [message #64954 is a reply to message #64135] Wed, 18 October 2006 11:12 Go to previous message
Artem Tikhomirov is currently offline Artem TikhomirovFriend
Messages: 222
Registered: July 2009
Senior Member
> - There were some annoying and discouraging errors when configuring the
> new
> standard property tab

Some hints, what did they say?

> - a combobox holding the possible identifiers would be nice
File a bug, please

> - the XXXPropertyProvider and the extension point were not created; I had
> to
Yep, that's intended. Advanced page provides means to plug-in your own
providers (consulting PropertiesService), but it's up to client to write
providers that fill it.

Artem

"tobias" <tobk@gmx.de> wrote in message
news:eh2ies$r1e$1@utils.eclipse.org...
> Artem Tikhomirov wrote:
>
>> Add GenStandardPropertyTab with 'advanced' id to your GenPropertySheet
>> and
>> you'll get the page that consults PropertyProviders back.
>
> Worked (nearly) perfectly.
>
> Some notes (no complaining; feedback):
> - There were some annoying and discouraging errors when configuring the
> new
> standard property tab
> - a combobox holding the possible identifiers would be nice
> - the XXXPropertyProvider and the extension point were not created; I had
> to
> copy them from an earlier version (which does not everybody have). without
> it there only was the appearence folder
>
> Thanks,
> tobias
Previous Topic:Ordering of model elements based on position
Next Topic:How to remove "click and drag to create a connection" helpers
Goto Forum:
  


Current Time: Tue Nov 12 19:43:39 GMT 2024

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

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

Back to the top