Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT widgets, determine corect style flags for any widget constructor?


There is no API provided for doing this, and I cannot think of a good way to compute these values other than parsing the javadoc.

Grant




Tomek <progs@xxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

05/14/2007 05:56 AM

Please respond to
"Eclipse Platform SWT component developers list."        <platform-swt-dev@xxxxxxxxxxx>

To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
[platform-swt-dev] SWT widgets,        determine corect style flags for any widget constructor?





Hi
 
J work with SWT and J need know how and from can J read correct list/set style flags for any SWT class.
J need create SWT widgets at runntime in some development system and J don't know witch flags form class org.eclipse.swt.SWT are correct for widgets, I konw it can be found in DOCS and hordcoded in system but its great if J can determine flags at runtime form BeanInfo or any something else.
 
How determine at runtime style flags for methods/properties with style flags parameteres ? eg.
 
org.eclipse.swt.widgets.Label.setAlignment(int alignment);


Thanks for any suggestions

P.S. sorry about my english.

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top