comparison dwtx/jface/text/source/projection/ProjectionAnnotationHover.d @ 135:65801ad2b265

Regex fix for anon classes
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:52:31 +0200
parents 51e6e63f930e
children 6dcb0baaa031
comparison
equal deleted inserted replaced
134:51e6e63f930e 135:65801ad2b265
176 /* 176 /*
177 * @see dwtx.jface.text.source.IAnnotationHoverExtension#getHoverControlCreator() 177 * @see dwtx.jface.text.source.IAnnotationHoverExtension#getHoverControlCreator()
178 */ 178 */
179 public IInformationControlCreator getHoverControlCreator() { 179 public IInformationControlCreator getHoverControlCreator() {
180 if (fInformationControlCreator is null) { 180 if (fInformationControlCreator is null) {
181 fInformationControlCreator= new IInformationControlCreator() { 181 fInformationControlCreator= new class() IInformationControlCreator {
182 public IInformationControl createInformationControl(Shell parent) { 182 public IInformationControl createInformationControl(Shell parent) {
183 return new SourceViewerInformationControl(parent, false, JFaceResources.TEXT_FONT, null); 183 return new SourceViewerInformationControl(parent, false, JFaceResources.TEXT_FONT, null);
184 } 184 }
185 }; 185 };
186 } 186 }
191 * @see dwtx.jface.text.information.IInformationProviderExtension2#getInformationPresenterControlCreator() 191 * @see dwtx.jface.text.information.IInformationProviderExtension2#getInformationPresenterControlCreator()
192 * @since 3.3 192 * @since 3.3
193 */ 193 */
194 public IInformationControlCreator getInformationPresenterControlCreator() { 194 public IInformationControlCreator getInformationPresenterControlCreator() {
195 if (fInformationPresenterControlCreator is null) { 195 if (fInformationPresenterControlCreator is null) {
196 fInformationPresenterControlCreator= new IInformationControlCreator() { 196 fInformationPresenterControlCreator= new class() IInformationControlCreator {
197 public IInformationControl createInformationControl(Shell parent) { 197 public IInformationControl createInformationControl(Shell parent) {
198 return new SourceViewerInformationControl(parent, true, JFaceResources.TEXT_FONT, null); 198 return new SourceViewerInformationControl(parent, true, JFaceResources.TEXT_FONT, null);
199 } 199 }
200 }; 200 };
201 } 201 }