Every dialog window in SWT should extend the Dialog
class, but I also have my own class View
, that my dialogs also should extend.
OK, you should just make your View
to extends Dialog
, you can say. But the problem is, that my View
shouldn't do it, because it also is used for classes, that aren't SWT dialogs.
Is there a way to overcome this problem?