@Override public EntitiesList.View clear() { entitiesList.clear(); emptyEntitiesRow.setVisible(true); return this; }
@Override public EntitiesList.View clear() { entitiesList.clear(); emptyEntitiesRow.setVisible(true); return this; }
@Override public void clear() { remoteServersListGroup.clear(); containersListGroup.clear(); serverInstanceItems.clear(); containerItems.clear(); selected = null; templateId = null; serverTemplate.setInnerText(""); processEnabled.setValue(false); ruleEnabled.setValue(false); planningEnabled.setValue(false); }
public void addNewPlugin(final BasePluginEvent newPlugin) { //Sort Widgets by Plugin Name. A TreeMap supports sorting on insertion by natural ordering of its keys final Map<String, Widget> sortedNavList = new TreeMap<String, Widget>(PLUGIN_NAME_COMPARATOR); final LinkedGroup navList = listGroups.get(newPlugin.getPlugin().getType()); for (int i = 0; i < navList.getWidgetCount(); i++) { final Widget w = navList.getWidget(i); for (Map.Entry<String, Widget> e : pluginRef.entrySet()) { if (e.getValue().equals(w)) { sortedNavList.put(e.getKey(), e.getValue()); } } } Widget itemNavLink = makeItemNavLink(newPlugin.getPlugin()); if (itemNavLink != null) { sortedNavList.put(newPlugin.getPlugin().getName(), itemNavLink); } navList.clear(); for (Widget w : sortedNavList.values()) { navList.add(w); } }
public void addNewPlugin(final BasePluginEvent newPlugin) { //Sort Widgets by Plugin Name. A TreeMap supports sorting on insertion by natural ordering of its keys final Map<String, Widget> sortedNavList = new TreeMap<String, Widget>(PLUGIN_NAME_COMPARATOR); final LinkedGroup navList = listGroups.get(newPlugin.getPlugin().getType()); for (int i = 0; i < navList.getWidgetCount(); i++) { final Widget w = navList.getWidget(i); for (Map.Entry<String, Widget> e : pluginRef.entrySet()) { if (e.getValue().equals(w)) { sortedNavList.put(e.getKey(), e.getValue()); } } } Widget itemNavLink = makeItemNavLink(newPlugin.getPlugin()); if (itemNavLink != null) { sortedNavList.put(newPlugin.getPlugin().getName(), itemNavLink); } navList.clear(); for (Widget w : sortedNavList.values()) { navList.add(w); } }