public virtual bool OnDisplaySaveLangProject(object commandObject, ref UIItemDisplayProperties display) { CheckDisposed(); display.Enabled = (Cache != null && Cache.ServiceLocator.GetInstance<IUndoStackManager>().HasUnsavedChanges); return true; }