public class LibraryElementPresentation extends PackagingElementPresentation
Constructor and Description |
---|
LibraryElementPresentation(java.lang.String libraryName,
java.lang.String level,
java.lang.String moduleName,
Library library,
ArtifactEditorContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
canNavigateToSource() |
static java.lang.String |
getLibraryTableComment(Library library) |
static java.lang.String |
getLibraryTableDisplayName(Library library) |
java.lang.String |
getPresentableName() |
int |
getWeight() |
void |
navigateToSource() |
void |
render(PresentationData presentationData,
SimpleTextAttributes mainAttributes,
SimpleTextAttributes commentAttributes) |
getSearchName, getTooltipText
public LibraryElementPresentation(java.lang.String libraryName, java.lang.String level, java.lang.String moduleName, Library library, ArtifactEditorContext context)
public java.lang.String getPresentableName()
getPresentableName
in class TreeNodePresentation
public boolean canNavigateToSource()
canNavigateToSource
in class TreeNodePresentation
public void navigateToSource()
navigateToSource
in class TreeNodePresentation
public void render(PresentationData presentationData, SimpleTextAttributes mainAttributes, SimpleTextAttributes commentAttributes)
render
in class TreeNodePresentation
public int getWeight()
getWeight
in class TreeNodePresentation
public static java.lang.String getLibraryTableDisplayName(Library library)
public static java.lang.String getLibraryTableComment(Library library)