Java Code Examples for org.eclipse.jdt.internal.ui.search.SearchUtil#isSearchPlugInActivated()

The following examples show how to use org.eclipse.jdt.internal.ui.search.SearchUtil#isSearchPlugInActivated() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JavaElementAdapterFactory.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 5 votes vote down vote up
private void updateLazyLoadedAdapters() {
	if (fSearchPageScoreComputer == null && SearchUtil.isSearchPlugInActivated())
		createSearchPageScoreComputer();
	if (!fIsTeamUILoaded && isTeamUIPlugInActivated()) {
		addClassToAdapterList(IHistoryPageSource.class);
		fIsTeamUILoaded= true;
	}
}
 
Example 2
Source File: MarkerAdapterFactory.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
private void updateLazyLoadedAdapters() {
	if (fSearchPageScoreComputer == null && SearchUtil.isSearchPlugInActivated())
		createSearchPageScoreComputer();
}
 
Example 3
Source File: EditorInputAdapterFactory.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
private void updateLazyLoadedAdapters() {
	if (fSearchPageScoreComputer == null && SearchUtil.isSearchPlugInActivated())
		createSearchPageScoreComputer();
}
 
Example 4
Source File: LogicalPackageAdapterFactory.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
private void updateLazyLoadedAdapters() {
	if (fSearchPageScoreComputer == null && SearchUtil.isSearchPlugInActivated())
		createSearchPageScoreComputer();
}
 
Example 5
Source File: JavaBrowsingPart.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
private boolean isSearchResultView(IWorkbenchPart part) {
	return SearchUtil.isSearchPlugInActivated() && part instanceof ISearchResultViewPart;
}