Changeset 3381 for devel-tools/trunk
- Timestamp:
- Feb 6, 2008, 5:15:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel-tools/trunk/eclipse/org.refal.plus.rfpdt.editor/src/org/refal/plus/rfpdt/editor/RfpSourceViewerConfiguration.java
r3374 r3381 25 25 this.editor = editor; 26 26 } 27 28 // public IInformationPresenter getInformationPresenter (ISourceViewer sourceViewer) { 29 // InformationPresenter informationPresenter = new InformationPresenter(this 30 // .getInformationControlCreator(sourceViewer)); 31 // informationPresenter.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer)); 32 // informationPresenter.setInformationProvider(new IInformationProvider() { 33 // public String getInformation (ITextViewer textViewer, IRegion subject) { 34 // return "<html><body><p><b>123</b></p></body></html>"; 35 // } 36 // 37 // public IRegion getSubject (ITextViewer textViewer, int offset) { 38 // return new Region(offset, 1); 39 // } 40 // }, IDocument.DEFAULT_CONTENT_TYPE); 41 // informationPresenter.setSizeConstraints(60, 10, true, true); 42 // return informationPresenter; 43 // Display.getDefault().asyncExec(new Runnable() { 44 // public void run () { 45 // RfpSourceViewerConfiguration.x.setOffset(10); 46 // RfpSourceViewerConfiguration.x.showInformation(); 47 // } 48 // }); 49 // } 27 50 28 51 public IAnnotationHover getAnnotationHover (ISourceViewer sourceViewer) {
Note: See TracChangeset
for help on using the changeset viewer.