1 11 12 package org.eclipse.jface.text; 13 14 import org.eclipse.swt.graphics.Point; 15 16 45 public interface ITextViewerExtension2 { 46 47 50 final int DEFAULT_HOVER_STATE_MASK= 0xff; 51 52 58 void invalidateTextPresentation(int offset, int length); 59 60 69 void setTextHover(ITextHover textViewerHover, String contentType, int stateMask); 70 71 80 void removeTextHovers(String contentType); 81 82 87 ITextHover getCurrentTextHover(); 88 89 95 Point getHoverEventLocation(); 96 97 105 void prependAutoEditStrategy(IAutoEditStrategy strategy, String contentType); 106 107 114 void removeAutoEditStrategy(IAutoEditStrategy strategy, String contentType); 115 116 121 void addPainter(IPainter painter); 122 123 129 void removePainter(IPainter painter); 130 } 131 | Popular Tags |