Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem with Section.setText(...)
icon3.gif  Problem with Section.setText(...) [message #548826] Fri, 23 July 2010 08:16 Go to next message
Alexander Missing name is currently offline Alexander Missing nameFriend
Messages: 7
Registered: July 2010
Junior Member
...
Section contactSection = toolkit.createSection(main, Section.TWISTIE|Section.TITLE_BAR|Section.EXPANDED);
contactSection.setText("Main Contact Section");
TableWrapData td = new TableWrapData(TableWrapData.FILL_GRAB);
td.colspan=1;
contactSection.setLayoutData(td);
...

http://ipicture.ru/uploads/100723/RmL6PqnA2j.png

Why I don't see "Section"? But if i use:
System.out.println(contactSection.getText());

I'l get: "Main Contact Section".

[Updated on: Fri, 23 July 2010 11:07]

Report message to a moderator

Re: Problem with Section.setText(...) [message #548908 is a reply to message #548826] Fri, 23 July 2010 13:10 Go to previous messageGo to next message
karthikeyan  is currently offline karthikeyan Friend
Messages: 6
Registered: July 2009
Junior Member
Hi Alexander

Here its working....kindly find the code i used formToolKit

Section = formToolKit.createSection(composite, ExpandableComposite.TITLE_BAR | ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);

Section.setText("Main Contact Section");
FormData data = new FormData();
Section.setLayoutData(data);



Thanks and Regards
Karthikeyan

[Updated on: Fri, 23 July 2010 13:19]

Report message to a moderator

Re: Problem with Section.setText(...) [message #548911 is a reply to message #548908] Fri, 23 July 2010 13:15 Go to previous messageGo to next message
Alexander Missing name is currently offline Alexander Missing nameFriend
Messages: 7
Registered: July 2010
Junior Member
Can you upload an image on some image-hosting?
I don't see "c:\Karthikeyan\Section_Text.bmp"
Re: Problem with Section.setText(...) [message #548915 is a reply to message #548911] Fri, 23 July 2010 13:20 Go to previous messageGo to next message
karthikeyan  is currently offline karthikeyan Friend
Messages: 6
Registered: July 2009
Junior Member
I dont know how to attach the image ... so kindly send me your ID so that i can able to send you the same

Thanks and Regards
Karthikeyan

[Updated on: Fri, 23 July 2010 13:20]

Report message to a moderator

Re: Problem with Section.setText(...) [message #548942 is a reply to message #548826] Fri, 23 July 2010 13:53 Go to previous message
Alexander Missing name is currently offline Alexander Missing nameFriend
Messages: 7
Registered: July 2010
Junior Member
Strange, but in Windows no problem...
I work in Ubuntu, probably a problem with my theme...
Previous Topic:Problems with Decorator
Next Topic:Can't disable FastView bars
Goto Forum:
  


Current Time: Thu Apr 25 09:50:21 GMT 2024

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

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

Back to the top