Eclipse Platform
2.0

org.eclipse.search.ui
Interface ISearchPage

All Superinterfaces:
IDialogPage

public interface ISearchPage
extends IDialogPage

Defines a page inside the search dialog. Clients can contribute their own search page to the dialog by implementing this interface, typically as a subclass of DialogPage.

The search dialog calls the performAction method when the Search button is pressed.

See Also:
IDialogPage, DialogPage

Method Summary
 boolean performAction()
          Performs the action for this page.
 void setContainer(ISearchPageContainer container)
          Sets the container of this page.
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Method Detail

performAction

public boolean performAction()
Performs the action for this page. The search dialog calls this method when the Search button is pressed.

Returns:
true if the dialog can be closed after execution

setContainer

public void setContainer(ISearchPageContainer container)
Sets the container of this page. The search dialog calls this method to initialize this page. Implementations may store the reference to the container.

Parameters:
container - the container for this page

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.