Problems with inheritance from Composite

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

Problems with inheritance from Composite

Postby grillp » Fri Feb 27, 2009 4:47 am

Hello all together,
i'm new to the gwt designer and have a problem with inheritance from the class composite - maybe someone can help ?

I have one class which extends from the Composite class:

public class Test1 extends Composite {
public Test1() {
super();
}
}

another class extends from Test1 class:

public class Test2 extends Test1 {
public Test2() {
super();
}
}

Now i can't change to the designer view in eclipse within the class Test2 (the tab at the bottom with the entires "Source" and "Design" is not there)!
It works with the class Test1 !

Do i have to do something additional to switch to the designer for class Test2 ?!

You can also see my problem in the screenshot !

Thanks in advance for your help !
Regards
Patrik
Attachments
Unbenannt-2.png
Unbenannt-2.png (11.39 KiB) Viewed 378 times
grillp
 
Posts: 2
Joined: Fri Feb 27, 2009 4:32 am

Re: Problems with inheritance from Composite

Postby Eric Clayberg » Fri Feb 27, 2009 4:50 am

grillp wrote:Do i have to do something additional to switch to the designer for class Test2 ?!

You need to open the class with the Designer Editor rather than he simple Java Editor that comes with Eclipse.
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: Problems with inheritance from Composite

Postby grillp » Fri Feb 27, 2009 5:12 am

Thanks a lot .. that was the essential clue :-)
grillp
 
Posts: 2
Joined: Fri Feb 27, 2009 4:32 am

Re: Problems with inheritance from Composite

Postby Eric Clayberg » Fri Feb 27, 2009 7:46 am

Note that this is covered in the Designer Docs.
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