Interface IDirectPartialModelNode
- All Superinterfaces:
IComparedElement,IPartialModelNode
- All Known Implementing Classes:
AbstractDirectPartialModelNode,BslModuleSectionPartialModelNode,ExternalPropertyPartialModelNode,ProjectPartialModelNode
A partial model node that directly corresponds to a comparison model node.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this node can have children.voidsetExpandable(boolean value) Sets the node as expandable (i.e. that it can have children).voidsetGrayed(boolean grayed) Sets the node as grayed.voidsetImageProvider(IImageProvider imageProvider) Sets the image provider.Methods inherited from interface com._1c.g5.v8.dt.compare.model.IComparedElement
hasChanged, hasDifferences, hasDoubleChanges, hasOnlyOnOneSide, hasOrderChanged, hasPotentialMergeProblems, hasUnchangedMethods inherited from interface com._1c.g5.v8.dt.compare.ui.partialmodel.node.IPartialModelNode
addChild, canExpand, check, getChildren, getComparisonSession, getCustomMergeSettingsStatus, getImage, getLabel, getNodeId, getParent, getSide, getSideLabel, getSortedChildren, getStatus, getTooltipText, hasChildren, isCheckable, isChecked, isGrayed, prioritize, retrieveComparisonNode, setChecked, setCustomMergeSettingsStatus, setParent, setStatus
-
Method Details
-
canHaveChildren
boolean canHaveChildren()Checks if this node can have children.- Returns:
trueif the node can have children
-
setExpandable
void setExpandable(boolean value) Sets the node as expandable (i.e. that it can have children).- Parameters:
value- the value to set
-
setImageProvider
Sets the image provider.- Parameters:
imageProvider- the image provider, may benull
-
setGrayed
void setGrayed(boolean grayed) Sets the node as grayed.- Parameters:
grayed-
-