public class WorkbenchControllerHelper extends Object
WorkbenchController
functionality.
Example usage:
import static org.uberfire.client.authz.WorkbenchControllerHelper.*;
Button deleteButton;
PerspectiveActivity perspective1;
perspective(perspective1).delete()
.denied(() -> deleteButton.setVisible(false))
Constructor and Description |
---|
WorkbenchControllerHelper() |
Modifier and Type | Method and Description |
---|---|
static ActivityCheck |
editor(WorkbenchEditorActivity editor)
|
static ActivityCheck |
editors()
|
static PerspectiveCheck |
perspective(PerspectiveActivity perspective)
|
static PerspectiveCheck |
perspectives()
|
static ActivityCheck |
popupScreen(PopupActivity popup)
|
static ActivityCheck |
popupScreens()
|
static ActivityCheck |
screen(WorkbenchScreenActivity screen)
|
static ActivityCheck |
screens()
|
static ActivityCheck |
splashScreen(SplashScreenActivity splash)
|
static ActivityCheck |
splashScreens()
|
public static PerspectiveCheck perspectives()
public static PerspectiveCheck perspective(PerspectiveActivity perspective)
public static ActivityCheck screens()
public static ActivityCheck popupScreens()
public static ActivityCheck splashScreens()
public static ActivityCheck editors()
public static ActivityCheck screen(WorkbenchScreenActivity screen)
public static ActivityCheck popupScreen(PopupActivity popup)
public static ActivityCheck editor(WorkbenchEditorActivity editor)
public static ActivityCheck splashScreen(SplashScreenActivity splash)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.