public final class CompoundProjectViewNodeDecorator extends java.lang.Object implements ProjectViewNodeDecorator
EP_NAME
Constructor and Description |
---|
CompoundProjectViewNodeDecorator(ProjectViewNodeDecorator... decorators) |
Modifier and Type | Method and Description |
---|---|
void |
decorate(PackageDependenciesNode node,
ColoredTreeCellRenderer cellRenderer)
Modifies the presentation of a package dependencies view node.
|
void |
decorate(ProjectViewNode node,
PresentationData data)
Modifies the presentation of a project view node.
|
static ProjectViewNodeDecorator |
get(Project project) |
public CompoundProjectViewNodeDecorator(ProjectViewNodeDecorator... decorators)
public static ProjectViewNodeDecorator get(Project project)
public void decorate(ProjectViewNode node, PresentationData data)
ProjectViewNodeDecorator
decorate
in interface ProjectViewNodeDecorator
node
- the node to modify (use AbstractTreeNode.getValue()
to get the object represented by the node).data
- the current presentation of the node, which you can modify as necessary.public void decorate(PackageDependenciesNode node, ColoredTreeCellRenderer cellRenderer)
ProjectViewNodeDecorator
decorate
in interface ProjectViewNodeDecorator
node
- the node to modify.cellRenderer
- the current renderer for the node, which you can modify as necessary.