Costum editor

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Costum editor

Postby George » Wed May 18, 2011 2:20 am

Hello,
I create my costum editor named listofpersonne that extends AbstractComboboxPropertyEditor make a liste in the method fillItems and it appear in editor.but when i select item from this list is not select.
I thin i should implement the method selectCurrent but i dont have idea about this.
think you for your help.
George
 
Posts: 29
Joined: Wed Apr 06, 2011 4:25 am

Re: Costum editor

Postby George » Wed May 18, 2011 2:55 am

i resolve this problem.but now is select the item but appear in property and disapear.so i search how the item selected is appeared in property
George
 
Posts: 29
Joined: Wed Apr 06, 2011 4:25 am

Re: Costum editor

Postby Eric Clayberg » Wed May 18, 2011 8:15 am

OK. I'm not sure what problem you are describing.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Costum editor

Postby George » Wed May 18, 2011 9:44 am

I want to create my costum editor that it like Combobox.so i extends the AbstractComboboxPropertyeditor.

The probleme is when select an item from the combo it's work (property value is ok) but it not appear in property text.
George
 
Posts: 29
Joined: Wed Apr 06, 2011 4:25 am

Re: Costum editor

Postby Eric Clayberg » Wed May 18, 2011 1:15 pm

I would recommend using org.eclipse.wb.internal.core.model.property.editor.AbstractComboPropertyEditor.

It has a lot of subclasses which can be used as examples.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests

cron