public JavaSessionCompletions(JavaCommandHandlerProvider provider, ITextBuffer textBuffer)
        {
            this.Provider = provider;
            this.TextBuffer = textBuffer;

            if (glyphPublicClass == null) PopulateGlyphs(provider);
        }
Example #2
0
        public JavaSessionCompletions(JavaCommandHandlerProvider provider, ITextBuffer textBuffer)
        {
            this.Provider   = provider;
            this.TextBuffer = textBuffer;

            if (glyphPublicClass == null)
            {
                PopulateGlyphs(provider);
            }
        }
 private static void PopulateGlyphs(JavaCommandHandlerProvider provider)
 {
     glyphPublicClass = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpClass, StandardGlyphItem.GlyphItemPublic);
     glyphPublicField = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpField, StandardGlyphItem.GlyphItemPublic);
     glyphPublicInterface = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpInterface, StandardGlyphItem.GlyphItemPublic);
     glyphPublicMethod = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpMethod, StandardGlyphItem.GlyphItemPublic);
     glyphNamespace = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpNamespace, StandardGlyphItem.GlyphItemPublic);
     glyphPrivateField = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpField, StandardGlyphItem.GlyphItemPrivate);
     glyphPrivateMethod = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpMethod, StandardGlyphItem.GlyphItemPrivate);
     glyphVariable = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupVariable, StandardGlyphItem.GlyphItemPublic);
     glyphKeyword = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphKeyword, StandardGlyphItem.GlyphItemPublic);
 }
Example #4
0
 private static void PopulateGlyphs(JavaCommandHandlerProvider provider)
 {
     glyphPublicClass     = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpClass, StandardGlyphItem.GlyphItemPublic);
     glyphPublicField     = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpField, StandardGlyphItem.GlyphItemPublic);
     glyphPublicInterface = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpInterface, StandardGlyphItem.GlyphItemPublic);
     glyphPublicMethod    = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpMethod, StandardGlyphItem.GlyphItemPublic);
     glyphNamespace       = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpNamespace, StandardGlyphItem.GlyphItemPublic);
     glyphPrivateField    = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpField, StandardGlyphItem.GlyphItemPrivate);
     glyphPrivateMethod   = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupJSharpMethod, StandardGlyphItem.GlyphItemPrivate);
     glyphVariable        = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphGroupVariable, StandardGlyphItem.GlyphItemPublic);
     glyphKeyword         = provider.GlyphService.GetGlyph(StandardGlyphGroup.GlyphKeyword, StandardGlyphItem.GlyphItemPublic);
 }
Example #5
0
 public JavaSignatureHelpSessionSignatures(JavaCommandHandlerProvider provider, ITextBuffer textBuffer)
 {
     Provider   = provider;
     TextBuffer = textBuffer;
 }
 public JavaGotoDefinition(ITextView textView, JavaCommandHandlerProvider provider, SnapshotPoint caretPoint)
 {
     this.TextView = textView;
     this.Provider = provider;
     this.CaretPoint = caretPoint;
 }
 public JavaCommandHandler(IVsTextView textViewAdapter, ITextView textView, JavaCommandHandlerProvider provider)
 {
     TextView = textView;
     Provider = provider;
     textViewAdapter.AddCommandFilter(this, out NextCmdHandler);
 }
 public JavaSignatureHelpSessionSignatures(JavaCommandHandlerProvider provider, ITextBuffer textBuffer)
 {
     Provider = provider;
     TextBuffer = textBuffer;
 }
Example #9
0
 public JavaGotoDefinition(ITextView textView, JavaCommandHandlerProvider provider, SnapshotPoint caretPoint)
 {
     this.TextView   = textView;
     this.Provider   = provider;
     this.CaretPoint = caretPoint;
 }
 public JavaCommandHandler(IVsTextView textViewAdapter, ITextView textView, JavaCommandHandlerProvider provider)
 {
     TextView = textView;
     Provider = provider;
     textViewAdapter.AddCommandFilter(this, out NextCmdHandler);
 }