Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Modify EList Editor
Modify EList Editor [message #665743] Fri, 15 April 2011 13:11 Go to next message
g mouch is currently offline g mouch
Messages: 14
Registered: December 2010
Junior Member
Hi,

I 've created a RCP application for my diagram. There, in the Properties View, if I want to add a value in a EList I have to click on the button in the "value" column an a new form comes up.

My questions:

1. Where is the listener for this button?
2. Can I modify the code there?
3. Can I modify the default form eg. remove the "Up" and "Down" buttons?

Thanks!
Re: Modify EList Editor [message #665768 is a reply to message #665743] Fri, 15 April 2011 14:08 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25999
Registered: July 2009
Senior Member
Have a look in org.eclipse.emf.edit.ui.provider.PropertyDescriptor's use
of FeatureEditorDialog and at
http://wiki.eclipse.org/EMF/Recipes#Recipe:_Create_your_own_ property_editor_in_a_generated_application


g mouch wrote:
> Hi,
>
> I 've created a RCP application for my diagram. There, in the
> Properties View, if I want to add a value in a EList I have to click
> on the button in the "value" column an a new form comes up.
>
> My questions:
>
> 1. Where is the listener for this button?
> 2. Can I modify the code there?
> 3. Can I modify the default form eg. remove the "Up" and "Down" buttons?
>
> Thanks!
Previous Topic:[Solved] Using external libraries
Next Topic:Draw on editor canvas
Goto Forum:
  


Current Time: Thu Aug 21 16:08:12 EDT 2014

Powered by FUDForum. Page generated in 0.03215 seconds