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 05:23 Go to next message
Vijay Raj
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 08: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 08:55 Go to previous messageGo to next message
Vijay Raj
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 02:45 Go to previous message
Vijay Raj
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: Sat Jul 26 15:32:30 EDT 2014

Powered by FUDForum. Page generated in 0.02260 seconds