public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (!(typesInfo.Type == typeof(SPECustomer))) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Captions.HeaderStringPropertyEditors, "1=1", "1=1", Captions.ViewMessageStringPropertyEditors, Position.Bottom) { View = "StringPropertyEditors_DetailView" }); yield return(new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Captions.HeaderStringPropertyEditors + "1", "1=1", "1=1", Captions.ViewMessageStringPropertyEditors1, Position.Bottom) { View = "StringPropertyEditors_DetailView" }); yield return(new AdditionalViewControlsRuleAttribute(Module.Captions.Header + " " + Captions.HeaderStringPropertyEditors, "1=1", "1=1", Captions.HeaderStringPropertyEditors, Position.Top) { View = "StringPropertyEditors_DetailView" }); yield return(new CloneViewAttribute(CloneViewType.DetailView, "StringPropertyEditors_DetailView")); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Module.Captions.PropertyEditors + "String editors", "StringPropertyEditors_DetailView"); yield return(xpandNavigationItemAttribute); yield return(new DisplayFeatureModelAttribute("StringPropertyEditors_DetailView")); yield return(new WhatsNewAttribute(new DateTime(2011, 1, 28), xpandNavigationItemAttribute)); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(Customer)) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Module.Captions.Header + " " + Module.Captions.HeaderLayoutViewGridListEditor, "1=1", "1=1", Module.Captions.HeaderLayoutViewGridListEditor, Position.Top) { View = LayoutViewGridListEditor_ListView }); yield return(new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Module.Captions.HeaderLayoutViewGridListEditor, "1=1", "1=1", Module.Captions.ViewMessageLayoutViewGridListEditor, Position.Bottom) { View = LayoutViewGridListEditor_ListView }); yield return(new CloneModelViewAttribute(CloneViewType.ListView, LayoutViewGridListEditor_ListView)); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Module.Captions.ListViewCotrol + "LayoutView GridListEditor", LayoutViewGridListEditor_ListView); yield return(xpandNavigationItemAttribute); yield return(new DisplayFeatureModelAttribute(LayoutViewGridListEditor_ListView)); yield return(new WhatsNewAttribute(new DateTime(2011, 10, 15), xpandNavigationItemAttribute)); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(WizardCustomer)) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Module.Captions.Header + " " + Captions.HeaderWizard, "1=1", "1=1", Captions.HeaderWizard, Position.Top) { View = WizardCustomer_DetailView + 1 }); yield return(new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Captions.HeaderWizard, "1=1", "1=1", Captions.ViewMessageWizard, Position.Bottom) { View = WizardCustomer_DetailView + 1 }); yield return(new CloneViewAttribute(CloneViewType.DetailView, WizardCustomer_DetailView + 1)); yield return(new CloneViewAttribute(CloneViewType.DetailView, WizardCustomer_DetailView + 2)); var navigationItemAttribute = new XpandNavigationItemAttribute(Module.Captions.DetailViewCotrol + "Wizard", WizardCustomer_DetailView); yield return(navigationItemAttribute); yield return(new WhatsNewAttribute(new DateTime(2012, 3, 16), navigationItemAttribute)); yield return(new DisplayFeatureModelAttribute(WizardCustomer_DetailView)); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(PENACustomer)) yield break; var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Module.Captions.PropertyEditors + "Null Able properties", "PENACustomer_ListView"); yield return xpandNavigationItemAttribute; yield return new WhatsNewAttribute(new DateTime(2011, 1, 28), xpandNavigationItemAttribute); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(Customer)) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderRuntimeUnboundColumn, "1=1", "1=1", Captions.ViewMessageRuntimeUnboundColumn, Position.Bottom) { ViewType = ViewType.ListView, View = UnboundColumn_ListView }); yield return(new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderRuntimeUnboundColumn, "1=1", "1=1", Captions.HeaderRuntimeUnboundColumn, Position.Top) { View = UnboundColumn_ListView }); yield return(new CloneViewAttribute(CloneViewType.ListView, UnboundColumn_ListView)); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("Runtime Fields/Unbound Column", UnboundColumn_ListView); yield return(xpandNavigationItemAttribute); yield return(new DisplayFeatureModelAttribute(UnboundColumn_ListView, "UnboundColumn")); yield return(new WhatsNewAttribute(new DateTime(2011, 9, 14), xpandNavigationItemAttribute)); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (!(typesInfo.Type == typeof(Customer))) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderTooltip, "1=1", "1=1", Captions.ViewMessageTooltip, Position.Bottom) { ViewType = ViewType.DetailView, View = Tooltip_DetailView }); yield return(new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderTooltip, "1=1", "1=1", Captions.HeaderTooltip, Position.Top) { View = Tooltip_DetailView }); yield return(new CloneModelViewAttribute(CloneViewType.DetailView, Tooltip_DetailView)); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Captions.Miscellaneous + "Tooltips", Tooltip_DetailView); yield return(xpandNavigationItemAttribute); yield return(new DisplayFeatureModelAttribute(Tooltip_DetailView)); yield return(new WhatsNewAttribute(new DateTime(2011, 2, 22), xpandNavigationItemAttribute)); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(DomainComponentWithRuntimeMembers)) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderRuntimeMemberFromModelForDC, "1=1", "1=1", Captions.ViewMessageRuntimeMemberFromModelForDC, Position.Bottom) { ViewType = ViewType.ListView, View = RuntimeFieldsFromModel_ListView }); yield return(new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderRuntimeMemberFromModelForDC, "1=1", "1=1", Captions.HeaderRuntimeMemberFromModelForDC, Position.Top) { View = RuntimeFieldsFromModel_ListView }); yield return(new CloneViewAttribute(CloneViewType.DetailView, RuntimeFieldsFromModel_DetailView)); yield return(new CloneViewAttribute(CloneViewType.ListView, RuntimeFieldsFromModel_ListView) { DetailView = RuntimeFieldsFromModel_DetailView }); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("Runtime Fields/From Model For DC", RuntimeFieldsFromModel_ListView); yield return(xpandNavigationItemAttribute); yield return(new DisplayFeatureModelAttribute(RuntimeFieldsFromModel_ListView, RuntimeFieldsFromModel)); yield return(new DisplayFeatureModelAttribute(RuntimeFieldsFromModel_DetailView, RuntimeFieldsFromModel)); yield return(new WhatsNewAttribute(new DateTime(2013, 2, 5), xpandNavigationItemAttribute)); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(RuleTypeCustomer)) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderValidation, "1=1", "1=1", Captions.ViewMessageValidation, Position.Bottom) { ViewType = ViewType.ListView, View = RuleType_ListView }); yield return(new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderValidation, "1=1", "1=1", Captions.HeaderValidation, Position.Top) { View = RuleType_ListView }); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("Validation/Rule Types", RuleType_ListView); yield return(xpandNavigationItemAttribute); yield return(new WhatsNewAttribute(new DateTime(2011, 10, 23), xpandNavigationItemAttribute)); yield return(new DisplayFeatureModelAttribute(RuleType_ListView, "RuleType")); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (!ReferenceEquals(typesInfo.Type, typeof(XpandHolidayCalendar))) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Captions.HeaderChooseFromListCollectionEditor, "1=1", "1=1", Captions.ViewMessageChooseFromListCollectionEditor, Position.Bottom) { View = ChooseFromListCollectionEditor_DetailView }); yield return(new AdditionalViewControlsRuleAttribute(Module.Captions.Header + " " + Captions.HeaderChooseFromListCollectionEditor, "1=1", "1=1", Captions.HeaderChooseFromListCollectionEditor, Position.Top) { View = ChooseFromListCollectionEditor_DetailView }); yield return(new CloneViewAttribute(CloneViewType.DetailView, ChooseFromListCollectionEditor_DetailView)); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Module.Captions.PropertyEditors + "List editors", ChooseFromListCollectionEditor_DetailView); yield return(xpandNavigationItemAttribute); yield return(new DisplayFeatureModelAttribute(ChooseFromListCollectionEditor_DetailView)); yield return(new WhatsNewAttribute(new DateTime(2011, 1, 28), xpandNavigationItemAttribute)); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (!(typesInfo.Type == typeof (SequenceCustomer))) yield break; yield return new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderSequence, "1=1", "1=1", Captions.ViewMessageSequence, Position.Bottom) { ViewType = ViewType.DetailView, View = SequenceCustomer_DetailView }; yield return new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderSequence, "1=1", "1=1", Captions.HeaderSequence, Position.Top) { ViewType = ViewType.DetailView, View = SequenceCustomer_DetailView }; var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Captions.Miscellaneous + "Sequence Numbers", SequenceCustomer_DetailView, "Name='Benjamin CISCO'"); yield return xpandNavigationItemAttribute; yield return new WhatsNewAttribute(new DateTime(2011, 2, 3), xpandNavigationItemAttribute); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(TestImportObject)) yield break; const string testimportobjectListview = "TestImportObject_ListView"; var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("ImportWizard", testimportobjectListview); yield return xpandNavigationItemAttribute; yield return new DisplayFeatureModelAttribute(testimportobjectListview); yield return new WhatsNewAttribute(new DateTime(2011, 5, 10), xpandNavigationItemAttribute); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (!(typesInfo.Type == typeof (PLCustomer))) yield break; yield return new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderPessimisticLocking, "1=1", "1=1", Captions.ViewMessagePessimisticLocking, Position.Bottom) { ViewType = ViewType.DetailView, View = PessimisticLocking_DetailView }; yield return new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderPessimisticLocking, "1=1", "1=1", Captions.HeaderPessimisticLocking, Position.Top) { ViewType = ViewType.DetailView, View = PessimisticLocking_DetailView }; var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Captions.Miscellaneous + "PessimisticLocking", PessimisticLocking_DetailView, "Name='Benjamin CISCO'"); yield return xpandNavigationItemAttribute; yield return new CloneViewAttribute(CloneViewType.DetailView, PessimisticLocking_DetailView); yield return new WhatsNewAttribute(new DateTime(2011, 2, 2), xpandNavigationItemAttribute); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(RuleTypeCustomer)) yield break; yield return new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderValidation, "1=1", "1=1", Captions.ViewMessageValidation, Position.Bottom) { ViewType = ViewType.ListView, View = RuleType_ListView }; yield return new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderValidation, "1=1", "1=1", Captions.HeaderValidation, Position.Top) { View = RuleType_ListView }; var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("Validation/Rule Types", RuleType_ListView); yield return xpandNavigationItemAttribute; yield return new WhatsNewAttribute(new DateTime(2011, 10, 23), xpandNavigationItemAttribute); yield return new DisplayFeatureModelAttribute(RuleType_ListView, "RuleType"); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(ShowMessageBoxObject)) yield break; yield return new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderShowMessageBox, "1=1", "1=1", Captions.ViewMessageShowMessageBox, Position.Bottom); yield return new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderShowMessageBox, "1=1", "1=1", Captions.HeaderShowMessageBox, Position.Top); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Captions.Miscellaneous + "Show MessageBox", ShowMessageBoxObject_DetailView); yield return xpandNavigationItemAttribute; yield return new WhatsNewAttribute(new DateTime(2012,3,22),xpandNavigationItemAttribute ); yield return new DisplayFeatureModelAttribute("ShowMessageBoxObject_DetailView", "ShowMessageBox"); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (!(typesInfo.Type == typeof (Customer))) yield break; yield return new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderTooltip, "1=1", "1=1", Captions.ViewMessageTooltip, Position.Bottom) { ViewType = ViewType.DetailView, View = Tooltip_DetailView }; yield return new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderTooltip, "1=1", "1=1", Captions.HeaderTooltip, Position.Top) { View = Tooltip_DetailView }; yield return new CloneViewAttribute(CloneViewType.DetailView, Tooltip_DetailView); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Captions.Miscellaneous + "Tooltips", Tooltip_DetailView); yield return xpandNavigationItemAttribute; yield return new DisplayFeatureModelAttribute(Tooltip_DetailView); yield return new WhatsNewAttribute(new DateTime(2011, 2, 22), xpandNavigationItemAttribute); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (!ReferenceEquals(typesInfo.Type, typeof(CascadingPropertyEditorObject))) yield break; const string cascadingpropertyeditorobjectListview = "CascadingPropertyEditorObject_ListView"; var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Captions.PropertyEditors + "Cascading editors", cascadingpropertyeditorobjectListview); yield return xpandNavigationItemAttribute; yield return new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderCascadingEditors, "1=1", "1=1", Captions.ViewMessageCascadingEditors, Position.Bottom) { ViewType = ViewType.ListView }; yield return new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderCascadingEditors, "1=1", "1=1", Captions.HeaderCascadingEditors, Position.Top); yield return new WhatsNewAttribute(new DateTime(2011, 3, 23), xpandNavigationItemAttribute); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(Customer)) yield break; yield return new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderRuntimeUnboundColumn, "1=1", "1=1", Captions.ViewMessageRuntimeUnboundColumn, Position.Bottom) { ViewType = ViewType.ListView, View = UnboundColumn_ListView }; yield return new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderRuntimeUnboundColumn, "1=1", "1=1", Captions.HeaderRuntimeUnboundColumn, Position.Top) { View = UnboundColumn_ListView }; yield return new CloneViewAttribute(CloneViewType.ListView, UnboundColumn_ListView); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("Runtime Fields/Unbound Column", UnboundColumn_ListView); yield return xpandNavigationItemAttribute; yield return new DisplayFeatureModelAttribute(UnboundColumn_ListView, "UnboundColumn"); yield return new WhatsNewAttribute(new DateTime(2011, 9, 14), xpandNavigationItemAttribute); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type == typeof(PictureObject)) { var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("ImageEditors/Thumbnails", "PictureObject_ListView"); yield return xpandNavigationItemAttribute; yield return new WhatsNewAttribute(new DateTime(2011, 2, 5), xpandNavigationItemAttribute); } else if (typesInfo.Type == typeof(PictureMasterObject)) { var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("ImageEditors/NCarousel", "PictureMasterObject_DetailView", "Title='masterobject'"); yield return xpandNavigationItemAttribute; yield return new WhatsNewAttribute(new DateTime(2011, 2, 4), xpandNavigationItemAttribute); } }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { #if EASYTEST yield break; #endif if (typesInfo.Type == typeof(EAMCustomer)) { yield return new CloneViewAttribute(CloneViewType.ListView, MasterDetailModeListView); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("MasterDetail/MasterDetailMode", MasterDetailModeListView); yield return xpandNavigationItemAttribute; yield return new WhatsNewAttribute(new DateTime(2012, 8, 16), xpandNavigationItemAttribute); } }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (!ReferenceEquals(typesInfo.Type, typeof(XpandHolidayCalendar))) yield break; yield return new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Captions.HeaderChooseFromListCollectionEditor, "1=1", "1=1", Captions.ViewMessageChooseFromListCollectionEditor, Position.Bottom) { View = ChooseFromListCollectionEditor_DetailView }; yield return new AdditionalViewControlsRuleAttribute(Module.Captions.Header + " " + Captions.HeaderChooseFromListCollectionEditor, "1=1", "1=1", Captions.HeaderChooseFromListCollectionEditor, Position.Top) { View = ChooseFromListCollectionEditor_DetailView }; yield return new CloneViewAttribute(CloneViewType.DetailView, ChooseFromListCollectionEditor_DetailView); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Module.Captions.PropertyEditors + "List editors", ChooseFromListCollectionEditor_DetailView); yield return xpandNavigationItemAttribute; yield return new DisplayFeatureModelAttribute(ChooseFromListCollectionEditor_DetailView); yield return new WhatsNewAttribute(new DateTime(2011, 1, 28), xpandNavigationItemAttribute); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(PENACustomer)) { yield break; } var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Module.Captions.PropertyEditors + "Null Able properties", "PENACustomer_ListView"); yield return(xpandNavigationItemAttribute); yield return(new WhatsNewAttribute(new DateTime(2011, 1, 28), xpandNavigationItemAttribute)); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(Customer)) yield break; yield return new AdditionalViewControlsRuleAttribute(Module.Captions.Header + " " + Module.Captions.HeaderLayoutViewGridListEditor, "1=1", "1=1", Module.Captions.HeaderLayoutViewGridListEditor, Position.Top) { View = LayoutViewGridListEditor_ListView }; yield return new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Module.Captions.HeaderLayoutViewGridListEditor, "1=1", "1=1", Module.Captions.ViewMessageLayoutViewGridListEditor, Position.Bottom) { View = LayoutViewGridListEditor_ListView }; yield return new CloneViewAttribute(CloneViewType.ListView, LayoutViewGridListEditor_ListView); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Module.Captions.ListViewCotrol + "LayoutView GridListEditor", LayoutViewGridListEditor_ListView); yield return xpandNavigationItemAttribute; yield return new DisplayFeatureModelAttribute(LayoutViewGridListEditor_ListView); yield return new WhatsNewAttribute(new DateTime(2011, 10, 15), xpandNavigationItemAttribute); }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { if (!(typesInfo.Type == typeof (SPECustomer))) yield break; yield return new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Captions.HeaderStringPropertyEditors, "1=1", "1=1", Captions.ViewMessageStringPropertyEditors, Position.Bottom) { View = "StringPropertyEditors_DetailView" }; yield return new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Captions.HeaderStringPropertyEditors + "1", "1=1", "1=1", Captions.ViewMessageStringPropertyEditors1, Position.Bottom) { View = "StringPropertyEditors_DetailView" }; yield return new AdditionalViewControlsRuleAttribute(Module.Captions.Header + " " + Captions.HeaderStringPropertyEditors, "1=1", "1=1", Captions.HeaderStringPropertyEditors, Position.Top) { View = "StringPropertyEditors_DetailView" }; yield return new CloneViewAttribute(CloneViewType.DetailView, "StringPropertyEditors_DetailView"); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Module.Captions.PropertyEditors + "String editors", "StringPropertyEditors_DetailView"); yield return xpandNavigationItemAttribute; yield return new DisplayFeatureModelAttribute("StringPropertyEditors_DetailView"); yield return new WhatsNewAttribute(new DateTime(2011, 1, 28), xpandNavigationItemAttribute); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(TestImportObject)) { yield break; } const string testimportobjectListview = "TestImportObject_ListView"; var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("ImportWizard", testimportobjectListview); yield return(xpandNavigationItemAttribute); yield return(new DisplayFeatureModelAttribute(testimportobjectListview)); yield return(new WhatsNewAttribute(new DateTime(2011, 5, 10), xpandNavigationItemAttribute)); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { #if EASYTEST yield break; #endif if (typesInfo.Type == typeof(EAMCustomer)) { yield return(new CloneViewAttribute(CloneViewType.ListView, MasterDetailModeListView)); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("MasterDetail/MasterDetailMode", MasterDetailModeListView); yield return(xpandNavigationItemAttribute); yield return(new WhatsNewAttribute(new DateTime(2012, 8, 16), xpandNavigationItemAttribute)); } }
public override IEnumerable<Attribute> GetAttributes(ITypeInfo typesInfo) { #if EASYTEST yield break; #endif if (typesInfo.Type != typeof(WizardCustomer)) yield break; yield return new AdditionalViewControlsRuleAttribute(Module.Captions.Header + " " + Captions.HeaderWizard, "1=1", "1=1", Captions.HeaderWizard, Position.Top) { View = WizardCustomerDetailView + 1 }; yield return new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Captions.HeaderWizard, "1=1", "1=1", Captions.ViewMessageWizard, Position.Bottom) { View = WizardCustomerDetailView + 1 }; yield return new CloneViewAttribute(CloneViewType.DetailView, WizardCustomerDetailView + 1); yield return new CloneViewAttribute(CloneViewType.DetailView, WizardCustomerDetailView + 2); var navigationItemAttribute = new XpandNavigationItemAttribute(Module.Captions.DetailViewCotrol + "Wizard", WizardCustomerDetailView); yield return navigationItemAttribute; yield return new WhatsNewAttribute(new DateTime(2012,3,16), navigationItemAttribute); yield return new DisplayFeatureModelAttribute(WizardCustomerDetailView); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type == typeof(PictureObject)) { var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("ImageEditors/Thumbnails", "PictureObject_ListView"); yield return(xpandNavigationItemAttribute); yield return(new WhatsNewAttribute(new DateTime(2011, 2, 5), xpandNavigationItemAttribute)); } else if (typesInfo.Type == typeof(PictureMasterObject)) { var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("ImageEditors/NCarousel", "PictureMasterObject_DetailView", "Title='masterobject'"); yield return(xpandNavigationItemAttribute); yield return(new WhatsNewAttribute(new DateTime(2011, 2, 4), xpandNavigationItemAttribute)); } }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(ShowMessageBoxObject)) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderShowMessageBox, "1=1", "1=1", Captions.ViewMessageShowMessageBox, Position.Bottom)); yield return(new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderShowMessageBox, "1=1", "1=1", Captions.HeaderShowMessageBox, Position.Top)); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Captions.Miscellaneous + "Show MessageBox", ShowMessageBoxObject_DetailView); yield return(xpandNavigationItemAttribute); yield return(new WhatsNewAttribute(new DateTime(2012, 3, 22), xpandNavigationItemAttribute)); yield return(new DisplayFeatureModelAttribute("ShowMessageBoxObject_DetailView", "ShowMessageBox")); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (typesInfo.Type != typeof(TestImportObject)) { yield break; } //yield return new AdditionalViewControlsRuleAttribute(Module.Captions.ViewMessage + " " + Captions.HeaderFilterControl, "1=1", "1=1", // Captions.ViewMessageFilterControl, Position.Bottom){View = "FilterControl_ListView"}; //yield return new AdditionalViewControlsRuleAttribute(Module.Captions.Header + " " + Captions.HeaderFilterControl, "1=1", "1=1", // Captions.HeaderFilterControl, Position.Top){View = "FilterControl_ListView"}; //yield return new CloneViewAttribute(CloneViewType.ListView, "FilterControl_ListView"); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute("ImportWizard", "TestImportObject_ListView"); yield return(xpandNavigationItemAttribute); yield return(new DisplayFeatureModelAttribute("TestImportObject_ListView")); yield return(new WhatsNewAttribute(new DateTime(2011, 5, 10), xpandNavigationItemAttribute)); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (!Object.ReferenceEquals(typesInfo.Type, typeof(CascadingPropertyEditorObject))) { yield break; } var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Captions.PropertyEditors + "Cascading editors", "CascadingPropertyEditorObject_ListView"); yield return(xpandNavigationItemAttribute); yield return(new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderCascadingEditors, "1=1", "1=1", Captions.ViewMessageCascadingEditors, Position.Bottom) { ViewType = ViewType.ListView }); yield return(new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderCascadingEditors, "1=1", "1=1", Captions.HeaderCascadingEditors, Position.Top)); yield return(new WhatsNewAttribute(new DateTime(2011, 3, 23), xpandNavigationItemAttribute)); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (!(typesInfo.Type == typeof(SequenceCustomer))) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderSequence, "1=1", "1=1", Captions.ViewMessageSequence, Position.Bottom) { ViewType = ViewType.DetailView, View = SequenceCustomer_DetailView }); yield return(new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderSequence, "1=1", "1=1", Captions.HeaderSequence, Position.Top) { ViewType = ViewType.DetailView, View = SequenceCustomer_DetailView }); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Captions.Miscellaneous + "Sequence Numbers", SequenceCustomer_DetailView, "Name='Benjamin CISCO'"); yield return(xpandNavigationItemAttribute); yield return(new WhatsNewAttribute(new DateTime(2011, 2, 3), xpandNavigationItemAttribute)); }
public override IEnumerable <Attribute> GetAttributes(ITypeInfo typesInfo) { if (!(typesInfo.Type == typeof(PLCustomer))) { yield break; } yield return(new AdditionalViewControlsRuleAttribute(Captions.ViewMessage + " " + Captions.HeaderPessimisticLocking, "1=1", "1=1", Captions.ViewMessagePessimisticLocking, Position.Bottom) { ViewType = ViewType.DetailView, View = PessimisticLocking_DetailView }); yield return(new AdditionalViewControlsRuleAttribute(Captions.Header + " " + Captions.HeaderPessimisticLocking, "1=1", "1=1", Captions.HeaderPessimisticLocking, Position.Top) { ViewType = ViewType.DetailView, View = PessimisticLocking_DetailView }); var xpandNavigationItemAttribute = new XpandNavigationItemAttribute(Captions.Miscellaneous + "PessimisticLocking", PessimisticLocking_DetailView, "Name='Benjamin CISCO'"); yield return(xpandNavigationItemAttribute); yield return(new CloneViewAttribute(CloneViewType.DetailView, PessimisticLocking_DetailView)); yield return(new WhatsNewAttribute(new DateTime(2011, 2, 2), xpandNavigationItemAttribute)); }
public WhatsNewAttribute(DateTime date, XpandNavigationItemAttribute xpandNavigationItemAttribute) { _date = date; _xpandNavigationItemAttribute = xpandNavigationItemAttribute; }
string[] ViewIds(XpandNavigationItemAttribute itemAttribute, string ns) { return(new[] { string.Format("{0}.{1}", ns, itemAttribute.ViewId), itemAttribute.ViewId }); }