Skip to main content



      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 09:04 Go to next message
Eclipse UserFriend
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 09:08] by 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 05:09 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

You should try posting your question in the Nebula newsgroup.
Re: [Nebula] Collapsible Buttons don't collapse, won't fill with data [message #664320 is a reply to message #664089] Fri, 08 April 2011 07:36 Go to previous message
Eclipse UserFriend
Thanks.
Previous Topic:[SOLVED] Accessing files on NAS network drive from Linux
Next Topic:DND TransferType
Goto Forum:
  


Current Time: Sun Jul 27 04:57:10 EDT 2025

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

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

Back to the top