• Post Reply Bookmark Topic Watch Topic
  • New Topic

Subclassing not allowed. SWT

 
Valery Lezhebokov
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to wide the functionality of swt List by adding a couple of extra methods, but it says �Subclassing not allowed�. I can override checkSubclass to make it omit the deriving check, but as I understood that�s not recommended. How actually dangerous is it and what is another way to extend standard widget functionality.
Thanks in advice.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!