public abstract class AbstractWorkbenchScreenActivity extends AbstractWorkbenchActivity implements WorkbenchScreenActivity
WorkbenchScreen, but it is permissible for applications to extend this
class directly instead of using the @WorkbenchScreen annotation.
When implementing a Screen by extending this class, you must follow three rules:
@Dependent bean;
@Named annotation;
@Inject constructor that passes the PlaceManager up to
the super constructor.
open, place, placeManager| Constructor and Description |
|---|
AbstractWorkbenchScreenActivity(PlaceManager placeManager)
Passes the given PlaceManager up to the superclass.
|
| Modifier and Type | Method and Description |
|---|---|
org.uberfire.security.ResourceType |
getResourceType() |
contextId, getDefaultPosition, getMenus, getOwningPlace, getTitle, getTitleDecoration, getToolBar, getWidget, onFocus, onLostFocus, onMayClosegetPlace, onClose, onOpen, onShutdown, onStartup, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontextId, getDefaultPosition, getMenus, getOwningPlace, getTitle, getTitleDecoration, getTitleDecorationElement, getToolBar, getWidget, getWidgetElement, onFocus, onLostFocus, onMayClose, preferredHeight, preferredWidthpublic AbstractWorkbenchScreenActivity(PlaceManager placeManager)
In order to make the super() call to this constructor, subclasses should declare their own constructor
that takes a PlaceManager plus any other dependencies required by the screen, and annotate that
constructor with @Inject.
placeManager - The PlaceManager in force for the current application. Must not be null.Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.