public void setLeaves(Set leaves)
public void setLeaves(Set leaves, TreeImageSet parent)
    public void setLeaves(Set leaves)    {        if (model.getState() != LOADING_LEAVES)            throw new IllegalStateException(                    "This method can only be invoked in the LOADING_LEAVES "+                    "state.");        if (leaves == null) throw new NullPointerException("No leaves.");        long userID = model.getUserID();        long groupID = model.getRootGroupID();        Set visLeaves = TreeViewerTranslator.transformHierarchy(leaves, userID,                                                                 groupID);        view.setLeavesViews(visLeaves);        model.setState(READY);        model.getParentModel().setStatus(false, "", true);        fireStateChange();    }