|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.ui.part.Page
org.eclipse.xtext.ui.editor.findrefs.ReferenceSearchViewPage
public class ReferenceSearchViewPage
| Constructor Summary | |
|---|---|
ReferenceSearchViewPage()
|
|
| Method Summary | |
|---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
Creates the SWT control for this page under the given parent control. |
protected org.eclipse.ui.OpenAndLinkWithEditorHelper |
createOpenAndLinkWithEditorHandler()
|
protected org.eclipse.search.ui.IQueryListener |
createQueryListener()
|
void |
dispose()
The Page implementation of this IPage method
disposes of this page's control (if it has one and it has not already
been disposed). |
protected void |
fillToolbar(org.eclipse.jface.action.IToolBarManager tbm)
|
org.eclipse.swt.widgets.Control |
getControl()
The Page implementation of this IPage method returns
null. |
java.lang.String |
getID()
Returns the id set via setID. |
java.lang.String |
getLabel()
Returns a user readable label for this search result page. |
java.lang.Object |
getUIState()
Returns an object representing the current user interface state of the page. |
org.eclipse.jface.viewers.TreeViewer |
getViewer()
|
protected void |
handleOpen(org.eclipse.jface.viewers.OpenEvent openEvent)
|
void |
init(org.eclipse.ui.part.IPageSite pageSite)
The Page implementation of this IPageBookViewPage method
stores a reference to the supplied site (the site which contains this
page). |
void |
restoreState(org.eclipse.ui.IMemento memento)
Restores the page state. |
void |
saveState(org.eclipse.ui.IMemento memento)
Saves the page state in a memento. |
void |
setFocus()
The Page implementation of this IPage method
does nothing. |
void |
setID(java.lang.String id)
Sets the id for this page. |
void |
setInput(org.eclipse.search.ui.ISearchResult newSearchResult,
java.lang.Object uiState)
Sets the search result to be shown in this search results page. |
void |
setViewPart(org.eclipse.search.ui.ISearchResultViewPart part)
Sets the search view this search results page is shown in. |
protected void |
showBusyLabel(boolean shouldShowBusy)
|
| Methods inherited from class org.eclipse.ui.part.Page |
|---|
getSite, makeContributions, setActionBars |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.part.IPageBookViewPage |
|---|
getSite |
| Methods inherited from interface org.eclipse.ui.part.IPage |
|---|
setActionBars |
| Constructor Detail |
|---|
public ReferenceSearchViewPage()
| Method Detail |
|---|
public java.lang.String getID()
org.eclipse.search.ui.ISearchResultPagesetID.
getID in interface org.eclipse.search.ui.ISearchResultPagepublic void setID(java.lang.String id)
org.eclipse.search.ui.ISearchResultPage
setID in interface org.eclipse.search.ui.ISearchResultPageid - the id for this pagepublic java.lang.String getLabel()
org.eclipse.search.ui.ISearchResultPage
getLabel in interface org.eclipse.search.ui.ISearchResultPagepublic java.lang.Object getUIState()
org.eclipse.search.ui.ISearchResultPagesetInput() method when the
currently shown ISearchResult is shown again.
getUIState in interface org.eclipse.search.ui.ISearchResultPagepublic void restoreState(org.eclipse.ui.IMemento memento)
org.eclipse.search.ui.ISearchResultPage
restoreState in interface org.eclipse.search.ui.ISearchResultPagememento - a memento to restore the page state from or null
if no previous state was savedISearchResultPage.setInput(ISearchResult, Object)public void saveState(org.eclipse.ui.IMemento memento)
org.eclipse.search.ui.ISearchResultPage
saveState in interface org.eclipse.search.ui.ISearchResultPagememento - a memento to receive the object stateISearchResultPage.getUIState()public void init(org.eclipse.ui.part.IPageSite pageSite)
org.eclipse.ui.part.PagePage implementation of this IPageBookViewPage method
stores a reference to the supplied site (the site which contains this
page).
Subclasses may extend.
init in interface org.eclipse.ui.part.IPageBookViewPageinit in class org.eclipse.ui.part.PagepageSite - the page site
public void setInput(org.eclipse.search.ui.ISearchResult newSearchResult,
java.lang.Object uiState)
org.eclipse.search.ui.ISearchResultPageuiState object.
setInput in interface org.eclipse.search.ui.ISearchResultPagenewSearchResult - the search result to be shown or null to clear the page.uiState - the previously saved UI stateISearchResultPage.getUIState()public void setViewPart(org.eclipse.search.ui.ISearchResultViewPart part)
org.eclipse.search.ui.ISearchResultPage
setViewPart in interface org.eclipse.search.ui.ISearchResultPagepart - the parent search viewpublic void createControl(org.eclipse.swt.widgets.Composite parent)
org.eclipse.ui.part.IPageClients should not call this method (the workbench calls this method when it needs to, which may be never).
createControl in interface org.eclipse.ui.part.IPagecreateControl in class org.eclipse.ui.part.Pageparent - the parent controlprotected org.eclipse.ui.OpenAndLinkWithEditorHelper createOpenAndLinkWithEditorHandler()
protected org.eclipse.search.ui.IQueryListener createQueryListener()
public void dispose()
org.eclipse.ui.part.PagePage implementation of this IPage method
disposes of this page's control (if it has one and it has not already
been disposed). Subclasses may extend.
dispose in interface org.eclipse.ui.part.IPagedispose in class org.eclipse.ui.part.Pageprotected void showBusyLabel(boolean shouldShowBusy)
protected void fillToolbar(org.eclipse.jface.action.IToolBarManager tbm)
protected void handleOpen(org.eclipse.jface.viewers.OpenEvent openEvent)
public org.eclipse.swt.widgets.Control getControl()
org.eclipse.ui.part.PagePage implementation of this IPage method returns
null. Subclasses must reimplement.
getControl in interface org.eclipse.ui.part.IPagegetControl in class org.eclipse.ui.part.Pagenull if this
page does not have a controlpublic void setFocus()
org.eclipse.ui.part.PagePage implementation of this IPage method
does nothing. Subclasses must implement.
setFocus in interface org.eclipse.ui.part.IPagesetFocus in class org.eclipse.ui.part.Pagepublic org.eclipse.jface.viewers.TreeViewer getViewer()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||