public void ObjectDetailsDialog(RmResource target)
        {
            if (target == null)
            {
                _log.Debug("Cannot show details of null object");
                return;
            }

            var model = new ObjectDetailsModel(target, FimClientFactory.CreateClient(), this);

            var detailsWindow = new ObjectDetailsWindow();

            detailsWindow.Initialize(model);

            _log.Debug("Showing details of [{0}:{1}]", target.ObjectType, target.ObjectID);

            detailsWindow.Show();
        }
 public void Initialize(ObjectDetailsModel model)
 {
     _model = model;
     this.DataContext = model;
 }