Drools Workbench - Guided Decision Tree Editor - Client 6.2.0.CR1

org.drools.workbench.screens.guided.dtree.client.widget.popups
Class EditTypePopup

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.FlowPanel
                      extended by com.github.gwtbootstrap.client.ui.base.DivWidget
                          extended by com.github.gwtbootstrap.client.ui.Modal
                              extended by org.kie.uberfire.client.common.popups.KieBaseModal
                                  extended by org.drools.workbench.screens.guided.dtree.client.widget.popups.EditTypePopup
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 EditTypePopup
extends org.kie.uberfire.client.common.popups.KieBaseModal


Nested Class Summary
 
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
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
EditTypePopup(org.drools.workbench.models.guided.dtree.shared.model.nodes.TypeNode node, com.google.gwt.user.client.Command callback)
          Edit the given TypeNode.
 
Method Summary
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

EditTypePopup

public EditTypePopup(org.drools.workbench.models.guided.dtree.shared.model.nodes.TypeNode node,
                     com.google.gwt.user.client.Command callback)
Edit the given TypeNode. A clone is taken whilst editing is in progress to preserve the state of the original node should editing be cancelled by the User. Bindings are checked to be unique in the path from this node being edited to the tree's root. When the User commits the changes the provided callback is executed and this popup closed.

Parameters:
node - The node to edit
callback - Callback to execute when the User commits changes

Drools Workbench - Guided Decision Tree Editor - Client 6.2.0.CR1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.