diff dwtx/jface/text/DefaultInformationControl.d @ 158:25f1f92fa3df

...
author Frank Benoit <benoit@tionex.de>
date Tue, 26 Aug 2008 02:46:34 +0200
parents a9566845f1cb
children 1a5b8f8129df
line wrap: on
line diff
--- a/dwtx/jface/text/DefaultInformationControl.d	Mon Aug 25 19:06:44 2008 +0200
+++ b/dwtx/jface/text/DefaultInformationControl.d	Tue Aug 26 02:46:34 2008 +0200
@@ -175,18 +175,6 @@
 import dwtx.jface.resource.JFaceResources;
 import dwtx.jface.util.Geometry;
 
-
-/**
- * Default implementation of {@link dwtx.jface.text.IInformationControl}.
- * <p>
- * Displays textual information in a {@link dwt.custom.StyledText}
- * widget. Before displaying, the information set to this information control is
- * processed by an <code>IInformationPresenter</code>.
- *
- * @since 2.0
- */
-public class DefaultInformationControl : AbstractInformationControl , DisposeListener {
-
     /**
      * An information presenter determines the style presentation
      * of information displayed in the default information control.
@@ -213,7 +201,7 @@
          */
         String updatePresentation(Display display, String hoverInfo, TextPresentation presentation, int maxWidth, int maxHeight);
     }
-
+    alias IInformationPresenter DefaultInformationControl_IInformationPresenter;
 
     /**
      * An information presenter determines the style presentation
@@ -245,8 +233,20 @@
          */
         String updatePresentation(Drawable drawable, String hoverInfo, TextPresentation presentation, int maxWidth, int maxHeight);
     }
+    alias IInformationPresenterExtension DefaultInformationControl_IInformationPresenterExtension;
 
 
+/**
+ * Default implementation of {@link dwtx.jface.text.IInformationControl}.
+ * <p>
+ * Displays textual information in a {@link dwt.custom.StyledText}
+ * widget. Before displaying, the information set to this information control is
+ * processed by an <code>IInformationPresenter</code>.
+ *
+ * @since 2.0
+ */
+public class DefaultInformationControl : AbstractInformationControl , DisposeListener {
+
     /**
      * Inner border thickness in pixels.
      * @since 3.1