Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] From Swing to SWT

you can use setData(String name, Object value)
to store name or properties

David Whiteman wrote:
Wednesday, January 15, 2003, 10:24:48 PM, Lane Sharman wrote:

  
Everytime I study the base class of SWT, I become more frustrated. For
example, it is very important that every widget have a local, relative 
name. There is no setName(), getName(). There is no 
setProperties(ProperyList), getProperties(PropertyList). Sigghhh.
    
There are setData() and getData() methods that allow you to store any
Object.  Could you use these to store a collection of properties?

David

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

  

Back to the top