Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Why not just Draw Labels,Instead of creating one? ver 1.1
Why not just Draw Labels,Instead of creating one? ver 1.1 [message #1053057] Thu, 02 May 2013 09:23 Go to next message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
In reference to an old post
Why not just Draw Labels,Instead of creating one?

Vijay Raj wrote on Mon, 29 August 2011 13:59

Ok ,Have come up with a solution assuming only gridlayout,

Five java files have been attached.

SWTGridExample is test class for testing the implementation,

dummyLabelTest tests adding dummy labels on a parent using GridLayoutWithDummies as layout and painting the text on the parent itself instead of a Label control.

griddata consideration of horizontal and vertical span not implemented properly and also there may be bugs with other properties..
but still the basic idea has been proven and all issues can be dealt with later..

Inputs and feedback are welcome,please use the implementation as and when required without any restrictions Smile


Hello everyone,

Back After a long time Smile.

The out of handles issue has struck again.

it is a design flaw i agree,but how would you manage 10 application in single RCP workspace, with each application being a back office system with n no of forms,with labels,text,combo,list,table,tree etc
apart from images,fonts and colors.

For example a single editor takes up 300 controls plus ~50 other resources.

Apart from this all these applications are stable on their own for a long time, at this stage to refactor the code it would require a huge effort.

any way
I was planning to apply the above work around in a new application and hence did some changes,
do go through the same and give your inputs in terms of is it relevant, probable issues, required and good to have enhancements etc

and do contribute please Smile


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay

[Updated on: Fri, 03 May 2013 12:54]

Report message to a moderator

Re: Why not just Draw Labels,Instead of creating one? ver 1.1 [message #1053265 is a reply to message #1053057] Fri, 03 May 2013 12:55 Go to previous messageGo to next message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
Does it look relevant??

---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Re: Why not just Draw Labels,Instead of creating one? ver 1.1 [message #1057828 is a reply to message #1053265] Thu, 09 May 2013 06:45 Go to previous message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
Please give some input...

outright remarking it as useless/irrelevant will also do.. Smile


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Previous Topic:SWT download links broken?
Next Topic:Resizing works, but scrolling "smears" image.
Goto Forum:
  


Current Time: Thu Mar 28 23:31:14 GMT 2024

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

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

Back to the top