private void StandBildRedaktionDataModellChanged(InformationenViewerDataModell InformationenViewerDataModellOld, InformationenViewerDataModell InformationenViewerDataModellNew) { }
public static InformationenViewerDataModell GetEmptyWriteableDataModell(Guid InformationenID, Guid TypID, bool IsBatchCreationParameter) { InformationenViewerDataModell Result = new InformationenViewerDataModell (); //Result.ActiveInformationen = TemplateManagement.InformationenInterface.GetEmptyEntity () as Informationen; Result.ActiveInformationen.ID = InformationenID; Result.InformationenID = Result.ActiveInformationen.ID; Result.ActiveInformationen.TypID = TypID; //Result.InformationenRuntime.LoadDataElements (); //foreach (TemplateElementManagement TemplateElement in Result.InformationenRuntime.AllTemplateElementManagementEntries) // { // //Result.ActiveInformationen.ConnectedInformationenAddOn.Add(TemplateElement.InfoAddOn); // TemplateElement.InfoAddOn.DataDependencyID = TemplateElement.DataTemplatesDescriptionEntry.ID; // TemplateElement.InfoAddOn.Informationen = Result.ActiveInformationen; // } return Result; }
private void InformationenDataModellInstanceChanged(InformationenViewerDataModell InformationenViewerDataModellOld, InformationenViewerDataModell InformationenViewerDataModellNew) { ContentShow.Document = InformationenViewerDataModellInstance.FinalDocumentToShow; }
public static InformationenViewerDataModell GetGlobalReadonlyDataModell (Guid? InformationenID = null) { if (_commonInformationenViewerDataModellInstance != null) { if (InformationenID == null) return _commonInformationenViewerDataModellInstance; if (_commonInformationenViewerDataModellInstance.InformationenID == InformationenID) return _commonInformationenViewerDataModellInstance; _commonInformationenViewerDataModellInstance.InformationenID = InformationenID; if (_commonInformationenViewerDataModellInstance.CreateIfRequired () == null) return null; } InformationenViewerDataModell Result = null; if (WPMediaApplicationState.Instance.Properties.ContainsKey (WPMediaApplicationState.Instance.InfoDatenModellTag)) { Result = ((InformationenViewerDataModell) WPMediaApplicationState.Instance.Properties [WPMediaApplicationState.Instance.InfoDatenModellTag]); if ((InformationenID != null) && (Result.InformationenID != InformationenID)) { Result.InformationenID = InformationenID; } } else { Result = new InformationenViewerDataModell (); WPMediaApplicationState.Instance.Properties [WPMediaApplicationState.Instance.InfoDatenModellTag] = Result; Result.InformationenID = InformationenID; } _commonInformationenViewerDataModellInstance = Result; return _commonInformationenViewerDataModellInstance; }