Skip to main content



      Home
Home » Archived » Visual Editor (VE) » RootPaneCreationPolicy
RootPaneCreationPolicy [message #612322] Thu, 16 March 2006 08:33
Eclipse UserFriend
Hi!

If I create a new visual class which extends JFrame, VE creates a
constructor, a contentPane with BorderLayout and a main method to run it.
If I take my own STFrame, which extends JFrame, as superclass nothing is
created. I wonder how I can tell VE to create these things for my class as
well and how I can change that text.

The only thing I found so far is the RootPaneCreationPolicy. But that
works just for STFrames that are dropped from the palette. At least that
is what my test made me think.

I've done my tests with the RootPaneCreationPolicy the way it is described
in

http://dev.eclipse.org/newslists/news.eclipse.tools.ve/msg00 391.html
I guess that's not the right way to solve my "STFrame-as-superclass"
problem, am I right?

Regards,

Markus
Previous Topic:How to customize the code generated in VE
Next Topic:Loading Java class in the Plugin environment
Goto Forum:
  


Current Time: Sat Jun 21 07:58:34 EDT 2025

Powered by FUDForum. Page generated in 0.04309 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top