Java 类com.intellij.uiDesigner.ErrorAnalyzer 实例源码

项目:consulo-ui-designer    文件:ComponentTree.java   
@Override
@Nullable
public String getToolTipText(final MouseEvent e)
{
    final TreePath path = getPathForLocation(e.getX(), e.getY());
    final RadComponent component = getComponentFromPath(path);
    if(component != null)
    {
        final ErrorInfo errorInfo = ErrorAnalyzer.getErrorForComponent(component);
        if(errorInfo != null)
        {
            return errorInfo.myDescription;
        }
    }
    return null;
}
项目:intellij-ce-playground    文件:QuickFixManagerImpl.java   
@NotNull protected ErrorInfo[] getErrorInfos() {
  final ArrayList<RadComponent> list = FormEditingUtil.getSelectedComponents(getEditor());
  if (list.size() != 1) {
    return ErrorInfo.EMPTY_ARRAY;
  }
  return ErrorAnalyzer.getAllErrorsForComponent(list.get(0));
}
项目:intellij-ce-playground    文件:QuickFixManagerImpl.java   
@NotNull
protected ErrorInfo[] getErrorInfos() {
  final RadComponent component = myComponent.getSelectedComponent();
  if(component == null){
    return ErrorInfo.EMPTY_ARRAY;
  }
  return ErrorAnalyzer.getAllErrorsForComponent(component);
}
项目:tools-idea    文件:QuickFixManagerImpl.java   
@NotNull protected ErrorInfo[] getErrorInfos() {
  final ArrayList<RadComponent> list = FormEditingUtil.getSelectedComponents(getEditor());
  if (list.size() != 1) {
    return ErrorInfo.EMPTY_ARRAY;
  }
  return ErrorAnalyzer.getAllErrorsForComponent(list.get(0));
}
项目:tools-idea    文件:QuickFixManagerImpl.java   
@NotNull
protected ErrorInfo[] getErrorInfos() {
  final RadComponent component = myComponent.getSelectedComponent();
  if(component == null){
    return ErrorInfo.EMPTY_ARRAY;
  }
  return ErrorAnalyzer.getAllErrorsForComponent(component);
}
项目:consulo-ui-designer    文件:QuickFixManagerImpl.java   
@Override
@NotNull
protected ErrorInfo[] getErrorInfos()
{
    final ArrayList<RadComponent> list = FormEditingUtil.getSelectedComponents(getEditor());
    if(list.size() != 1)
    {
        return ErrorInfo.EMPTY_ARRAY;
    }
    return ErrorAnalyzer.getAllErrorsForComponent(list.get(0));
}
项目:consulo-ui-designer    文件:QuickFixManagerImpl.java   
@NotNull
protected ErrorInfo[] getErrorInfos() {
  final RadComponent component = myComponent.getSelectedComponent();
  if(component == null){
    return ErrorInfo.EMPTY_ARRAY;
  }
  return ErrorAnalyzer.getAllErrorsForComponent(component);
}