Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » [Properties View] Errors in documentation when creating Advanced Custom Widget?
[Properties View] Errors in documentation when creating Advanced Custom Widget? [message #1751592] Wed, 11 January 2017 17:36 Go to next message
Claudia Irvine is currently offline Claudia IrvineFriend
Messages: 30
Registered: July 2015
Member
I am following the documentation for creating an advanced custom widget per https://www.eclipse.org/sirius/doc/developer/extensions-properties_provide_custom_widget_advanced.html

I am throwing errors in TableController. It says to make changes to the Basic Custom Widget as follows but it throws an error in the constructor. The question is which is the correct class to extend: AbstractEEFWidgetController (shown in class declaration) or AbstractEEFCustomWidgetController (shown in imports)? If it is supposed to be AbstractEEFWidgetController, then the constructor must be changed. If it is AbstractEEFCustomWidgetController, then casting must be done.
Re: [Properties View] Errors in documentation when creating Advanced Custom Widget? [message #1751657 is a reply to message #1751592] Thu, 12 January 2017 10:20 Go to previous messageGo to next message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 458
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

There seems to be an error indeed, it should be AbstractEEFWidgetController in the import and the constructor should be modified. I have created an entry on the bugzilla to track this issue, I'll submit a fix for Sirius 5.0 soon. Thanks for reporting this issue.

Regards,

Stéphane Bégaudeau, Obeo
Re: [Properties View] Errors in documentation when creating Advanced Custom Widget? [message #1751715 is a reply to message #1751657] Thu, 12 January 2017 19:56 Go to previous message
Claudia Irvine is currently offline Claudia IrvineFriend
Messages: 30
Registered: July 2015
Member
Thanks! But now that I try to use it, I realize I am still missing some information. In https://www.eclipse.org/sirius/doc/specifier/properties/Properties_View_Description.html#extension_points, it says to make sure I have "org.eclipse.emf.edit.childCreationExtenders" properly configured. But I can't find any information on what that should look like for Sirius integration.

Thanks
Previous Topic:Diagram Reference
Next Topic:[Properties view] Hide standard sections
Goto Forum:
  


Current Time: Fri Sep 01 17:57:32 GMT 2023

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

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

Back to the top