I suppose the software doesnt recognize my new Composite since its inheriting from another abstract class.
Here is the classes definition to help you understand my problem.
- Code: Select all
public abstract class IControlModel extends Composite implements Observer {
public IControlModel(Composite parent, int style) {
super(parent, style);
}
//Some abstract methods
//Some concrete methods
}
public class TextModel extends IControlModel {
private Text txtModel;
public TextModel(Composite parent, int style ) {
super(parent, style, objName);
setLayout(new FillLayout());
{
txtModel = new Text(this, SWT.BORDER);
}
}
//added functionnalities
}
Thanks
Nicolas Laplante
Altix Solutions