Skip to content

Commit

Permalink
[eclipse] Add "multiple capacity use" and "unused capacity" warnings …
Browse files Browse the repository at this point in the history
…in the preference page.

see #261

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Dec 9, 2014
1 parent 90b3251 commit 8aa7d3c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Expand Up @@ -50,4 +50,6 @@ private Messages() {
public static String SARLValidatorConfigurationBlock_7;
public static String SARLValidatorConfigurationBlock_8;
public static String SARLValidatorConfigurationBlock_9;
public static String SARLValidatorConfigurationBlock_10;
public static String SARLValidatorConfigurationBlock_11;
}
Expand Up @@ -94,6 +94,8 @@ protected void fillCodingStyleSection(ComboBoxBuilder builder) {
super.fillCodingStyleSection(builder);
builder.addComboBox(IssueCodes.REDUNDANT_INTERFACE_IMPLEMENTATION, Messages.SARLValidatorConfigurationBlock_0);
builder.addComboBox(IssueCodes.WRONG_PACKAGE, Messages.SARLValidatorConfigurationBlock_1);
builder.addComboBox(IssueCodes.REDUNDANT_CAPACITY_USE, Messages.SARLValidatorConfigurationBlock_10);
builder.addComboBox(IssueCodes.UNUSED_AGENT_CAPACITY, Messages.SARLValidatorConfigurationBlock_11);
}

@Override
Expand All @@ -110,5 +112,5 @@ protected void fillUnusedCodeSection(ComboBoxBuilder builder) {
builder.addComboBox(IssueCodes.DISCOURAGED_CAPACITY_DEFINITION, Messages.SARLValidatorConfigurationBlock_4);
builder.addComboBox(IssueCodes.UNREACHABLE_BEHAVIOR_UNIT, Messages.SARLValidatorConfigurationBlock_5);
}

}
Expand Up @@ -8,3 +8,5 @@ SARLValidatorConfigurationBlock_6=Errors only
SARLValidatorConfigurationBlock_7=All
SARLValidatorConfigurationBlock_8=None
SARLValidatorConfigurationBlock_9=Display Java Problems in SARL
SARLValidatorConfigurationBlock_10=Redundant capacity use:
SARLValidatorConfigurationBlock_11=Unused capacity:

0 comments on commit 8aa7d3c

Please sign in to comment.