public class ProjectListBuilder extends AbstractListBuilder
AbstractListBuilder.Model
myList, myModel, myParentTitle, myProject, myTreeStructure
Constructor and Description |
---|
ProjectListBuilder(Project project,
CommanderPanel panel,
AbstractTreeStructure treeStructure,
java.util.Comparator comparator,
boolean showRoot) |
Modifier and Type | Method and Description |
---|---|
void |
addUpdateRequest() |
void |
addUpdateRequest(boolean shouldRefreshSelection) |
void |
dispose() |
protected java.util.List<AbstractTreeNode<?>> |
getAllAcceptableNodes(java.lang.Object[] childElements,
VirtualFile file) |
protected boolean |
nodeIsAcceptableForElement(AbstractTreeNode node,
java.lang.Object element) |
protected void |
refreshSelection() |
protected boolean |
shouldEnterSingleTopLevelElement(java.lang.Object rootChild) |
void |
updateList(boolean shouldRefreshSelection) |
protected void |
updateParentTitle() |
buildRoot, drillDown, ensureSelectionExist, enterElement, enterElement, getParentNode, getSelectedValue, goUp, selectElement, selectItem, setParentTitle, shouldAddTopElement, updateList
public ProjectListBuilder(Project project, CommanderPanel panel, AbstractTreeStructure treeStructure, java.util.Comparator comparator, boolean showRoot)
protected void updateParentTitle()
updateParentTitle
in class AbstractListBuilder
protected boolean shouldEnterSingleTopLevelElement(java.lang.Object rootChild)
shouldEnterSingleTopLevelElement
in class AbstractListBuilder
protected boolean nodeIsAcceptableForElement(AbstractTreeNode node, java.lang.Object element)
nodeIsAcceptableForElement
in class AbstractListBuilder
protected java.util.List<AbstractTreeNode<?>> getAllAcceptableNodes(java.lang.Object[] childElements, VirtualFile file)
getAllAcceptableNodes
in class AbstractListBuilder
public void dispose()
dispose
in class AbstractListBuilder
public void addUpdateRequest()
public void addUpdateRequest(boolean shouldRefreshSelection)
public void updateList(boolean shouldRefreshSelection)
protected void refreshSelection()