1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/MethodTypes.java Thu May 14 20:12:16 2015 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/MethodTypes.java Tue May 12 12:02:48 2015 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -31,22 +31,22 @@ 1.11 * @author Bhavesh Patel 1.12 */ 1.13 public enum MethodTypes { 1.14 - ALL(0xffff, "All Methods", "t0", true), 1.15 - STATIC(0x1, "Static Methods", "t1", false), 1.16 - INSTANCE(0x2, "Instance Methods", "t2", false), 1.17 - ABSTRACT(0x4, "Abstract Methods", "t3", false), 1.18 - CONCRETE(0x8, "Concrete Methods", "t4", false), 1.19 - DEFAULT(0x10, "Default Methods", "t5", false), 1.20 - DEPRECATED(0x20, "Deprecated Methods", "t6", false); 1.21 + ALL(0xffff, "doclet.All_Methods", "t0", true), 1.22 + STATIC(0x1, "doclet.Static_Methods", "t1", false), 1.23 + INSTANCE(0x2, "doclet.Instance_Methods", "t2", false), 1.24 + ABSTRACT(0x4, "doclet.Abstract_Methods", "t3", false), 1.25 + CONCRETE(0x8, "doclet.Concrete_Methods", "t4", false), 1.26 + DEFAULT(0x10, "doclet.Default_Methods", "t5", false), 1.27 + DEPRECATED(0x20, "doclet.Deprecated_Methods", "t6", false); 1.28 1.29 private final int value; 1.30 - private final String text; 1.31 + private final String resourceKey; 1.32 private final String tabId; 1.33 private final boolean isDefaultTab; 1.34 1.35 - MethodTypes(int v, String t, String id, boolean dt) { 1.36 + MethodTypes(int v, String k, String id, boolean dt) { 1.37 this.value = v; 1.38 - this.text = t; 1.39 + this.resourceKey = k; 1.40 this.tabId = id; 1.41 this.isDefaultTab = dt; 1.42 } 1.43 @@ -55,8 +55,8 @@ 1.44 return value; 1.45 } 1.46 1.47 - public String text() { 1.48 - return text; 1.49 + public String resourceKey() { 1.50 + return resourceKey; 1.51 } 1.52 1.53 public String tabId() {