public class ModuleNode extends ExternalSystemNode<ModuleData>
PresentableNodeDescriptor.ColoredFragment
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
ComparableObject.Impl
BUILTIN_DEPENDENCIES_DATA_NODE_ORDER, BUILTIN_MODULE_DATA_NODE_ORDER, BUILTIN_RUN_CONFIGURATIONS_DATA_NODE_ORDER, BUILTIN_TASKS_DATA_NODE_ORDER, myDataNode, NO_CHILDREN, ORDER_AWARE_COMPARATOR
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
NONE
Constructor and Description |
---|
ModuleNode(ExternalProjectsView externalProjectsView,
DataNode<ModuleData> dataNode,
ExternalSystemNode parent,
boolean isRoot) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ExternalSystemNode node) |
protected java.util.List<ExternalSystemNode<?>> |
doBuildChildren() |
java.lang.String |
getIdeGrouping() |
java.lang.String |
getIdeParentGrouping() |
protected java.lang.String |
getMenuId() |
java.lang.String |
getName() |
boolean |
isRoot() |
void |
mergeWith(ExternalSystemNode<ModuleData> node) |
void |
setAllModules(java.util.Collection<ModuleNode> allModules) |
protected void |
update(PresentationData presentation) |
void |
updateRunConfigurations() |
add, addAll, childrenChanged, cleanUpCache, doUpdate, findParent, findParentData, getActionId, getCached, getChildren, getChildrenErrorLevel, getData, getDisplayKind, getExternalProjectsView, getNavigatable, getParentDescriptor, getShortcutsManager, getStructure, getTaskActivator, getTotalErrorLevel, getUiAware, getVirtualFile, handleDoubleClickOrEnter, hasChildren, isAutoExpandNode, isIgnored, isVisible, message, onChildrenBuilt, remove, removeAll, setDataNode, setErrorLevel, setIgnored, setNameAndTooltip, setNameAndTooltip, setNameAndTooltip, setParent, sort
accept, addColoredFragment, addColoredFragment, addColoredFragment, addErrorText, addPlainText, clearColoredText, equals, getChildAt, getChildCount, getChildToHighlightAt, getColoredText, getElement, getEqualityObjects, getErrorAttributes, getIndex, getLeafState, getParent, getPlainAttributes, getWeight, handleSelection, hashCode, isAlwaysLeaf, isAlwaysShowPlus, setNodeText, setPlainText, setUniformIcon, shouldHaveSeparator, toString, updateElement, updateFileStatus
apply, apply, applyFrom, createPresentation, getHighlightColor, getPresentation, getTemplatePresentation, isAncestorOrSelf, isContentHighlighted, isHighlightableContentNode, isParentOf, postprocess, shouldApply, shouldPostprocess, shouldUpdateData, update
expandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getProject, getUpdateCount, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf
public ModuleNode(ExternalProjectsView externalProjectsView, DataNode<ModuleData> dataNode, ExternalSystemNode parent, boolean isRoot)
public void setAllModules(java.util.Collection<ModuleNode> allModules)
public boolean isRoot()
protected void update(PresentationData presentation)
update
in class SimpleNode
protected java.util.List<ExternalSystemNode<?>> doBuildChildren()
doBuildChildren
in class ExternalSystemNode<ModuleData>
protected java.lang.String getMenuId()
getMenuId
in class ExternalSystemNode<ModuleData>
public int compareTo(ExternalSystemNode node)
compareTo
in interface java.lang.Comparable<ExternalSystemNode<ModuleData>>
compareTo
in class ExternalSystemNode<ModuleData>
public void updateRunConfigurations()
public java.lang.String getName()
getName
in class ExternalSystemNode<ModuleData>
public java.lang.String getIdeGrouping()
public java.lang.String getIdeParentGrouping()
public void mergeWith(ExternalSystemNode<ModuleData> node)
mergeWith
in class ExternalSystemNode<ModuleData>