Designer 5.1.0: Visual inheritance broken

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

Designer 5.1.0: Visual inheritance broken

Postby colinzhao » Fri Jul 18, 2008 1:59 pm

Designer 5.1.0 (7/17/2008 build)
GWT 1.5.
Java 1.6
Windows XP

The inherated widgets do not show up in the design view of the subclass composites, if the base composite is abstract, like the following example:

Code: Select all
abstract public class TestComposite extends Composite {   

   private VerticalPanel layoutPanel;
   public TestComposite() {

      layoutPanel = new VerticalPanel();
      initWidget(layoutPanel);
      layoutPanel.setWidth("100%");
   }

   public void displayContent(Composite content) {}
   
   public VerticalPanel getLayoutPanel() {
      return layoutPanel;
   }
}

It works if I remove the abstract key word.
colinzhao
 
Posts: 24
Joined: Sun Dec 31, 2006 4:03 pm

Re: Designer 5.1.0: Visual inheritance broken

Postby Eric Clayberg » Sun Jul 20, 2008 4:23 pm

This shoud be fixed in the latest v5.1.0 build.
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 3 guests