Package com.nomagic.magicdraw.ui
Interface NodeIconAdornment
-
@OpenApiAll public interface NodeIconAdornment
An adornment of the browser tree node icon. If we adorn tree node elements, we need node, as tree now can show multiple nodes of same elements. For example in Smart package.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.Icon
adorn(Node node, javax.swing.Icon icon, BaseElement element)
Adorn the given icon for tree node
-
-
-
Method Detail
-
adorn
@CheckForNull javax.swing.Icon adorn(Node node, javax.swing.Icon icon, BaseElement element)
Adorn the given icon for tree node- Parameters:
node
- tree node of elementicon
- icon to adorn.element
- element represented by the node.- Returns:
- adorned icon.
-
-