Interface PopupView
-
- All Superinterfaces:
com.google.gwt.event.logical.shared.HasCloseHandlers<PopupView>,com.google.gwt.event.shared.HasHandlers
public interface PopupView extends com.google.gwt.event.logical.shared.HasCloseHandlers<PopupView>
API contract for the view container ofPopupActivityactivities. Implementations of this class must be Dependent-scoped CDI beans.Each application must have exactly one implementation of this interface in the classpath at compile time. Normally this implementation will be part of a view module.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhide()Makes this popup container(and the main content along with it) invisible.voidsetContent(com.google.gwt.user.client.ui.IsWidget widget)Sets the main content of this popup dialog, replacing any content that was previously set.voidsetSize(org.uberfire.client.annotations.WorkbenchPopup.WorkbenchPopupSize size)Sets the size for the popup.voidsetTitle(String title)Sets the title text for this popup's dialog.voidshow()Makes this popup container (and the main content along with it) visible on the workbench.
-
-
-
Method Detail
-
setContent
void setContent(com.google.gwt.user.client.ui.IsWidget widget)
Sets the main content of this popup dialog, replacing any content that was previously set.- Parameters:
widget- the content to add. Must not be null.
-
setTitle
void setTitle(String title)
Sets the title text for this popup's dialog. Usually, the view will put this in a large font above the main content.- Parameters:
title- The title text for the popup container.
-
setSize
void setSize(org.uberfire.client.annotations.WorkbenchPopup.WorkbenchPopupSize size)
Sets the size for the popup.- Parameters:
size- The popup size
-
show
void show()
Makes this popup container (and the main content along with it) visible on the workbench. Has no effect if this popup is already visible.
-
hide
void hide()
Makes this popup container(and the main content along with it) invisible. Has no effect if the popup is not already showing.
-
-