/// <summary> /// Shows the start arrowhead style editor for the specified styleable node /// </summary> /// <param name="styleable"></param> protected void ShowStartArrowheadStyleEditor(INStyleable styleable) { if (styleable == null) { return; } NArrowheadStyle arrowheadStyle = styleable.ComposeStartArrowheadStyle(); NArrowheadStyle newArrowheadStyle = null; if (NArrowheadStyleTypeEditor.Edit(arrowheadStyle, out newArrowheadStyle, true, arrowheadStyle != NStyle.GetStartArrowheadStyle(styleable))) { NStyle.SetStartArrowheadStyle(styleable, newArrowheadStyle); document.RefreshAllViews(); } }