com.aelitis.azureus.ui.swt.utils
Class SearchSubsUtils

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.utils.SearchSubsUtils

public class SearchSubsUtils
extends java.lang.Object


Field Summary
static int HS_ARCHIVE
           
static int HS_HISTORY
           
static int HS_LIBRARY
           
static int HS_NONE
           
static int HS_UNKNOWN
           
 
Constructor Summary
SearchSubsUtils()
           
 
Method Summary
static void addMenu(SearchSubsResultBase[] results, org.eclipse.swt.widgets.Menu menu)
           
static boolean addMenu(SearchSubsResultBase result, org.eclipse.swt.widgets.Menu menu)
           
static boolean filterCheck(SearchSubsResultBase ds, java.lang.String filter, boolean regex)
           
static int getHashStatus(SearchSubsResultBase result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HS_NONE

public static final int HS_NONE
See Also:
Constant Field Values

HS_LIBRARY

public static final int HS_LIBRARY
See Also:
Constant Field Values

HS_ARCHIVE

public static final int HS_ARCHIVE
See Also:
Constant Field Values

HS_HISTORY

public static final int HS_HISTORY
See Also:
Constant Field Values

HS_UNKNOWN

public static final int HS_UNKNOWN
See Also:
Constant Field Values
Constructor Detail

SearchSubsUtils

public SearchSubsUtils()
Method Detail

addMenu

public static boolean addMenu(SearchSubsResultBase result,
                              org.eclipse.swt.widgets.Menu menu)

addMenu

public static void addMenu(SearchSubsResultBase[] results,
                           org.eclipse.swt.widgets.Menu menu)

filterCheck

public static boolean filterCheck(SearchSubsResultBase ds,
                                  java.lang.String filter,
                                  boolean regex)

getHashStatus

public static int getHashStatus(SearchSubsResultBase result)