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; }
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; }
public SystemBoundaryShape(SystemBoundary entity) : base(entity) { this.systemBoundary = entity; this.systemBoundary.Modified += delegate { UpdateMinSize(); }; this.editor = new ShapeNameEditor(); }