How does Eclipse know whether the Swing Designer is available for a JFrame-derived class?

I am using Google Web Toolkit's Swing Designer in Eclipse to create and edit components like custom JFrame's.

The problem is that the Design View is sometimes broken for my class (probably because the project is also being edited by another person in a different platform), and I want to know how to restore it. In other words, I am able to edit the code for a custom JFrame, but I cannot use the visual editor to modify the JFrame anymore. I notice that the icon for my JFrame's source code also changes to a normal java-source-code icon when the design view is broken.

In which file does Eclipse keep track of what JFrame's can be edited using the visual editor and which ones not?

Thanks in advance.

Answers


If you want to open a file in the designer, but that's not happening by default, then use right-click Open With>WindowBuilder Editor.


Need Your Help

Being selective with preventDefault

javascript android cordova jquery-mobile

I am creating an Android App. Overall I want to prevent default behaviour. So I use this code snippet:

How to get “number” of day

c# date windows-8 microsoft-metro

I would like to get the "number of the day. For example: