diff dwtx/jface/internal/text/link/contentassist/ContextInformationPopup2.d @ 135:65801ad2b265

Regex fix for anon classes
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:52:31 +0200
parents 51e6e63f930e
children b6bad70d540a
line wrap: on
line diff
--- a/dwtx/jface/internal/text/link/contentassist/ContextInformationPopup2.d	Sun Aug 24 01:46:20 2008 +0200
+++ b/dwtx/jface/internal/text/link/contentassist/ContextInformationPopup2.d	Sun Aug 24 01:52:31 2008 +0200
@@ -120,7 +120,7 @@
      */
     public String showContextProposals(final bool autoActivated) {
         final StyledText styledText= fViewer.getTextWidget();
-        BusyIndicator.showWhile(styledText.getDisplay(), new Runnable() {
+        BusyIndicator.showWhile(styledText.getDisplay(), new class()  Runnable {
             public void run() {
 
                 int position= fViewer.getSelectedRange().x;
@@ -161,7 +161,7 @@
      */
     public void showContextInformation(final IContextInformation info, final int position) {
         Control control= fViewer.getTextWidget();
-        BusyIndicator.showWhile(control.getDisplay(), new Runnable() {
+        BusyIndicator.showWhile(control.getDisplay(), new class()  Runnable {
             public void run() {
                 internalShowContextInfo(info, position);
                 hideContextSelector();
@@ -363,7 +363,7 @@
             c= control.getDisplay().getSystemColor(DWT.COLOR_INFO_FOREGROUND);
         fContextSelectorTable.setForeground(c);
 
-        fContextSelectorTable.addSelectionListener(new SelectionListener() {
+        fContextSelectorTable.addSelectionListener(new class()  SelectionListener {
             public void widgetSelected(SelectionEvent e) {
             }
 
@@ -632,7 +632,7 @@
          * Otherwise, we'd validate the context information based on the
          * pre-key-stroke state.
          */
-        fContextInfoPopup.getDisplay().asyncExec(new Runnable() {
+        fContextInfoPopup.getDisplay().asyncExec(new class()  Runnable {
 
             private ContextFrame fFrame= cast(ContextFrame) fContextFrameStack.peek();