/// <summary> /// Shows the bridge style edtior for the specified styleable node /// </summary> /// <param name="styleable"></param> protected void ShowBridgeStyleEditor(INStyleable styleable) { if (styleable == null) { return; } NBridgeStyle bridgeStyle = styleable.ComposeBridgeStyle(); NBridgeStyle newBridgeStyle = null; if (NBridgeStyleTypeEditor.Edit(bridgeStyle, out newBridgeStyle, bridgeStyle != NStyle.GetBridgeStyle(styleable))) { NStyle.SetBridgeStyle(styleable, newBridgeStyle); document.RefreshAllViews(); } }