Skip to content

Commit

Permalink
Set defult pattern for parasoft findings reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacek Marzec committed May 10, 2019
1 parent ba3fb81 commit ebf62c4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
Expand Up @@ -40,4 +40,8 @@ private Messages() { }

public static String RULE_DOCUMENTATION_UNAVAILABLE;

public static String PARASOFT_TOOL_DISPLAY_NAME;

public static String PARASOFT_NAME;

}
Expand Up @@ -138,7 +138,7 @@ public Descriptor()
@Override
public String getDisplayName()
{
return "Parasoft Findings"; //$NON-NLS-1$
return Messages.PARASOFT_TOOL_DISPLAY_NAME;
}

@Override
Expand All @@ -152,6 +152,16 @@ public StaticAnalysisLabelProvider getLabelProvider()
{
return new LabelProvider();
}

@Override
public String getPattern() {
return "**/report.xml"; //$NON-NLS-1$
}

@Override
public String getUrl() {
return "https://www.parasoft.com/"; //$NON-NLS-1$
}
}

private static class LabelProvider
Expand All @@ -162,7 +172,7 @@ private static class LabelProvider

LabelProvider()
{
super(PLUGIN_ID, "Parasoft"); //$NON-NLS-1$
super(PLUGIN_ID, Messages.PARASOFT_NAME);
}

@Override
Expand Down
@@ -1,3 +1,5 @@
AUTHOR_COLUMN_HEADER=Author
REVISION_COLUMN_HEADER=Revision
RULE_DOCUMENTATION_UNAVAILABLE={0} rule documentation is not available
PARASOFT_TOOL_DISPLAY_NAME=Parasoft Findings
PARASOFT_NAME=Parasoft

0 comments on commit ebf62c4

Please sign in to comment.