Example #1
0
        public EntityBaseView(Composite parent)
            : base(parent)
        {
            EntityType = new TextWidget(this);
            Name = new TextWidget(this);
            Position = new PointWidget(this);

            AddControl(EntityType);
            AddControl(Name);
            AddControl(Position);
        }
Example #2
0
        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);
        }