@ApplicationScoped public class WorkbenchToolBarPresenter extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkbenchToolBarPresenter.View
View contract for an UberFire toolbar view.
|
| Constructor and Description |
|---|
WorkbenchToolBarPresenter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addItemsFor(PlaceRequest place)
Adds all the ToolBar items associated with the given place to this
toolbar.
|
void |
addWorkbenchItem(ToolBar toolBar) |
void |
addWorkbenchPerspective(ToolBar toolBar) |
void |
clearWorkbenchItems() |
void |
clearWorkbenchPerspectiveItems() |
int |
getHeight() |
com.google.gwt.user.client.ui.IsWidget |
getView() |
void |
hide() |
void |
show() |
public com.google.gwt.user.client.ui.IsWidget getView()
public int getHeight()
public void hide()
public void show()
public void addItemsFor(PlaceRequest place)
removeItemsFor(PlaceRequest).
The toolbar items are filtered for the current user subject to their security requirements.
This method becomes a no-op when any of the following is true:
Activity
WorkbenchActivity
ToolBar
public void addWorkbenchItem(ToolBar toolBar)
public void addWorkbenchPerspective(ToolBar toolBar)
public void clearWorkbenchItems()
public void clearWorkbenchPerspectiveItems()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.