@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(org.uberfire.mvp.PlaceRequest place)
Adds all the ToolBar items associated with the given place to this
toolbar.
|
void |
addWorkbenchItem(org.uberfire.workbench.model.toolbar.ToolBar toolBar) |
void |
addWorkbenchPerspective(org.uberfire.workbench.model.toolbar.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(org.uberfire.mvp.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(org.uberfire.workbench.model.toolbar.ToolBar toolBar)
public void addWorkbenchPerspective(org.uberfire.workbench.model.toolbar.ToolBar toolBar)
public void clearWorkbenchItems()
public void clearWorkbenchPerspectiveItems()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.