org.kie.workbench.common.screens.datamodeller.client.widgets
Class ShowUsagesPopup
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
com.github.gwtbootstrap.client.ui.base.DivWidget
com.github.gwtbootstrap.client.ui.Modal
org.kie.uberfire.client.common.popups.KieBaseModal
org.kie.workbench.common.screens.datamodeller.client.widgets.ShowUsagesPopup
- All Implemented Interfaces:
- com.github.gwtbootstrap.client.ui.base.HasId, com.github.gwtbootstrap.client.ui.base.HasStyle, com.github.gwtbootstrap.client.ui.base.HasVisibleHandlers, com.github.gwtbootstrap.client.ui.base.IsAnimated, com.github.gwtbootstrap.client.ui.base.IsResponsive, 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.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>
public class ShowUsagesPopup
- extends org.kie.uberfire.client.common.popups.KieBaseModal
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel |
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
|
Constructor Summary |
protected |
ShowUsagesPopup(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
String yesButtonText,
org.uberfire.mvp.Command cancelCommand,
String cancelButtonText)
|
protected |
ShowUsagesPopup(String title,
String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
String yesButtonText,
com.github.gwtbootstrap.client.ui.constants.ButtonType yesButtonType,
com.github.gwtbootstrap.client.ui.constants.IconType yesButtonIconType,
org.uberfire.mvp.Command cancelCommand,
String cancelButtonText,
com.github.gwtbootstrap.client.ui.constants.ButtonType cancelButtonType,
com.github.gwtbootstrap.client.ui.constants.IconType cancelButtonIconType)
|
|
Method Summary |
static ShowUsagesPopup |
newUsagesPopup(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
String yesButtonText,
com.github.gwtbootstrap.client.ui.constants.ButtonType yesButtonType,
com.github.gwtbootstrap.client.ui.constants.IconType yesButtonIconType,
org.uberfire.mvp.Command cancelCommand,
String cancelButtonText,
com.github.gwtbootstrap.client.ui.constants.ButtonType cancelButtonType,
com.github.gwtbootstrap.client.ui.constants.IconType cancelButtonIconType)
|
static ShowUsagesPopup |
newUsagesPopup(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
String yesButtonText,
org.uberfire.mvp.Command cancelCommand,
String cancelButtonText)
|
static ShowUsagesPopup |
newUsagesPopupForChanging(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
org.uberfire.mvp.Command cancelCommand)
|
static ShowUsagesPopup |
newUsagesPopupForDeletion(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
org.uberfire.mvp.Command cancelCommand)
|
static ShowUsagesPopup |
newUsagesPopupForRenaming(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
org.uberfire.mvp.Command cancelCommand)
|
void |
onCancelButtonClick(com.google.gwt.event.dom.client.ClickEvent e)
|
void |
onYesButtonClick(com.google.gwt.event.dom.client.ClickEvent e)
|
| Methods inherited from class org.kie.uberfire.client.common.popups.KieBaseModal |
handleDefaultAction, setFocus |
| Methods inherited from class com.github.gwtbootstrap.client.ui.Modal |
add, addHiddenHandler, addHideHandler, addShowHandler, addShownHandler, getAnimation, getBackdropType, hide, insert, isKeyboardEnable, onAttach, onHidden, onHide, onShow, onShown, reconfigure, setAnimation, setBackdrop, setCloseVisible, setDynamicSafe, setHideOthers, setKeyboard, setMaxHeigth, setSize, setTitle, setWidth, show, toggle |
| Methods inherited from class com.github.gwtbootstrap.client.ui.base.DivWidget |
addStyle, getId, pullRight, removeStyle, setHideOn, setId, setShowOn, setStyle |
| Methods inherited from class com.google.gwt.user.client.ui.FlowPanel |
clear, insert |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
add |
| Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
getWidgetIndex |
| Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
getWidget, getWidgetCount, getWidgetIndex, remove |
message
@UiField
protected com.google.gwt.user.client.ui.HTML message
usedByTable
@UiField
protected org.kie.uberfire.client.tables.SimpleTable<ShowUsagesPopup.UsedByRow> usedByTable
yesButton
@UiField
protected com.github.gwtbootstrap.client.ui.Button yesButton
cancelButton
@UiField
protected com.github.gwtbootstrap.client.ui.Button cancelButton
ShowUsagesPopup
protected ShowUsagesPopup(String title,
String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
String yesButtonText,
com.github.gwtbootstrap.client.ui.constants.ButtonType yesButtonType,
com.github.gwtbootstrap.client.ui.constants.IconType yesButtonIconType,
org.uberfire.mvp.Command cancelCommand,
String cancelButtonText,
com.github.gwtbootstrap.client.ui.constants.ButtonType cancelButtonType,
com.github.gwtbootstrap.client.ui.constants.IconType cancelButtonIconType)
ShowUsagesPopup
protected ShowUsagesPopup(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
String yesButtonText,
org.uberfire.mvp.Command cancelCommand,
String cancelButtonText)
newUsagesPopup
public static ShowUsagesPopup newUsagesPopup(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
String yesButtonText,
org.uberfire.mvp.Command cancelCommand,
String cancelButtonText)
newUsagesPopup
public static ShowUsagesPopup newUsagesPopup(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
String yesButtonText,
com.github.gwtbootstrap.client.ui.constants.ButtonType yesButtonType,
com.github.gwtbootstrap.client.ui.constants.IconType yesButtonIconType,
org.uberfire.mvp.Command cancelCommand,
String cancelButtonText,
com.github.gwtbootstrap.client.ui.constants.ButtonType cancelButtonType,
com.github.gwtbootstrap.client.ui.constants.IconType cancelButtonIconType)
newUsagesPopupForDeletion
public static ShowUsagesPopup newUsagesPopupForDeletion(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
org.uberfire.mvp.Command cancelCommand)
newUsagesPopupForRenaming
public static ShowUsagesPopup newUsagesPopupForRenaming(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
org.uberfire.mvp.Command cancelCommand)
newUsagesPopupForChanging
public static ShowUsagesPopup newUsagesPopupForChanging(String message,
List<org.uberfire.backend.vfs.Path> usedByFiles,
org.uberfire.mvp.Command yesCommand,
org.uberfire.mvp.Command cancelCommand)
onYesButtonClick
@UiHandler(value="yesButton")
public void onYesButtonClick(com.google.gwt.event.dom.client.ClickEvent e)
onCancelButtonClick
@UiHandler(value="cancelButton")
public void onCancelButtonClick(com.google.gwt.event.dom.client.ClickEvent e)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.