示例#1
0
        public NativeXControlPanel(NativeXForm form)
        {
            this.editingObserverProvider  = new NativeXEditingObserverProvider(new LanguageFormNativeXProvider(form));
            this.colorizerProvider        = new NativeXContextSensitiveColorizerProvider(this.editingObserverProvider);
            this.popupItemProvider        = new NativeXPopupItemProvider(this.editingObserverProvider);
            this.tooltipProvider          = new NativeXTooltipProvider(this.editingObserverProvider);
            this.parameterInfoProvider    = new NativeXParameterInfoProvider(this.editingObserverProvider);
            this.wordingProvider          = new NativeXWordingProvider();
            this.languageDefaultColorizer = new LanguageDefaultColorizerExtension(this);

            ExtendBeforeInstall(this.editingObserverProvider);
            ExtendBeforeInstall(this.colorizerProvider);
            ExtendBeforeInstall(this.popupItemProvider);
            ExtendBeforeInstall(this.tooltipProvider);
            ExtendBeforeInstall(this.parameterInfoProvider);
            ExtendBeforeInstall(this.wordingProvider);
            ExtendBeforeInstall(this.languageDefaultColorizer);
        }
示例#2
0
 public LanguageFormNativeXProvider(NativeXForm form)
     : base(new EmptyHeaders())
 {
     this.form = form;
 }