diff dwtx/jface/internal/text/InternalAccessor.d @ 156:a9566845f1cb

...
author Frank Benoit <benoit@tionex.de>
date Mon, 25 Aug 2008 19:03:46 +0200
parents c4fb132a086c
children 7926b636c282
line wrap: on
line diff
--- a/dwtx/jface/internal/text/InternalAccessor.d	Mon Aug 25 00:45:19 2008 +0200
+++ b/dwtx/jface/internal/text/InternalAccessor.d	Mon Aug 25 19:03:46 2008 +0200
@@ -4,7 +4,7 @@
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html
- * 
+ *
  * Contributors:
  *     IBM Corporation - initial API and implementation
  * Port to the D programming language:
@@ -28,20 +28,20 @@
 import dwtx.jface.text.IInformationControl;
 import dwtx.jface.text.IInformationControlExtension3;
 import dwtx.jface.text.ITextViewerExtension8;
-import dwtx.jface.text.ITextViewerExtension8.EnrichMode;
+import dwtx.jface.text.ITextViewerExtension8;
 
 
 /**
  * An internal class that gives access to internal methods of {@link
  * AbstractInformationControlManager} and subclasses.
- * 
+ *
  * @since 3.4
  */
 public abstract class InternalAccessor {
 
     /**
      * Returns the current information control, or <code>null</code> if none.
-     * 
+     *
      * @return the current information control, or <code>null</code> if none
      */
     public abstract IInformationControl getCurrentInformationControl();
@@ -49,7 +49,7 @@
     /**
      * Sets the information control replacer for this manager and disposes the
      * old one if set.
-     * 
+     *
      * @param replacer the information control replacer for this manager, or
      *            <code>null</code> if no information control replacing should
      *            take place
@@ -58,38 +58,38 @@
 
     /**
      * Returns the current information control replacer or <code>null</code> if none has been installed.
-     * 
+     *
      * @return the current information control replacer or <code>null</code> if none has been installed
      */
     public abstract InformationControlReplacer getInformationControlReplacer();
-    
+
     /**
      * Tests whether the given information control is replaceable.
-     * 
+     *
      * @param iControl information control or <code>null</code> if none
      * @return <code>true</code> if information control is replaceable, <code>false</code> otherwise
      */
     public abstract bool canReplace(IInformationControl iControl);
-    
+
     /**
      * Tells whether this manager's information control is currently being replaced.
-     * 
+     *
      * @return <code>true</code> if a replace is in progress
      */
     public abstract bool isReplaceInProgress();
-    
+
     /**
      * Crops the given bounds such that they lie completely on the closest monitor.
-     *  
+     *
      * @param bounds shell bounds to crop
      */
     public abstract void cropToClosestMonitor(Rectangle bounds);
-    
+
     /**
      * Sets the hover enrich mode. Only applicable when an information
      * control replacer has been set with
      * {@link #setInformationControlReplacer(InformationControlReplacer)} .
-     * 
+     *
      * @param mode the enrich mode
      * @see ITextViewerExtension8#setHoverEnrichMode(dwtx.jface.text.ITextViewerExtension8.EnrichMode)
      */
@@ -97,18 +97,18 @@
 
     /**
      * Indicates whether the mouse cursor is allowed to leave the subject area without closing the hover.
-     * 
+     *
      * @return whether the mouse cursor is allowed to leave the subject area without closing the hover
      */
     public abstract bool getAllowMouseExit();
-    
+
     /**
      * Replaces this manager's information control as defined by
      * the information control replacer.
      * <strong>Must only be called when the information control is instanceof {@link IInformationControlExtension3}!</strong>
-     * 
+     *
      * @param takeFocus <code>true</code> iff the replacing information control should take focus
      */
     public abstract void replaceInformationControl(bool takeFocus);
-    
+
 }