static private IsExtensionEnabled ( ) : bool | ||
Результат | bool |
protected override void OnUpdate() { if (!SelectionExtension.IsExtensionEnabled()) { this.Enabled = false; return; } this.Enabled = SelectionExtension.HasSelectableLayer(); }
protected override void OnUpdate() { this.Enabled = SelectionExtension.IsExtensionEnabled(); }