diff dwtx/jface/text/revisions/IRevisionRulerColumnExtension.d @ 162:1a5b8f8129df

...
author Frank Benoit <benoit@tionex.de>
date Mon, 08 Sep 2008 00:51:37 +0200
parents 25f1f92fa3df
children
line wrap: on
line diff
--- a/dwtx/jface/text/revisions/IRevisionRulerColumnExtension.d	Wed Aug 27 14:49:30 2008 +0200
+++ b/dwtx/jface/text/revisions/IRevisionRulerColumnExtension.d	Mon Sep 08 00:51:37 2008 +0200
@@ -27,23 +27,11 @@
 import dwtx.jface.viewers.ISelectionProvider;
 
     static this(){
-        IRevisionRulerColumnExtension.AUTHOR= new IRevisionRulerColumnExtension.RenderingMode("Author"); //$NON-NLS-1$
-        IRevisionRulerColumnExtension.AGE= new IRevisionRulerColumnExtension.RenderingMode("Age"); //$NON-NLS-1$
-        IRevisionRulerColumnExtension.AUTHOR_SHADED_BY_AGE= new IRevisionRulerColumnExtension.RenderingMode("Both"); //$NON-NLS-1$
+        IRevisionRulerColumnExtension_AUTHOR= new IRevisionRulerColumnExtension_RenderingMode("Author"); //$NON-NLS-1$
+        IRevisionRulerColumnExtension_AGE= new IRevisionRulerColumnExtension_RenderingMode("Age"); //$NON-NLS-1$
+        IRevisionRulerColumnExtension_AUTHOR_SHADED_BY_AGE= new IRevisionRulerColumnExtension_RenderingMode("Both"); //$NON-NLS-1$
     }
 
-/**
- * Extension interface for {@link IRevisionRulerColumn}.
- * <p>
- * Introduces the ability to register a selection listener on revisions and configurable rendering
- * modes.
- * </p>
- *
- * @see IRevisionRulerColumn
- * @since 3.3
- */
-public interface IRevisionRulerColumnExtension {
-
     /**
      * Rendering mode type-safe enum.
      */
@@ -61,11 +49,13 @@
             return fName;
         }
     }
+    alias RenderingMode IRevisionRulerColumnExtension_RenderingMode;
+
 
     /**
      * Rendering mode that assigns a unique color to each revision author.
      */
-    static const RenderingMode AUTHOR;
+    static const RenderingMode IRevisionRulerColumnExtension_AUTHOR;
     /**
      * Rendering mode that assigns colors to revisions by their age.
      * <p>
@@ -73,7 +63,7 @@
      * The coloring scheme can change in future releases.
      * </p>
      */
-    static const RenderingMode AGE;
+    static const RenderingMode IRevisionRulerColumnExtension_AGE;
     /**
      * Rendering mode that assigns unique colors per revision author and
      * uses different color intensity depending on the age.
@@ -83,7 +73,19 @@
      * The coloring scheme can change in future releases.
      * </p>
      */
-    static const RenderingMode AUTHOR_SHADED_BY_AGE;
+    static const RenderingMode IRevisionRulerColumnExtension_AUTHOR_SHADED_BY_AGE;
+
+/**
+ * Extension interface for {@link IRevisionRulerColumn}.
+ * <p>
+ * Introduces the ability to register a selection listener on revisions and configurable rendering
+ * modes.
+ * </p>
+ *
+ * @see IRevisionRulerColumn
+ * @since 3.3
+ */
+public interface IRevisionRulerColumnExtension {
 
     /**
      * Changes the rendering mode and triggers redrawing if needed.