Class AssignedEntitiesModalEditorView<T>
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- org.uberfire.ext.security.management.client.widgets.management.editor.AssignedEntitiesModalEditorView<T>
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.IsRenderable,com.google.gwt.user.client.ui.IsWidget,org.uberfire.client.mvp.HasPresenter<T>,org.uberfire.client.mvp.UberView<T>,AssignedEntitiesEditor<T>
@Dependent public class AssignedEntitiesModalEditorView<T> extends com.google.gwt.user.client.ui.Composite implements AssignedEntitiesEditor<T>
An editor view implementation for modifying the assigned entities using a modal panel.
This view wraps the given
ExplorerViewinstance in a GWT Bootstrap 3 Modal panel.- Since:
- 0.8.0
-
-
Constructor Summary
Constructors Constructor Description AssignedEntitiesModalEditorView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssignedEntitiesEditor<T>configure(EntitiesExplorerView explorerView)Sets the explorer view being wrapped and the editor's title..AssignedEntitiesEditor<T>configureClose(String closeText, org.uberfire.mvp.Command closeCallback)Configures the editor close button's text and click callback.AssignedEntitiesEditor<T>configureSave(String saveText, org.uberfire.mvp.Command saveCallback)Configures the editor save button's text and click callback.AssignedEntitiesEditor<T>hide()Hide the editor view.voidinit(T presenter)AssignedEntitiesEditor<T>show(String title)Show the editor view.-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
-
-
-
Method Detail
-
init
public void init(T presenter)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<T>
-
configure
public AssignedEntitiesEditor<T> configure(EntitiesExplorerView explorerView)
Description copied from interface:AssignedEntitiesEditorSets the explorer view being wrapped and the editor's title..- Specified by:
configurein interfaceAssignedEntitiesEditor<T>- Parameters:
explorerView- The explorer view widget.- Returns:
- The view implementation.
-
configureClose
public AssignedEntitiesEditor<T> configureClose(String closeText, org.uberfire.mvp.Command closeCallback)
Description copied from interface:AssignedEntitiesEditorConfigures the editor close button's text and click callback.- Specified by:
configureClosein interfaceAssignedEntitiesEditor<T>- Parameters:
closeText- The button's text..closeCallback- The button's click handler callback.- Returns:
- The view implementation.
-
configureSave
public AssignedEntitiesEditor<T> configureSave(String saveText, org.uberfire.mvp.Command saveCallback)
Description copied from interface:AssignedEntitiesEditorConfigures the editor save button's text and click callback.- Specified by:
configureSavein interfaceAssignedEntitiesEditor<T>- Parameters:
saveText- The button's text..saveCallback- The button's click handler callback.- Returns:
- The view implementation.
-
show
public AssignedEntitiesEditor<T> show(String title)
Description copied from interface:AssignedEntitiesEditorShow the editor view.- Specified by:
showin interfaceAssignedEntitiesEditor<T>- Parameters:
title- The editor's header.- Returns:
- The view implementation.
-
hide
public AssignedEntitiesEditor<T> hide()
Description copied from interface:AssignedEntitiesEditorHide the editor view.- Specified by:
hidein interfaceAssignedEntitiesEditor<T>- Returns:
- The view implementation.
-
-