Package org.uberfire.client.authz
Class WorkbenchControllerHelper
- java.lang.Object
-
- org.uberfire.client.authz.WorkbenchControllerHelper
-
public class WorkbenchControllerHelper extends Object
A helper class providing static methods on top of theWorkbenchControllerfunctionality.Example usage:
import static org.uberfire.client.authz.WorkbenchControllerHelper.*; Button deleteButton; PerspectiveActivity perspective1; perspective(perspective1).delete() .denied(() -> deleteButton.setVisible(false))
-
-
Constructor Summary
Constructors Constructor Description WorkbenchControllerHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActivityCheckeditor(WorkbenchEditorActivity editor)static ActivityCheckeditors()static PerspectiveCheckperspective(PerspectiveActivity perspective)static PerspectiveCheckperspectives()static ActivityCheckpopupScreen(PopupActivity popup)static ActivityCheckpopupScreens()static ActivityCheckscreen(WorkbenchScreenActivity screen)static ActivityCheckscreens()static ActivityChecksplashScreen(SplashScreenActivity splash)static ActivityChecksplashScreens()
-
-
-
Method Detail
-
perspectives
public static PerspectiveCheck perspectives()
-
perspective
public static PerspectiveCheck perspective(PerspectiveActivity perspective)
-
screens
public static ActivityCheck screens()
-
popupScreens
public static ActivityCheck popupScreens()
-
splashScreens
public static ActivityCheck splashScreens()
-
editors
public static ActivityCheck editors()
-
screen
public static ActivityCheck screen(WorkbenchScreenActivity screen)
-
popupScreen
public static ActivityCheck popupScreen(PopupActivity popup)
-
editor
public static ActivityCheck editor(WorkbenchEditorActivity editor)
-
splashScreen
public static ActivityCheck splashScreen(SplashScreenActivity splash)
-
-