本文整理汇总了Java中com.intellij.uiDesigner.ErrorAnalyzer类的典型用法代码示例。如果您正苦于以下问题:Java ErrorAnalyzer类的具体用法?Java ErrorAnalyzer怎么用?Java ErrorAnalyzer使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ErrorAnalyzer类属于com.intellij.uiDesigner包,在下文中一共展示了ErrorAnalyzer类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getToolTipText
import com.intellij.uiDesigner.ErrorAnalyzer; //导入依赖的package包/类
@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;
}
示例2: getErrorInfos
import com.intellij.uiDesigner.ErrorAnalyzer; //导入依赖的package包/类
@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));
}
示例3: getErrorInfos
import com.intellij.uiDesigner.ErrorAnalyzer; //导入依赖的package包/类
@NotNull
protected ErrorInfo[] getErrorInfos() {
final RadComponent component = myComponent.getSelectedComponent();
if(component == null){
return ErrorInfo.EMPTY_ARRAY;
}
return ErrorAnalyzer.getAllErrorsForComponent(component);
}
示例4: getErrorInfos
import com.intellij.uiDesigner.ErrorAnalyzer; //导入依赖的package包/类
@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));
}