public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelRootNavigationItems, IModelRootNavigationItemsAutoSelectedGroupItem>();
     extenders.Add<IModelMemberViewItem, IModelMemberViewItemFastSearch>();
     extenders.Add<IModelMemberViewItem, IModelMemberViewItemRichEdit>();
     extenders.Add<IModelMemberViewItem, IModelMemberViewItemDuration>();
 }
Пример #2
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelOptions, IModelOptionsQueryStringParameter>();
     extenders.Add<IModelMemberViewItem, IModelMemberViewItemRelativeDate>();
     extenders.Add<IModelListView, IModelListViewTwoDimensionListEditor>();
     extenders.Add<IModelColumnSummaryItem, IModelColumnSummaryItemTwoDimensionListEditor>();
 }
Пример #3
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelColumn, IModelConditionalFormatting>();
     extenders.Add<IModelListView, IModelConditionalFormatting>();
     extenders.Add<IModelApplication, IModelApplicationConditionalEditorStates>();
 }
        public void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
            extenders.Add<IModelPivotSettings, IModelPivotSettingsEx>();
            extenders.Add<IModelListView, IModelListViewOptionsPivotGrid>();

            var builder = new InterfaceBuilder(extenders);
            var interfaceBuilderDatas = CreateBuilderData();
            var assembly = builder.Build(interfaceBuilderDatas, GetPath(typeof(PivotGridControl).Name));

            builder.ExtendInteface<IModelOptionsPivotGrid, PivotGridControl>(assembly);
        }
Пример #5
0
        void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
            foreach (var modelExtenderPair in GetModelExtenderPairs()) {
                extenders.Add(modelExtenderPair.InterfaceType, modelExtenderPair.ExtenderType);
            }

            IEnumerable<DynamicModelType> dynamicModelTypes = GetDynamicModelTypes().ToList();
            foreach (var dynamicModelType in dynamicModelTypes) {
                extenders.Add(dynamicModelType.BaseTypeCore, dynamicModelType);
            }
        }
Пример #6
0
        protected override void ExtendInterfaces(ModelInterfaceExtenders extenders) {
            extenders.Add<IModelListView, IModelListViewOptionsGridView>();
            extenders.Add<IModelColumn, IModelColumnOptionsGridView>();

            var builder = new InterfaceBuilder(extenders);
            var assembly = BuildAssembly(builder, typeof(XafGridView), typeof(XafGridColumn));


            builder.ExtendInteface<IModelOptionsGridView, XafGridView>(assembly);
            builder.ExtendInteface<IModelOptionsColumnGridView, XafGridColumn>(assembly);
        }
        public void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
            extenders.Add<IModelListView, IModelListViewOptionsGridView>();
            extenders.Add<IModelColumn, IModelColumnOptionsGridView>();

            var builder = new InterfaceBuilder(extenders);

            var assembly = builder.Build(CreateBuilderData(), GetPath(typeof(ASPxGridView).Name));

            builder.ExtendInteface<IModelOptionsGridView, ASPxGridView>(assembly);
            builder.ExtendInteface<IModelOptionsColumnGridView, GridViewColumn>(assembly);
        }
Пример #8
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     foreach (var modelExtenderPair in GetModelExtenderPairs()) {
         extenders.Add(modelExtenderPair.InterfaceType, modelExtenderPair.ExtenderType);
     }
     var modelApplicationCreatorProperties = XpandModuleBase.ModelApplicationCreatorProperties;
     ModelAutoGeneratedTypeCollector collector = modelApplicationCreatorProperties.AutoGeneratedTypeCollector;
     IEnumerable<DynamicModelType> dynamicModelTypes = GetDynamicModelTypes().ToList();
     foreach (var dynamicModelType in dynamicModelTypes) {
         collector.RegisterType(new ModelAutoGeneratedType(collector, dynamicModelType));
         extenders.Add(dynamicModelType.BaseType, dynamicModelType);
     }
 }
        protected override void ExtendInterfaces(ModelInterfaceExtenders extenders) {

            extenders.Add<IModelListView, IModelListViewOptionsLayoutView>();
            extenders.Add<IModelColumn, IModelColumnOptionsLayoutView>();

            var builder = new InterfaceBuilder(extenders);
            var assembly = BuildAssembly(builder, typeof(XafLayoutView), typeof(LayoutViewColumn));


            builder.ExtendInteface<IModelOptionsLayoutView, XafLayoutView>(assembly);
            builder.ExtendInteface<IModelOptionsColumnLayoutView, LayoutViewColumn>(assembly);

            ExtendWithFont(extenders, builder, assembly);
        }
        protected override void ExtendInterfaces(ModelInterfaceExtenders extenders) {
            extenders.Add<IModelListView, IModelListViewOptionsAdvBandedView>();
            extenders.Add<IModelColumn, IModelColumnOptionsAdvBandedView>();

            var builder = new InterfaceBuilder(extenders);

            var columnViewType = typeof(AdvBandedGridView);
            var interfaceBuilderDatas = GetInterfaceBuilderData(columnViewType, typeof(AdvBandedGridColumn)).ToList();
            interfaceBuilderDatas.Add(GetData(typeof(GridBand), typeof(DevExpress.XtraGrid.Views.BandedGrid.GridBand)));
            var assembly = builder.Build(interfaceBuilderDatas, GetPath(columnViewType.Name));

            builder.ExtendInteface<IModelOptionsAdvBandedView, AdvBandedGridView>(assembly);
            builder.ExtendInteface<IModelOptionsColumnAdvBandedView, AdvBandedGridColumn>(assembly);
            builder.ExtendInteface<IModelGridBand, GridBand>(assembly);
        }
        public void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
            extenders.Add<IModelListView, IModelListViewOptionsTreeList>();
            extenders.Add<IModelRootNavigationItems, IModelListViewOptionsTreeListNavigation>();
            extenders.Add<IModelColumn, IModelColumnOptionsTreeListView>();


            var builder = new InterfaceBuilder(extenders);

            var assembly = builder.Build(CreateBuilderData(), GetPath(TreeListType().Name));

            builder.ExtendInteface(typeof(IModelOptionsTreeList), TreeListType(), assembly);
            builder.ExtendInteface(typeof(IModelOptionsColumnTreeListView), TreeListColumnType(), assembly);

            ExtendModelInterfaces(builder,assembly);
        }
        public void ExtendModelInterfaces(ModelInterfaceExtenders extenders){
            extenders.Add<IModelDetailView, IModelDetailViewXafLayoutControl>();
            var builder = new InterfaceBuilder(extenders);
            var assembly = builder.Build(CreateBuilderData(), GetPath(typeof(XafLayoutControl).Name));

            builder.ExtendInteface<IModelXafLayoutControl, XafLayoutControl>(assembly);

        }
        public void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
            extenders.Add<IModelMemberViewItem, IModelMemberViewItemRepositoryItem>();

            var builder = new InterfaceBuilder(extenders);
            XafTypesInfo.Instance.LoadTypes(typeof(RepositoryItem).Assembly);
            var assembly = builder.Build(CreateBuilderData(), GetPath("RepositoryItem"));

            XafTypesInfo.Instance.LoadTypes(assembly);

            foreach (var typeInfo in RepositoryItemDescendants()) {
                string name = typeInfo.Name;
                var type = Type.GetType(typeof(IModelRepositoryItem).Namespace + ".IModel" + name, true);
                builder.ExtendInteface(type, typeInfo.Type, assembly);
            }

            var calcType = builder.CalcType(typeof(AppearanceObject), assembly);
            extenders.Add(calcType, typeof(IModelAppearanceFont));
        }
        public void ExtendModelInterfaces(ModelInterfaceExtenders extenders){
            extenders.Add<IModelSchedulerPopupMenuItem, IModelSchedulerPopupMenuItemEx>();
            var interfaceBuilder = new InterfaceBuilder(extenders);
            var builderData = new InterfaceBuilderData(typeof(SchedulerMenuItem)){Act = info =>{
                if (info.Name == "Id")
                    return false;
                return info.DXFilter();
            }
            };
            var assembly = interfaceBuilder.Build(new List<InterfaceBuilderData> { builderData }, GetPath(typeof(SchedulerMenuItem).Name));

            interfaceBuilder.ExtendInteface<IModelSchedulerPopupMenuItem,SchedulerMenuItem>(assembly);
        }
        public void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
            extenders.Add<IModelListView, IModelListViewOptionsScheduler>();

            var builder = new InterfaceBuilder(extenders);
            var interfaceBuilderDatas = CreateBuilderData();
            var assembly = builder.Build(interfaceBuilderDatas, GetPath(typeof(SchedulerControl).Name));

            builder.ExtendInteface<IModelOptionsSchedulerEx, SchedulerControl>(assembly);
            builder.ExtendInteface<IModelSchedulerPopupMenu, SchedulerPopupMenu>(assembly);
            builder.ExtendInteface<IModelAppoitmentLabel, AppointmentLabel>(assembly);
            builder.ExtendInteface<AppointmentStorage, IAppoitmentStorageLabels>(assembly);
            builder.ExtendInteface<IModelAppoitmentStatus, AppointmentStatus>(assembly);
            builder.ExtendInteface<AppointmentStorage, IAppoitmentStorageStatuses>(assembly);
        }
        public void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
            
            extenders.Add<IModelPropertyEditor, IModelPropertyHtmlEditor>();

            var builder = new InterfaceBuilder(extenders);
            var interfaceBuilderDatas = CreateBuilderData();
            var assembly = builder.Build(interfaceBuilderDatas, GetPath(typeof(ASPxHtmlEditor).Name));

            builder.ExtendInteface<IModelHtmlEditor, ASPxHtmlEditor>(assembly);
            builder.ExtendInteface<IModelHtmlEditorToolBar, HtmlEditorToolbar>(assembly);
            builder.ExtendInteface<IModelHtmlEditorShortcut, HtmlEditorShortcut>(assembly);
            builder.ExtendInteface<IModelHtmlEditorToolBarItem, HtmlEditorToolbarItem>(assembly);
            builder.ExtendInteface<IModelToolbarCustomDialogButton, ToolbarCustomDialogButton>(assembly);
            builder.ExtendInteface<IModelHtmlEditorCustomDialog, HtmlEditorCustomDialog>(assembly);
        }
Пример #17
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelColumn, IModelColumnAurumFilter>();
     extenders.Add<IModelClass, IModelClassNestedListActions>();
     extenders.Add<IModelPropertyEditor, IModelPropertyEditorDisplayItem>();
     extenders.Add<IModelListView, IModelNestedListViewActions>();
     extenders.Add<IModelViews, IModelDefaultShowDetailView>();
     extenders.Add<IModelListView, IModelShowDetailView>();
 }
Пример #18
0
        public void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
            extenders.Add<IModelListView, IModelListViewOptionsChart>();

            var builder = new InterfaceBuilder(extenders);
            XafTypesInfo.Instance.LoadTypes(typeof(Diagram).Assembly);

            var assembly = builder.Build(CreateBuilderData(), GetPath(typeof(ChartControl).Name));

            XafTypesInfo.Instance.LoadTypes(assembly);

            builder.ExtendInteface<IModelOptionsChart, ChartControl>(assembly);
            builder.ExtendInteface<IModelSeries, Series>(assembly);

            foreach (var typeInfo in DiagramDescendants()) {
                var type = Type.GetType(typeof(IModelChartDiargam).Namespace + ".IModelChart" + typeInfo.Name, true);
                builder.ExtendInteface(type, typeInfo.Type, assembly);
            }

        }
Пример #19
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelApplication,IModelApplicationScheduler>();
 }
Пример #20
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelOptions, IModelOptionsApplicationMultiInstances>();
 }
Пример #21
0
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelView, IModelViewConfigurationView>();
 }
Пример #22
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add <IModelListView, IModelListViewAutoRefreshWhenNotFocus>();
 }
Пример #23
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelClass, IModelClassHidePopupMenu>();
     extenders.Add <IModelListView, IModelListViewHidePopupMenu>();
 }
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders){
     extenders.Add<IModelView,IModelViewConfigurationView>();
 }
Пример #25
0
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelActionLink, IModelActionLinkFont>();
 }
Пример #26
0
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelView, IModelViewPopupWindowState>();
 }
Пример #27
0
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelPropertyEditor, IModelPropertyEditorSyntaxHighlight>();
 }
Пример #28
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelOptions, IModelListViewShortcuts>();
 }
Пример #29
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add <IModelReactiveLogger, IModelServerPorts>();
 }
Пример #30
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelMember, IModelMemberPivotGridInPlaceEdit>();
     extenders.Add <IModelPropertyEditor, IModelPropertyEditorPivotGridInPlaceEdit>();
 }
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add <IModelListView, IModelListViewAdditionalCriteria>();
 }
Пример #32
0
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelDashboardViewItem, IModelDashboardViewItemEx>();
 }
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     extenders.Add<IModelOptions, IModelOptionsStateMachine>();
 }
Пример #34
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelOptions, IModelOptionsApplicationExit>();
 }
Пример #35
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelApplication,IModelApplicationAudiTrail>();
 }
Пример #36
0
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelPropertyEditor, IModelPropertyEditorAttributeValue>();
 }
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelOptions,IModelOptionsFileSystemStoreLocation>();
 }
Пример #38
0
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     extenders.Add<IAppearance, IXpandAppearanceRuleProperties>();
 }
Пример #39
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelOptions, IConnectionInfoStatusMessage>();
 }
Пример #40
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelOptions, IModelOptionsLoadWithWindowsOptions>();
 }
Пример #41
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add <IModelObjectView, IModelObjectViewMergedDifferences>();
 }
Пример #42
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelActionLink, IModelActionLinkRibbon>();
 }
Пример #43
0
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelOptionsPivotGrid, IModelPivotNetIncome>();
 }
Пример #44
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add(typeof(IModelMember),
                   typeof(IModelMemberShowInCustomizationForm));
 }
Пример #45
0
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelOptions, IModelOptionsNotifyIconOptions>();
 }
Пример #46
0
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelApplicationOptionsSkin, IModelApplicationOptionsSkinSvg>();
 }
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add<IModelClass, IModelClassDescribeRunTimeMembers>();
 }
Пример #48
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add <IModelApplication, IModelApplicationEmail>();
 }
Пример #49
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelListView, IModelListViewThumbnailWeb>();
 }
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelListView, IModelListViewProcessSelectedItem>();
 }
Пример #51
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelOptions, IModelOptionsCollectionEditMode>();
     extenders.Add<IModelListView, IModelListViewOpenViewWhenNested>();
     extenders.Add<IModelMemberViewItem, IModelMemberViewItemRelativeDate>();
 }
Пример #52
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add <IModelClass, IModelClassSupressConfirmation>();
     extenders.Add <IModelObjectView, IModelObjectViewSupressConfirmation>();
 }
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
     extenders.Add<IModelOptions, IConnectionInfoStatusMessage>();
 }
Пример #54
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add <IModelOptions, IModelOptionsJobScheduler>();
 }
Пример #55
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelListView, IModelListViewNCarousel>();
 }
Пример #56
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add <IModelListView, IModelListViewSetting>();
     extenders.Add <IModelNavigationItem, IListViewCriteriaNavigationItem>();
 }
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelColumn, IModelColumnMasterDetailView>();
 }
Пример #58
0
 public void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <DevExpress.ExpressApp.Model.IModelOptions, IModelFontSizeOptions>();
 }
Пример #59
0
 public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     base.ExtendModelInterfaces(extenders);
     extenders.Add<IModelApplication, IModelExchanges>();
 }
 void IModelExtender.ExtendModelInterfaces(ModelInterfaceExtenders extenders)
 {
     extenders.Add <IModelClass, IModelClassGuessAutoFilterRowValuesFromFilter>();
     extenders.Add <IModelListView, IModelListViewGuessAutoFilterRowValuesFromFilter>();
 }