145 modeMap.values().stream() |
145 modeMap.values().stream() |
146 .forEach(m -> m.readOnly = true); |
146 .forEach(m -> m.readOnly = true); |
147 } |
147 } |
148 |
148 |
149 { |
149 { |
150 for (FormatCase e : EnumSet.allOf(FormatCase.class)) |
150 for (FormatCase e : FormatCase.all) |
151 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
151 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
152 for (FormatAction e : EnumSet.allOf(FormatAction.class)) |
152 for (FormatAction e : FormatAction.all) |
153 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
153 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
154 for (FormatResolve e : EnumSet.allOf(FormatResolve.class)) |
154 for (FormatResolve e : FormatResolve.all) |
155 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
155 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
156 for (FormatUnresolved e : EnumSet.allOf(FormatUnresolved.class)) |
156 for (FormatUnresolved e : FormatUnresolved.all) |
157 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
157 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
158 for (FormatErrors e : EnumSet.allOf(FormatErrors.class)) |
158 for (FormatErrors e : FormatErrors.all) |
159 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
159 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
160 for (FormatWhen e : EnumSet.allOf(FormatWhen.class)) |
160 for (FormatWhen e : FormatWhen.all) |
161 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
161 selectorMap.put(e.name().toLowerCase(Locale.US), e); |
162 } |
162 } |
163 |
163 |
164 /** |
164 /** |
165 * Holds all the context of a mode mode |
165 * Holds all the context of a mode mode |