Пример #1
0
 public UseCaseShape(UseCase entity) : base(entity)
 {
     this.useCase = entity;
     this.editor  = new ShapeNameEditor();
     this.stringFormat.Trimming    = StringTrimming.EllipsisWord;
     this.stringFormat.FormatFlags = StringFormatFlags.LineLimit;
     this.stringFormat.Alignment   = StringAlignment.Center;
 }
Пример #2
0
 public ActorShape(Actor entity) : base(entity)
 {
     actor                         = entity;
     this.MinimumSize              = defaultSize;
     editor                        = new ShapeNameEditor();
     this.stringFormat             = StringFormat.GenericTypographic;
     this.stringFormat.Alignment   = StringAlignment.Center;
     this.stringFormat.Trimming    = StringTrimming.EllipsisWord;
     this.stringFormat.FormatFlags = StringFormatFlags.LineLimit;
 }
Пример #3
0
 public SystemBoundaryShape(SystemBoundary entity) : base(entity)
 {
     this.systemBoundary           = entity;
     this.systemBoundary.Modified += delegate { UpdateMinSize(); };
     this.editor = new ShapeNameEditor();
 }