• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ISearchPageContainer类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.eclipse.search.ui.ISearchPageContainer的典型用法代码示例。如果您正苦于以下问题:Java ISearchPageContainer类的具体用法?Java ISearchPageContainer怎么用?Java ISearchPageContainer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ISearchPageContainer类属于org.eclipse.search.ui包,在下文中一共展示了ISearchPageContainer类的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: createTextSearchScope

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
public FileTextSearchScope createTextSearchScope() {
    // Setup search scope
    switch (getContainer().getSelectedScope()) {
    case ISearchPageContainer.WORKSPACE_SCOPE:
        return FileTextSearchScope.newWorkspaceScope(getExtensions(), fSearchDerived);
    case ISearchPageContainer.SELECTION_SCOPE:
        return getSelectedResourcesScope();
    case ISearchPageContainer.SELECTED_PROJECTS_SCOPE:
        return getEnclosingProjectScope();
    case ISearchPageContainer.WORKING_SET_SCOPE:
        IWorkingSet[] workingSets = getContainer().getSelectedWorkingSets();
        return FileTextSearchScope.newSearchScope(workingSets, getExtensions(), fSearchDerived);
    default:
        // unknown scope
        return FileTextSearchScope.newWorkspaceScope(getExtensions(), fSearchDerived);
    }
}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:18,代码来源:UrnSearchPage.java


示例2: createTextSearchScope

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
public FileTextSearchScope createTextSearchScope() {
  // Setup search scope
  switch (getContainer().getSelectedScope()) {
    case ISearchPageContainer.WORKSPACE_SCOPE:
      return FileTextSearchScope.newWorkspaceScope(getExtensions(), false);
    case ISearchPageContainer.SELECTION_SCOPE:
      return getSelectedResourcesScope();
    case ISearchPageContainer.SELECTED_PROJECTS_SCOPE:
      return getEnclosingProjectScope();
    case ISearchPageContainer.WORKING_SET_SCOPE:
      IWorkingSet[] workingSets = getContainer().getSelectedWorkingSets();
      return FileTextSearchScope.newSearchScope(workingSets, getExtensions(), false);
    default:
      // unknown scope
      return FileTextSearchScope.newWorkspaceScope(getExtensions(), false);
  }
}
 
开发者ID:GoClipse,项目名称:goclipse,代码行数:18,代码来源:GoSearchPage.java


示例3: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
@Override
public void setContainer(ISearchPageContainer container) {
	fContainer = container;
}
 
开发者ID:gw4e,项目名称:gw4e.project,代码行数:5,代码来源:ModelSearchPage.java


示例4: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
@Override
public void setContainer(ISearchPageContainer container) {
    // pass
}
 
开发者ID:insweat,项目名称:hssd,代码行数:5,代码来源:EntrySearchPage.java


示例5: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
/**
 * ISearchPage mandatory method.
 */
@Override
public void setContainer(ISearchPageContainer container) {
	// do nothing
}
 
开发者ID:nasa,项目名称:OpenSPIFe,代码行数:8,代码来源:PlanSearchPage.java


示例6: SearchPatternData

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
public SearchPatternData(int searchFor, int limitTo, int matchLocations, boolean isCaseSensitive, String pattern, IJavaElement element, int includeMask) {
	this(searchFor, limitTo, matchLocations, pattern, isCaseSensitive, element, ISearchPageContainer.WORKSPACE_SCOPE, null, includeMask);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:4,代码来源:JavaSearchPage.java


示例7: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
public void setContainer(ISearchPageContainer container) {
	fContainer= container;
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:4,代码来源:JavaSearchPage.java


示例8: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
@Override
public void setContainer(final ISearchPageContainer container) {
    this.container = container;
}
 
开发者ID:GRA-UML,项目名称:tool,代码行数:5,代码来源:ReferenceLibrarySearchPage.java


示例9: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
@Override
public void setContainer(final ISearchPageContainer container)
{
  this.container = container;
}
 
开发者ID:UBPL,项目名称:jive,代码行数:6,代码来源:JiveSearchPageProxy.java


示例10: getContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
private ISearchPageContainer getContainer()
{
  return container;
}
 
开发者ID:UBPL,项目名称:jive,代码行数:5,代码来源:JiveSearchPageProxy.java


示例11: getContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
/**
 * Returns the search page container in which this page is hosted.
 */
protected ISearchPageContainer getContainer()
{
  return container;
}
 
开发者ID:UBPL,项目名称:jive,代码行数:8,代码来源:JiveSearchPage.java


示例12: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
@Override
public void setContainer(ISearchPageContainer container) {
    fContainer = container;
}
 
开发者ID:fabioz,项目名称:Pydev,代码行数:5,代码来源:AbstractSearchIndexPage.java


示例13: getContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
private ISearchPageContainer getContainer() {
    return fContainer;
}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:4,代码来源:UrnSearchPage.java


示例14: getContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
private ISearchPageContainer getContainer() {
  return fContainer;
}
 
开发者ID:GoClipse,项目名称:goclipse,代码行数:4,代码来源:GoSearchPage.java


示例15: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
/**
 * setContainer
 * 
 * @see org.eclipse.search.ui.ISearchPage#setContainer(org.eclipse.search.ui.ISearchPageContainer)
 */
public void setContainer(ISearchPageContainer container) {
    this.container = container;
    container.setSelectedScope(ISearchPageContainer.SELECTED_PROJECTS_SCOPE);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:10,代码来源:UMLModelSearchPage.java


示例16: getContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
/**
 * Returns the search page's container.
 * @return the search page container
 */
private ISearchPageContainer getContainer() {
	return fContainer;
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:8,代码来源:JavaSearchPage.java


示例17: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
/**
 * Sets the supplied {@code ISearchPageContainer} as the container of the page. This allows the
 * page to enable or disable the Search button based on the input fields.
 * 
 * @param container
 *          the search container for the page
 */
void setContainer(ISearchPageContainer container);
 
开发者ID:UBPL,项目名称:jive,代码行数:9,代码来源:IJiveSearchPage.java


示例18: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
/**
 * Sets the search page's container.
 * 
 * @param container
 *            the container to set
 */
public void setContainer(ISearchPageContainer container) {
    fContainer = container;
}
 
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:10,代码来源:UrnSearchPage.java


示例19: setContainer

import org.eclipse.search.ui.ISearchPageContainer; //导入依赖的package包/类
/**
 * Sets the search page's container.
 *
 * @param container the container to set
 */
@Override
public void setContainer(ISearchPageContainer container) {
  fContainer = container;
}
 
开发者ID:GoClipse,项目名称:goclipse,代码行数:10,代码来源:GoSearchPage.java



注:本文中的org.eclipse.search.ui.ISearchPageContainer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java Statistics类代码示例发布时间:2022-05-22
下一篇:
Java VuforiaTrackable类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap