Last change
on this file since 1036 was
1034,
checked in by adeicke, 12 years ago
|
Renamed getRulesetForUsabilityEvaluation method to evaluationRules
|
-
Property svn:mime-type set to
text/plain
|
File size:
1.3 KB
|
Line | |
---|
1 | package de.ugoe.cs.autoquest.usability.evaluation.rule.set;
|
---|
2 |
|
---|
3 | import java.util.EnumSet;
|
---|
4 |
|
---|
5 | import com.google.common.base.Optional;
|
---|
6 |
|
---|
7 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTree;
|
---|
8 | import de.ugoe.cs.autoquest.usability.evaluation.result.UsabilityDefect;
|
---|
9 |
|
---|
10 | public class MouseInteractionUsabilityRuleset implements UsabilityRuleset {
|
---|
11 |
|
---|
12 | private enum MouseInteractionUsabilityRule implements UsabilityRule {
|
---|
13 |
|
---|
14 | MOUSE_INTERACTION {
|
---|
15 |
|
---|
16 | @Override
|
---|
17 | public Optional<UsabilityDefect> evaluate(ITaskTree taskTree) {
|
---|
18 | // TODO Auto-generated method stub
|
---|
19 | System.out.println("TODO: implement MouseInteractionUsabilityRule.evaluate ");
|
---|
20 | return null;
|
---|
21 | }
|
---|
22 |
|
---|
23 | @Override
|
---|
24 | public String ruleIdentifier() {
|
---|
25 | return this.name();
|
---|
26 | }
|
---|
27 |
|
---|
28 | };
|
---|
29 |
|
---|
30 | public abstract Optional<UsabilityDefect> evaluate(ITaskTree taskTree);
|
---|
31 | }
|
---|
32 |
|
---|
33 | private final EnumSet<MouseInteractionUsabilityRule> MOUSE_INTERACTION_USABILITY_RULESET = EnumSet
|
---|
34 | .allOf(MouseInteractionUsabilityRule.class);
|
---|
35 |
|
---|
36 | @Override
|
---|
37 | public EnumSet<? extends UsabilityRule> evaluationRules() {
|
---|
38 | return MOUSE_INTERACTION_USABILITY_RULESET;
|
---|
39 | }
|
---|
40 |
|
---|
41 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.