Last change
on this file since 1290 was
1217,
checked in by adeicke, 11 years ago
|
- Added proper formating and JavaDoc?.
- Several renaming refactorings.
|
-
Property svn:mime-type set to
text/plain
|
File size:
1.2 KB
|
Line | |
---|
1 |
|
---|
2 | package de.ugoe.cs.autoquest.usability.rules;
|
---|
3 |
|
---|
4 | import java.util.List;
|
---|
5 |
|
---|
6 | import com.google.common.collect.Lists;
|
---|
7 |
|
---|
8 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;
|
---|
9 | import de.ugoe.cs.autoquest.usability.rules.patterns.LongFormUsageProblem;
|
---|
10 |
|
---|
11 | /**
|
---|
12 | *
|
---|
13 | * <p>
|
---|
14 | * A ruleset containing interaction patterns, which might be indicators for potential usability
|
---|
15 | * problems.
|
---|
16 | * </p>
|
---|
17 | *
|
---|
18 | * @author Alexander Deicke
|
---|
19 | */
|
---|
20 | public class PatternRuleset implements UsabilityRuleset {
|
---|
21 |
|
---|
22 | /**
|
---|
23 | *
|
---|
24 | */
|
---|
25 | private final ITaskModel taskModel;
|
---|
26 |
|
---|
27 | /**
|
---|
28 | *
|
---|
29 | * <p>
|
---|
30 | * Constructor. Creates new {@code PatternRuleset} for a given task model.
|
---|
31 | * </p>
|
---|
32 | *
|
---|
33 | * @param taskModel
|
---|
34 | */
|
---|
35 | public PatternRuleset(ITaskModel taskModel) {
|
---|
36 | this.taskModel = taskModel;
|
---|
37 | }
|
---|
38 |
|
---|
39 | /*
|
---|
40 | * (non-Javadoc)
|
---|
41 | *
|
---|
42 | * @see de.ugoe.cs.autoquest.usability.rules.UsabilityRuleset#evaluationRules()
|
---|
43 | */
|
---|
44 | @Override
|
---|
45 | public List<UsabilityRule> evaluationRules() {
|
---|
46 | List<UsabilityRule> rules = Lists.newArrayList();
|
---|
47 | rules.add(new LongFormUsageProblem(this.taskModel));
|
---|
48 | return rules;
|
---|
49 | }
|
---|
50 |
|
---|
51 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.