public class PublicationTreeModel
extends AbstractTreeModel
| Modifier and Type | Field and Description |
|---|---|
static boolean |
SHOW_ACTIVE_PUBLICATION_BY_DEFAULT
Default value for showing (in)active publications in publication tree
|
| Constructor and Description |
|---|
PublicationTreeModel(PublicationSelectorSectionRenderer sectionRenderer,
boolean onlyActive) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getChild(Object parent,
int index) |
int |
getChildCount(Object parent) |
boolean |
isEmpty() |
boolean |
isLeaf(Object node) |
public static final boolean SHOW_ACTIVE_PUBLICATION_BY_DEFAULT
public PublicationTreeModel(PublicationSelectorSectionRenderer sectionRenderer, boolean onlyActive)
onlyActive - set to true if only active publications should be returned, set to false if all publication should be
returnedCopyright © 2017 SAP SE. All Rights Reserved.