Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Commercial » Problem edit Custom Composit in SWT-Designer 4.3.0.
Problem edit Custom Composit in SWT-Designer 4.3.0. [message #561813] Mon, 20 March 2006 06:47
xy is currently offline xyFriend
Messages: 29
Registered: July 2009
Junior Member
If I select the "Method name for new statements:" by initialize(just to
compatable with VE) option in the "Code Generation" page.
After this I create a custom composite, and add a button on the composite,
then the code code not be compiled.

Another problem is:
If I create a BasisComposite with a tabFolder, and add FeeRegionComposite
onto the tabItem, then swt-Designer cannot parse it, eclipse can run it.
public class BasisComposite extends Composite {

/**
* Create the composite
* @param parent
* @param style
*/
public BasisComposite(Composite parent, int style) {
super(parent, style);
setLayout(new FillLayout());
FormToolkit toolkit = new FormToolkit(Display.getCurrent());
toolkit.adapt(this);
toolkit.paintBordersFor(this);

TabFolder tabFolder;
tabFolder = new TabFolder(this, SWT.NONE);
toolkit.adapt(tabFolder, true, true);

final TabItem tabItem_FeeRegion = new TabItem(tabFolder, SWT.NONE);
tabItem_FeeRegion.setText("
Previous Topic:[ANN] v4.3 - SWT Designer, Swing Designer & WindowBuilder Pro
Next Topic:RCP Developer - new product from Instantiations
Goto Forum:
  


Current Time: Thu Apr 25 14:41:15 GMT 2024

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

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

Back to the top