This commit is contained in:
Gerald Boersma 2019-03-30 10:41:28 +00:00 committed by GitHub
commit 748dba892b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -108,8 +108,17 @@ public class ContextView implements OptionProvider {
if (opt.matchesHideExpression(cd.qualifiedName())
|| !(matcher.matches(cd) || opt.matchesIncludeExpression(cd.qualifiedName())))
opt.setOption(HIDE_OPTIONS);
if (cd.equals(this.cd))
if (cd.equals(this.cd)) {
opt.nodeFillColor = "lemonChiffon";
} else {
// If the class is not the class on the Javadoc page, hide all the detail.
// In order for attributes and operations to be properly hidden,
// all of these need to be set to false.
opt.showAttributes = false;
opt.showOperations = false;
opt.showConstructors = false;
opt.showEnumConstants = false;
}
}
public void overrideForClass(Options opt, String className) {