Mercurial > projects > dwt-addons
diff dwtx/jface/text/source/projection/ProjectionSupport.d @ 145:02cd5f1224d3
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 22:31:00 +0200 |
parents | b6bad70d540a |
children | 75302ef3f92f |
line wrap: on
line diff
--- a/dwtx/jface/text/source/projection/ProjectionSupport.d Sun Aug 24 21:34:15 2008 +0200 +++ b/dwtx/jface/text/source/projection/ProjectionSupport.d Sun Aug 24 22:31:00 2008 +0200 @@ -243,7 +243,7 @@ public void setHoverControlCreator(IInformationControlCreator creator) { fInformationControlCreator= creator; } - + /** * Sets the information presenter control creator that is used for the annotation * hovers that are shown in the projection viewer's projection ruler column. @@ -372,7 +372,7 @@ * */ public Object getAdapter(ISourceViewer viewer, Class required) { - if (ProjectionAnnotationModel.class.equals(required)) { + if (ProjectionAnnotationModel.classinfo ==/*eq*/ required) { if ( cast(ProjectionViewer)viewer ) { ProjectionViewer projectionViewer= cast(ProjectionViewer) viewer; return projectionViewer.getProjectionAnnotationModel();