Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.search.ui.text
Class FilterUpdateEvent


java.lang.Object
  extended by 

java.util.EventObject
      extended by 

org.eclipse.search.ui.SearchResultEvent
          extended by 
org.eclipse.search.ui.text.FilterUpdateEvent
All Implemented Interfaces:
Serializable

public class FilterUpdateEvent
extends SearchResultEvent

An event object describing that the filter state of the given matches has been updated or match filters have been reconfigured.

Clients may instantiate or subclass this class.

Since:
3.3
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util. EventObject
source
 
Constructor Summary
FilterUpdateEvent ( ISearchResult searchResult, Match[] matches, MatchFilter[] filters)
          Constructs a new FilterUpdateEvent.
 
Method Summary
  MatchFilter[] getActiveFilters ()
          Returns the the filters currently set, or null if filters have been disabled.
  Match[] getUpdatedMatches ()
          Returns the matches updated by the filter update.
 
Methods inherited from class org.eclipse.search.ui. SearchResultEvent
getSearchResult
 
Methods inherited from class java.util. EventObject
getSource, toString
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterUpdateEvent

public FilterUpdateEvent(
ISearchResult searchResult,
                         
Match[] matches,
                         
MatchFilter[] filters)
Constructs a new FilterUpdateEvent.

Parameters:
searchResult - the search result concerned
matches - the matches updated by the filter change
filters - the currently activated filters
Method Detail

getUpdatedMatches

public 
Match[] getUpdatedMatches()
Returns the matches updated by the filter update.

Returns:
the matches updated by the filter update

getActiveFilters

public 
MatchFilter[] getActiveFilters()
Returns the the filters currently set, or null if filters have been disabled.

Returns:
the filters currently set

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire