Create Editor for property tab

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

Create Editor for property tab

Postby George » Mon May 02, 2011 6:02 am

hello,
In property tab we find String editor,css editor,etc, to personalize the property of component
i want to create my own editor that i have the possibility to show it some property in property tab.so can you help me and tell me the steps to do that?
thinks
George
 
Posts: 29
Joined: Wed Apr 06, 2011 4:25 am

Re: Create Editor for property tab

Postby Eric Clayberg » Mon May 02, 2011 6:07 am

WindowBuilder is now an Eclipse open source project. You can check out the WB source here...

You should start by looking at the code and extension points for the existing property editors and copy/adapt those as needed.
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: Create Editor for property tab

Postby George » Mon May 02, 2011 7:05 am

I take the look but i don't found for example String editor in extension point property editor.
George
 
Posts: 29
Joined: Wed Apr 06, 2011 4:25 am

Re: Create Editor for property tab

Postby George » Mon May 02, 2011 7:38 am

Can you help me by telling me where i can find the definition of String editor?
thinks
George
 
Posts: 29
Joined: Wed Apr 06, 2011 4:25 am

Re: Create Editor for property tab

Postby Eric Clayberg » Mon May 02, 2011 8:18 am

How about in the StringEditor class?

If you load the WB source from the Eclipse.org repository, you can use Eclipse's built in Open Type command to find it in a few seconds.
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: Create Editor for property tab

Postby George » Mon May 02, 2011 10:30 am

Now i understand how it implemented in Window Builder.
i am in GWT project and i don't how i do?please guide me to do my objective.
George
 
Posts: 29
Joined: Wed Apr 06, 2011 4:25 am

Re: Create Editor for property tab

Postby Eric Clayberg » Mon May 02, 2011 10:49 am

Creating a new editor for GWT Designer follows the same pattern as it does for the rest of WindowBuilder.

Note that you can only extend WB in an Eclipse plugin project, not a GWT project.

Also note that if you are trying to learn how to do Eclipse plugin development, this is not the appropriate forum to ask those questions. I can, OTOH, recommend a really good book on that subject ;-)
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