Package | Description |
---|---|
org.dashbuilder.navigation | |
org.dashbuilder.navigation.impl | |
org.dashbuilder.navigation.json | |
org.dashbuilder.navigation.workbench |
Modifier and Type | Interface and Description |
---|---|
interface |
NavDivider
A
NavItem that represents a divider |
interface |
NavGroup
A
NavItem that contains a list of children. |
Modifier and Type | Method and Description |
---|---|
NavItem |
NavTree.addItem(String id,
String name,
String description,
String groupId,
boolean modifiable,
String context)
Creates and register a brand new
NavItem item. |
NavItem |
NavItem.cloneItem()
Creates a brand new copy of this item
|
NavItem |
NavFactory.createNavItem() |
NavItem |
NavTree.deleteItem(String id)
Delete an existing item including all its children.
|
NavItem |
NavTree.getItemById(String id)
Get an item given its id.
|
NavItem |
NavTree.moveItem(String id,
String newParentId)
Changes the location of an item in the tree
|
NavItem |
NavTree.setItemContext(String id,
String context)
Updates the perspective attached to an existing perspective link
|
NavItem |
NavTree.setItemDescription(String id,
String description)
Updates the description attribute of an existing item
|
NavItem |
NavTree.setItemModifiable(String id,
boolean modifiable)
Updates the modifiable flag attribute of an existing item
|
NavItem |
NavTree.setItemName(String id,
String name)
Updates the name attribute of an existing item
|
Modifier and Type | Method and Description |
---|---|
List<NavItem> |
NavGroup.getChildren()
Get the children items
|
List<NavItem> |
NavTree.getRootItems()
The list of items belonging to the first tree level
|
List<NavItem> |
NavTree.searchItems(NavItemContext ctx)
Get the items that match the given context
|
Modifier and Type | Method and Description |
---|---|
NavTree |
NavFactory.createNavTree(NavItem navItem) |
static NavItemContext |
NavItemContext.get(NavItem navItem) |
void |
NavItemVisitor.visitItem(NavItem item)
Visit the given
NavItem . |
Modifier and Type | Method and Description |
---|---|
void |
NavGroup.setChildren(List<NavItem> items)
Change the children list
|
Modifier and Type | Class and Description |
---|---|
class |
NavDividerImpl |
class |
NavGroupImpl |
class |
NavItemImpl |
Modifier and Type | Method and Description |
---|---|
NavItem |
NavTreeImpl.addItem(String id,
String name,
String description,
String parentId,
boolean modifiable,
String context) |
NavItem |
NavItemImpl.cloneItem() |
NavItem |
NavGroupImpl.cloneItem() |
NavItem |
NavDividerImpl.cloneItem() |
NavItem |
NavFactoryImpl.createNavItem() |
NavItem |
NavTreeImpl.deleteItem(String id) |
NavItem |
NavTreeImpl.getItemById(String id) |
NavItem |
NavTreeImpl.moveItem(String id,
String newParentId) |
NavItem |
NavTreeImpl.setItemContext(String id,
String context) |
NavItem |
NavTreeImpl.setItemDescription(String id,
String description) |
NavItem |
NavTreeImpl.setItemModifiable(String id,
boolean modifiable) |
NavItem |
NavTreeImpl.setItemName(String id,
String name) |
Modifier and Type | Method and Description |
---|---|
List<NavItem> |
NavGroupImpl.getChildren() |
List<NavItem> |
NavTreeImpl.getRootItems() |
List<NavItem> |
NavTreeImpl.searchItems(NavItemContext ctx) |
List<NavItem> |
NavTreeImpl.searchItems(NavItemContext ctx,
List<NavItem> navItemList) |
Modifier and Type | Method and Description |
---|---|
NavTree |
NavFactoryImpl.createNavTree(NavItem navItem) |
Modifier and Type | Method and Description |
---|---|
List<NavItem> |
NavTreeImpl.searchItems(NavItemContext ctx,
List<NavItem> navItemList) |
void |
NavGroupImpl.setChildren(List<NavItem> children) |
Modifier and Type | Method and Description |
---|---|
org.dashbuilder.json.JsonObject |
NavTreeJSONMarshaller.toJson(NavItem navItem) |
Modifier and Type | Method and Description |
---|---|
org.dashbuilder.json.JsonArray |
NavTreeJSONMarshaller.toJson(List<NavItem> navItemList) |
Modifier and Type | Method and Description |
---|---|
boolean |
NavSecurityController.canRead(NavItem navItem) |
static NavWorkbenchCtx |
NavWorkbenchCtx.get(NavItem navItem) |
Modifier and Type | Method and Description |
---|---|
void |
NavSecurityController.secure(List<NavItem> itemList,
boolean removeEmptyGroups) |
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.