Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [Nebula] Collapsible Buttons don't collapse, won't fill with data
[Nebula] Collapsible Buttons don't collapse, won't fill with data [message #664089] Thu, 07 April 2011 13:04 Go to next message
Issueis  is currently offline Issueis Friend
Messages: 14
Registered: April 2011
Junior Member
Hello,

iam using the collapsible buttons widget from the Eclipse Nebula Project. ( http://www.eclipse.org/nebula/widgets/collapsiblebuttons/col lapsiblebuttons.php)

 CustomButton mb;
 CustomButton meb;
CustomButton skB;

// init
CollapsibleButtons cButtons = new CollapsibleButtons(parent, SWT.NONE,IColorManager.SKIN_OFFICE_2007);

// layout
cButtons.setLayoutData(new GridData(GridData.GRAB_VERTICAL
				| GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_END));

// Buttons
                mb = cButtons.addButton("Mb", null, null, null);
		meb= cButtons.addButton("Meb", null, null, null);
		skB = cButtons.addButton("Sk, null, null, null);
                mb.setData("Iam Info");
		meb.setData("Iam Info");
		skB.setData("Iam Info");
	}


Put this in my View an get three buttons, called like in the snippet. If i click the buttons, they don't collapse and doesn't show the String from the setData() Line.

Can anyone tell me, if is missunderstood the widget? Thought the collapsible and expandable behaviour is standard and hasn't to be done in the Listeners.

Maybe some of you could correct my snippet or post an own.

Thankful

Issueis

[Updated on: Thu, 07 April 2011 13:08]

Report message to a moderator

Re: [Nebula] Collapsible Buttons don't collapse, won't fill with data [message #664281 is a reply to message #664089] Fri, 08 April 2011 09:09 Go to previous messageGo to next message
Lakshmi P ShanmugamFriend
Messages: 279
Registered: July 2009
Location: India
Senior Member
Hi,

You should try posting your question in the Nebula newsgroup.


Lakshmi P Shanmugam
Re: [Nebula] Collapsible Buttons don't collapse, won't fill with data [message #664320 is a reply to message #664089] Fri, 08 April 2011 11:36 Go to previous message
Issueis  is currently offline Issueis Friend
Messages: 14
Registered: April 2011
Junior Member
Thanks.
Previous Topic:[SOLVED] Accessing files on NAS network drive from Linux
Next Topic:DND TransferType
Goto Forum:
  


Current Time: Fri Mar 29 05:37:36 GMT 2024

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

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

Back to the top