public UpdateStickyNoteAction(IGTFStickyNoteModel stickyNoteModel, string title, string contents) { StickyNoteModel = stickyNoteModel; Title = title; Contents = contents; }
public static IGraphElement CreateStickyNote(this ElementBuilder elementBuilder, IStore store, IGTFStickyNoteModel model) { var ui = new StickyNote(); ui.Setup(model, store, elementBuilder.GraphView); return(ui); }
public ResizeStickyNoteAction(IGTFStickyNoteModel stickyNoteModel, Rect position, ResizeFlags resizeWhat) : base(new[] { stickyNoteModel }, position) { ResizeWhat = resizeWhat; }