Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.eclipse.jdt.actions
Class RegexFindDialog.ElementLoader  view RegexFindDialog.ElementLoader download RegexFindDialog.ElementLoader.java

java.lang.Object
  extended bycom.port80.eclipse.jdt.actions.RegexFindDialog.ElementLoader
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
RegexFindDialog

private class RegexFindDialog.ElementLoader
extends java.lang.Object
implements java.lang.Runnable

Since TableViewer.getItems() and TableItem.getText() requires to run in the display thread, table entries are loaded in the contructor for now instead of in the thread.run().


Field Summary
private  org.eclipse.swt.widgets.Display fDisplay
           
private  org.eclipse.jface.viewers.IStructuredSelection fSelection
           
private  org.eclipse.jface.viewers.Viewer fViewer
           
 
Constructor Summary
RegexFindDialog.ElementLoader(org.eclipse.jface.viewers.Viewer viewer)
           
 
Method Summary
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fViewer

private org.eclipse.jface.viewers.Viewer fViewer

fSelection

private org.eclipse.jface.viewers.IStructuredSelection fSelection

fDisplay

private org.eclipse.swt.widgets.Display fDisplay
Constructor Detail

RegexFindDialog.ElementLoader

public RegexFindDialog.ElementLoader(org.eclipse.jface.viewers.Viewer viewer)
Method Detail

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable