|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.topcased.search.ui.pages.ModelExtensibleSearchPage
public final class ModelExtensibleSearchPage
Defines a page contributed to the org.eclipse.search.searchPages extension point.
This pages exposes three different areas :
The query area displays a TabFolder containing a tab for every query contributed to modelSearchQueryTab the extension point.
The participant area displays a TabFolder containing a tab for every query contributed to modelSearchParticipantTab the extension point.
The Scope area displays a group containing possibles workspace search scopes.
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
ModelExtensibleSearchPage()
|
Method Summary | |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
protected void |
createParticipantTabsArea(org.eclipse.swt.widgets.Composite parent)
|
protected void |
createSearchQueryArea(org.eclipse.swt.widgets.Composite parent)
|
org.eclipse.search.ui.ISearchPageContainer |
getContainer()
Return Page Container for the current model search page. |
ParticipantTabDescriptor |
getCurrentlySelectedParticipantDescriptor()
Returns current particpant configuration coming from participant area controls settings |
org.eclipse.swt.widgets.TabItem |
getCurrentlySelectedParticipantTabItem()
Returns current particpant tab item coming from participant area controls settings |
QueryTabDescriptor |
getCurrentlySelectedQueryDescriptor()
Returns current particpant configuration coming from query area controls settings |
org.eclipse.swt.widgets.TabItem |
getCurrentlySelectedQueryTabItem()
Returns current particpant tab item coming from query area controls settings |
ModelSearchEngineDescriptor |
getSearchEngineDescriptorFromPageSelection(QueryTabDescriptor q,
ParticipantTabDescriptor p)
Returns search engine associated with given (query, particpant) tabs selection. |
boolean |
performAction()
Called whenever user clicks on the search button |
void |
setContainer(org.eclipse.search.ui.ISearchPageContainer c)
Sets the search page's container. |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setDescription, setErrorMessage, setImageDescriptor, setMessage, setMessage, setTitle, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
---|
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
Constructor Detail |
---|
public ModelExtensibleSearchPage()
Method Detail |
---|
protected void createSearchQueryArea(org.eclipse.swt.widgets.Composite parent)
protected void createParticipantTabsArea(org.eclipse.swt.widgets.Composite parent)
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
public boolean performAction()
performAction
in interface org.eclipse.search.ui.ISearchPage
public ParticipantTabDescriptor getCurrentlySelectedParticipantDescriptor()
public QueryTabDescriptor getCurrentlySelectedQueryDescriptor()
public org.eclipse.swt.widgets.TabItem getCurrentlySelectedParticipantTabItem()
public org.eclipse.swt.widgets.TabItem getCurrentlySelectedQueryTabItem()
public ModelSearchEngineDescriptor getSearchEngineDescriptorFromPageSelection(QueryTabDescriptor q, ParticipantTabDescriptor p)
public void setContainer(org.eclipse.search.ui.ISearchPageContainer c)
setContainer
in interface org.eclipse.search.ui.ISearchPage
searchPageContainer
- the container to setpublic org.eclipse.search.ui.ISearchPageContainer getContainer()
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.