コード例 #1
0
 private void addThemeProviders(final Map<String, ITheme> themes) {
   for (final ThemeProvider provider : THEME_PROVIDERS) {
     for (final ITheme theme : provider.available()) {
       themes.put(theme.name(), theme);
     }
   }
 }
コード例 #2
0
 private void addThemes(final Map<String, ITheme> themes) {
   for (final ITheme theme : THEMES) {
     themes.put(theme.name(), theme);
   }
 }