Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EEF] Properties not displayed
[EEF] Properties not displayed [message #622153] Tue, 16 February 2010 07:29 Go to next message
J. Rietz is currently offline J. RietzFriend
Messages: 40
Registered: July 2009
Member
Hi,

I've followed the tutorial and watched the live demo, but I still doesn't get it all the way...
I have no compiler errors or anything else indicating that something is wrong or missing.
For my test model in runtime I get a Properties view containing a 'Base' section but content is completely empty :(

I've inserted the content from xxx_properties.plugin.xml into the xxx.edit plugin. Is this correct?

<!-- EEF extensions -->
<extension
point="org.eclipse.emf.eef.runtime.PropertiesEditionProvider ">
<PropertiesEditionComponentProvider
providerClass=" eef.prototype.model.providers.ModelPackagePropertiesEditionP rovider ">
</PropertiesEditionComponentProvider>
</extension>
<extension
point="org.eclipse.emf.eef.runtime.PropertiesEditionPolicyProvider ">
<PropertiesEditionPolicyProvider
providerClass=" eef.prototype.model.providers.ModelPackagePropertiesEditionP olicyProvider ">
</PropertiesEditionPolicyProvider>
</extension>

<!-- Tabbed properties views extension -->
<extension
point="org.eclipse.ui.views.properties.tabbed.propertyContributor ">
<propertyContributor
contributorId="eef.prototype.model.properties">
<propertyCategory
category="default">
</propertyCategory>
<propertyCategory
category="extended">
</propertyCategory>
<propertyCategory
category="advanced">
</propertyCategory>
</propertyContributor>
</extension>
<extension
point="org.eclipse.ui.views.properties.tabbed.propertyTabs" >
<propertyTabs
contributorId="eef.prototype.model.properties">
<propertyTab
label="Base"
category="default"
id="Base">
</propertyTab>
</propertyTabs>
</extension>
<extension
point="org.eclipse.ui.views.properties.tabbed.propertySections ">
<propertySections
contributorId="eef.prototype.model.properties">
<propertySection
class=" org.eclipse.emf.eef.runtime.ui.properties.sections.Propertie sEditionSection "
id="eef.prototype.model.section.SuperObject"
tab="Base">
<input
type="eef.prototype.model.SuperObject">
</input>
</propertySection>
</propertySections>
</extension>

Any ideas what the problem could be?
I'm using Acceleo version: 0.9.0.v200909291229 and EEF version: 0.8.0.v201002021108

Thanks
/Joachim
Re: [EEF] Properties not displayed [message #622156 is a reply to message #622153] Tue, 16 February 2010 10:26 Go to previous messageGo to next message
J. Rietz is currently offline J. RietzFriend
Messages: 40
Registered: July 2009
Member
Self-solved ;)

Manually added third extension, which wasn't automatically generated:

<extension
point="org.eclipse.emf.eef.runtime.PropertiesEditionPartProvider ">
<PropertiesEditionPartProvider
providerClass=" eef.prototype.model.providers.ModelPropertiesEditionPartProv ider ">
</PropertiesEditionPartProvider>
</extension>
Re: [EEF] Properties not displayed [message #622159 is a reply to message #622153] Tue, 16 February 2010 10:57 Go to previous message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------040705060504020803000105
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi Joachim,

As i can see, you don't declared the last extension point needed by EEF
to display properties :

http://wiki.eclipse.org/EEF_tutorial_:_First_generation#Exte nsion_points_declaration

you must have 3 EEF extension points in your plugin.xml, it is missing
something similar to this :

<extension
point="org.eclipse.emf.eef.runtime.PropertiesEditionPartProvider ">
<PropertiesEditionPartProvider

providerClass=" eef.prototype.model.providers.ModelPropertiesEditionPartProv ider ">
</PropertiesEditionPartProvider>
</extension>

you can also CC yourself to that bug :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=302932


Cheers,


J. Rietz a écrit :
> Hi,
>
> I've followed the tutorial and watched the live demo, but I still
> doesn't get it all the way...
> I have no compiler errors or anything else indicating that something is
> wrong or missing.
> For my test model in runtime I get a Properties view containing a 'Base'
> section but content is completely empty :(
>
> I've inserted the content from xxx_properties.plugin.xml into the
> xxx.edit plugin. Is this correct?
>
> <!-- EEF extensions -->
> <extension
> point="org.eclipse.emf.eef.runtime.PropertiesEditionProvider ">
> <PropertiesEditionComponentProvider
>
> providerClass=" eef.prototype.model.providers.ModelPackagePropertiesEditionP rovider ">
>
> </PropertiesEditionComponentProvider>
> </extension>
> <extension
>
> point="org.eclipse.emf.eef.runtime.PropertiesEditionPolicyProvider ">
> <PropertiesEditionPolicyProvider
>
> providerClass=" eef.prototype.model.providers.ModelPackagePropertiesEditionP olicyProvider ">
>
> </PropertiesEditionPolicyProvider>
> </extension>
>
> <!-- Tabbed properties views extension -->
> <extension
> point="org.eclipse.ui.views.properties.tabbed.propertyContributor ">
> <propertyContributor
> contributorId="eef.prototype.model.properties">
> <propertyCategory
> category="default">
> </propertyCategory>
> <propertyCategory
> category="extended">
> </propertyCategory>
> <propertyCategory
> category="advanced">
> </propertyCategory>
> </propertyContributor>
> </extension>
> <extension
> point="org.eclipse.ui.views.properties.tabbed.propertyTabs" >
> <propertyTabs
> contributorId="eef.prototype.model.properties">
> <propertyTab
> label="Base"
> category="default"
> id="Base">
> </propertyTab>
> </propertyTabs>
> </extension>
> <extension
> point="org.eclipse.ui.views.properties.tabbed.propertySections ">
> <propertySections
> contributorId="eef.prototype.model.properties">
> <propertySection
>
> class=" org.eclipse.emf.eef.runtime.ui.properties.sections.Propertie sEditionSection "
>
> id="eef.prototype.model.section.SuperObject"
> tab="Base">
> <input
> type="eef.prototype.model.SuperObject">
> </input>
> </propertySection>
> </propertySections>
> </extension>
>
> Any ideas what the problem could be?
> I'm using Acceleo version: 0.9.0.v200909291229 and EEF version:
> 0.8.0.v201002021108
>
> Thanks
> /Joachim
>


--------------040705060504020803000105
Content-Type: text/x-vcard; charset=utf-8;
name="stephane_bouchet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="stephane_bouchet.vcf"

YmVnaW46dmNhcmQNCmZuO3F1b3RlZC1wcmludGFibGU6U3Q9QzM9QTlwaGFu ZSBCb3VjaGV0
DQpuO3F1b3RlZC1wcmludGFibGU6Qm91Y2hldDtTdD1DMz1BOXBoYW5lDQpv cmc6T2Jlbw0K
YWRyOjs7Ozs7O0ZyYW5jZQ0KZW1haWw7aW50ZXJuZXQ6c3RlcGhhbmUuYm91 Y2hldEBvYmVv
LmZyDQp4LW1vemlsbGEtaHRtbDpGQUxTRQ0KdXJsOmh0dHA6Ly93d3cub2Jl by5mcg0KdmVy
c2lvbjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------040705060504020803000105--
Previous Topic:[EEF] Properties not displayed
Next Topic:[EMF Compare] OPTION_DISTINCT_METAMODELS XML files
Goto Forum:
  


Current Time: Tue Apr 23 15:27:31 GMT 2024

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

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

Back to the top