Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Extending and adding a SWT Button as a new control in Visual Editor
Extending and adding a SWT Button as a new control in Visual Editor [message #615008] Fri, 19 January 2007 01:40
Sunil Ramaiah is currently offline Sunil RamaiahFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

I am trying to add a new Control in the palette. I am extending the Button
widget and added some attributes. I can see this control in the palette,
following the example on VE.

When I drop this on a Composite, the bounds is set to x, y, -1, -1 and in
the Bean property tree it says error with bounds. If I change in this in
the code, then it says -

SWTException(Subclassing not allowed)

Any ideas on what I am doing wrong ?

Thanks,
Sunil.
Previous Topic:SWT problem: unable to change size when gridlayout is used
Next Topic:Extending Visual Editor to generate XML instead of Java code
Goto Forum:
  


Current Time: Thu Apr 25 01:59:34 GMT 2024

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

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

Back to the top