GMF2 and PropertyProvider [message #63884] |
Tue, 17 October 2006 11:28 |
Eclipse User |
|
|
|
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 |
Artem Tikhomirov 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 |
Artem Tikhomirov 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 |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03221 seconds