public interface WorkbenchController
Example usage:
Button deleteButton;
WorkbenchController workbenchController;
PerspectiveActivity perspective1;
workbenchController.perspective(perspective1).delete()
.granted(() -> deleteButton.setEnabled(true))
.denied(() -> deleteButton.setEnabled(false))
Modifier and Type | Method and Description |
---|---|
ActivityCheck |
editor(String editorId)
Creates a brand new instance for checking actions over
WorkbenchEditorActivity instances. |
ActivityCheck |
editor(WorkbenchEditorActivity editor)
Creates a brand new instance for checking actions over
WorkbenchEditorActivity instances. |
ActivityCheck |
editors()
Creates a brand new instance for checking global perspective actions actions.
|
PerspectiveCheck |
perspective(PerspectiveActivity perspective)
Creates a brand new instance for checking actions over
PerspectiveActivity instances. |
PerspectiveCheck |
perspective(String perspectiveId)
Creates a brand new instance for checking actions over
PerspectiveActivity instances. |
PerspectiveCheck |
perspectives()
Creates a brand new instance for checking global perspective actions.
|
ActivityCheck |
popupScreen(PopupActivity popup)
Creates a brand new instance for checking actions over
PopupActivity instances. |
ActivityCheck |
popupScreen(String popupId)
Creates a brand new instance for checking actions over
PopupActivity instances. |
ActivityCheck |
popupScreens()
Creates a brand new instance for checking global popup screen actions.
|
ActivityCheck |
screen(String screenId)
Creates a brand new instance for checking actions over
WorkbenchScreenActivity instances. |
ActivityCheck |
screen(WorkbenchScreenActivity screen)
Creates a brand new instance for checking actions over
WorkbenchScreenActivity instances. |
ActivityCheck |
screens()
Creates a brand new instance for checking global screen actions.
|
ActivityCheck |
splashScreen(SplashScreenActivity splash)
Creates a brand new instance for checking actions over
SplashScreenActivity instances. |
ActivityCheck |
splashScreen(String splashId)
Creates a brand new instance for checking actions over
SplashScreenActivity instances. |
ActivityCheck |
splashScreens()
Creates a brand new instance for checking global splash screen actions.
|
PerspectiveCheck perspectives()
ActivityCheck screens()
ActivityCheck popupScreens()
ActivityCheck splashScreens()
ActivityCheck editors()
PerspectiveCheck perspective(PerspectiveActivity perspective)
PerspectiveActivity
instances.ActivityCheck screen(WorkbenchScreenActivity screen)
WorkbenchScreenActivity
instances.ActivityCheck popupScreen(PopupActivity popup)
PopupActivity
instances.ActivityCheck editor(WorkbenchEditorActivity editor)
WorkbenchEditorActivity
instances.ActivityCheck splashScreen(SplashScreenActivity splash)
SplashScreenActivity
instances.PerspectiveCheck perspective(String perspectiveId)
PerspectiveActivity
instances.ActivityCheck screen(String screenId)
WorkbenchScreenActivity
instances.ActivityCheck popupScreen(String popupId)
PopupActivity
instances.ActivityCheck editor(String editorId)
WorkbenchEditorActivity
instances.ActivityCheck splashScreen(String splashId)
SplashScreenActivity
instances.Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.