Interface AssignedEntitiesEditor<T>
-
- Type Parameters:
T- The presenter instance.
- All Superinterfaces:
org.uberfire.client.mvp.HasPresenter<T>,com.google.gwt.user.client.ui.IsWidget,org.uberfire.client.mvp.UberView<T>
- All Known Implementing Classes:
AssignedEntitiesInlineEditorView,AssignedEntitiesModalEditorView
public interface AssignedEntitiesEditor<T> extends org.uberfire.client.mvp.UberView<T>An editor view contract for modifying the assigned entities.
This view wraps the given
EntitiesExplorerViewinstance for exploring the users, groups or roles and adds editing features.- Since:
- 0.8.0
-
-
Method Summary
All Methods Instance Methods Abstract 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.AssignedEntitiesEditor<T>show(String header)Show the editor view.
-
-
-
Method Detail
-
configure
AssignedEntitiesEditor<T> configure(EntitiesExplorerView explorerView)
Sets the explorer view being wrapped and the editor's title..- Parameters:
explorerView- The explorer view widget.- Returns:
- The view implementation.
-
configureClose
AssignedEntitiesEditor<T> configureClose(String closeText, org.uberfire.mvp.Command closeCallback)
Configures the editor close button's text and click callback.- Parameters:
closeText- The button's text..closeCallback- The button's click handler callback.- Returns:
- The view implementation.
-
configureSave
AssignedEntitiesEditor<T> configureSave(String saveText, org.uberfire.mvp.Command saveCallback)
Configures the editor save button's text and click callback.- Parameters:
saveText- The button's text..saveCallback- The button's click handler callback.- Returns:
- The view implementation.
-
show
AssignedEntitiesEditor<T> show(String header)
Show the editor view.- Parameters:
header- The editor's header.- Returns:
- The view implementation.
-
hide
AssignedEntitiesEditor<T> hide()
Hide the editor view.- Returns:
- The view implementation.
-
-