net.refractions.udig.catalog.ui.search
Class SearchView

java.lang.Object
  extended by SearchPart
      extended by net.refractions.udig.catalog.ui.search.SearchView

public class SearchView
extends SearchPart

Search view is a distinct, simple implementation focused on Catalog searches.

We are unable to make use of the usual eclipse search facilities (ie org.eclipse.search.searchPages) as this would cause our application to be dependent on org.eclipse.core.resources - aka IResource. This would represent a signigicant jump in download size etc...

Of Note:


Field Summary
 Text text
           
static java.lang.String VIEW_ID
          ID for this view
 
Constructor Summary
SearchView()
           
 
Method Summary
protected  IStructuredContentProvider createContentProvider()
           
protected  Composite createDetails(SashForm parent)
           
protected  IBaseLabelProvider createLabelProvider()
           
 void createPartControl(Composite aParent)
           
protected  StructuredViewer createViewer(Composite parent)
           
protected  void initDragAndDrop()
           
protected  void searchImplementation(java.lang.Object filter, IProgressMonitor monitor, ResultSet results)
          Search the catalog for text and update view contents
protected  void setOrientation(Orientation orientation)
           
 void setStatus(java.lang.String message)
          Status message ...
protected  void showDetail(java.lang.Object selection)
           
protected  void showInfo(net.refractions.udig.catalog.ui.search.Info info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_ID

public static final java.lang.String VIEW_ID
ID for this view

See Also:
Constant Field Values

text

public Text text
Constructor Detail

SearchView

public SearchView()
Parameters:
dialogSettings -
Method Detail

setOrientation

protected void setOrientation(Orientation orientation)

createPartControl

public void createPartControl(Composite aParent)

initDragAndDrop

protected void initDragAndDrop()

createDetails

protected Composite createDetails(SashForm parent)

createViewer

protected StructuredViewer createViewer(Composite parent)

createLabelProvider

protected IBaseLabelProvider createLabelProvider()

showInfo

protected void showInfo(net.refractions.udig.catalog.ui.search.Info info)

showDetail

protected void showDetail(java.lang.Object selection)

createContentProvider

protected IStructuredContentProvider createContentProvider()

setStatus

public void setStatus(java.lang.String message)
Status message ...


searchImplementation

protected void searchImplementation(java.lang.Object filter,
                                    IProgressMonitor monitor,
                                    ResultSet results)
Search the catalog for text and update view contents

Parameters:
pattern -