Java 类com.intellij.lang.HelpID 实例源码

项目:intellij-ce-playground    文件:CommonFindUsagesDialog.java   
public CommonFindUsagesDialog(@NotNull PsiElement element,
                              @NotNull Project project,
                              @NotNull FindUsagesOptions findUsagesOptions,
                              boolean toShowInNewTab,
                              boolean mustOpenInNewTab,
                              boolean isSingleFile,
                              @NotNull FindUsagesHandler handler) {
  super(project, findUsagesOptions, toShowInNewTab, mustOpenInNewTab, isSingleFile, isTextSearch(element, isSingleFile, handler),
        !isSingleFile && !element.getManager().isInProject(element));
  myPsiElement = element;
  myHelpId = ObjectUtils.chooseNotNull(handler.getHelpId(), HelpID.FIND_OTHER_USAGES);
  init();
}
项目:intellij    文件:BuildFindUsagesProvider.java   
@Override
public String getHelpId(PsiElement psiElement) {
  if (psiElement instanceof FunctionStatement) {
    return "reference.dialogs.findUsages.method";
  }
  if (psiElement instanceof TargetExpression
      || psiElement instanceof Parameter
      || psiElement instanceof ReferenceExpression) {
    return "reference.dialogs.findUsages.variable";
  }
  // typically build rules and imported Skylark functions, but also all other function calls
  return HelpID.FIND_OTHER_USAGES;
}
项目:reasonml-idea-plugin    文件:RmlFindUsagesProvider.java   
@Nullable
@Override
public String getHelpId(@NotNull PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
项目:manifold-ij    文件:TextFindUsagesProvider.java   
@Nullable
@Override
public String getHelpId( @NotNull PsiElement psiElement )
{
  return HelpID.FIND_OTHER_USAGES;
}
项目:sutr-io    文件:SutrFindUsagesProvider.java   
@Nullable
@Override
public String getHelpId(@NotNull final PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
项目:intellij-swagger    文件:YamlFindUsagesProvider.java   
@Nullable
@Override
public String getHelpId(@NotNull PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
项目:intellij-ce-playground    文件:JsonFindUsagesProvider.java   
@Nullable
@Override
public String getHelpId(@NotNull PsiElement psiElement) {
  return HelpID.FIND_OTHER_USAGES;
}
项目:IntelliJ_Jahia_plugin    文件:CndFindUsagesProvider.java   
@Nullable
@Override
public String getHelpId(@NotNull PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
项目:CMaker    文件:CMakeFindUsagesProvider.java   
@Nullable
@Override
public String getHelpId(PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
项目:Intellij-Plugin    文件:ConceptStepFindUsagesProvider.java   
@Nullable
@Override
public String getHelpId(PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
项目:Intellij-Plugin    文件:SpecStepFindUsagesProvider.java   
@Nullable
@Override
public String getHelpId(PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}
项目:intellij-xquery    文件:XQueryFindUsageProvider.java   
@Nullable
@Override
public String getHelpId(@NotNull PsiElement psiElement) {
    return HelpID.FIND_OTHER_USAGES;
}