public synchronized void createNewList( @NotNull String name, boolean readOnly, boolean allowsTree) { myName2FavoritesRoots.put(name, new ArrayList<TreeItem<Pair<AbstractUrl, String>>>()); if (readOnly) { myReadOnlyLists.add(name); } if (allowsTree) { myAllowsTreeLists.add(name); } fireListeners.listAdded(name); }