/// <summary> /// Shows the end arrowhead style editor for the specified styleable node /// </summary> /// <param name="styleable"></param> protected void ShowEndArrowheadStyleEditor(INStyleable styleable) { if (styleable == null) { return; } NArrowheadStyle arrowheadStyle = styleable.ComposeEndArrowheadStyle(); NArrowheadStyle newArrowheadStyle = null; if (NArrowheadStyleTypeEditor.Edit(arrowheadStyle, out newArrowheadStyle, false, arrowheadStyle != NStyle.GetEndArrowheadStyle(styleable))) { NStyle.SetEndArrowheadStyle(styleable, newArrowheadStyle); document.RefreshAllViews(); } }