| Summary: | Cannot switch to Design view if class inherits an abstract class | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Marc DENTY <marc.denty> | ||||
| Component: | WindowBuilder | Assignee: | Project inbox <wb.swing-inbox> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | clayberg | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
The example pseudo code you provided worked fine on my end (once I fixed the one typo). In general, WB does not have problems editing classes that inherit from abstract classes, so any problem is likely to be very specific to your actual example (which we need to see). I did notice from your attachement that you are using an old, unsupported version of WindowBuilder (8.1.1). Please try this again with the latest Eclipse.org release (1.0.0) or the latest Eclipse.org build (1.1.0) available here... http://eclipse.org/windowbuilder/download.php You should completely uninstall any prior version first. If the newer version does not help, please post a complete test case and your complete Eclipse .metadata ".log" file and re-open this case. |
Created attachment 203743 [details] WindowBuilder bug report I have a AbstractDialog class which have a method protected abstract void createComponents(); When I try to design the implementing class that overrides createComponents method, the designer chokes with a java.lang.AbstractMethodError Sample pseudo code : public abstract class AbstractDialog extends JDialog { protected AbstractDialog(Window parent) { super(parent); createCompontents(); } protected abstract void createComponents(); } public class ImplDialog extends AbstractDialog { public ImplDialog(Window parent) { super(parent); } @Override protected void createComponents() { // I want to design this dialog in that method } }