public EntityBaseView(Composite parent) : base(parent) { EntityType = new TextWidget(this); Name = new TextWidget(this); Position = new PointWidget(this); AddControl(EntityType); AddControl(Name); AddControl(Position); }
public EntityDetailComposite(Composite parent, String title) : base(parent) { TitleWidget = new TextWidget(this, String.Format("--{0}", title)); NameWidget = new TextWidget(this); PositionWidget = new PointWidget(this); PositionWidget.SetEnabled(false); AddControl(TitleWidget); AddControl(NameWidget); AddControl(PositionWidget); }