Class ProcessDiagramWidgetViewImpl
- 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.jbpm.workbench.pr.client.editors.diagram.ProcessDiagramWidgetViewImpl
-
- 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,com.google.gwt.user.client.ui.RequiresResize,ProcessDiagramWidgetView,org.uberfire.ext.widgets.common.client.common.HasBusyIndicator
@Dependent @Templated public class ProcessDiagramWidgetViewImpl extends com.google.gwt.user.client.ui.Composite implements ProcessDiagramWidgetView, com.google.gwt.user.client.ui.RequiresResize
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisDoubleClick
-
Constructor Summary
Constructors Constructor Description ProcessDiagramWidgetViewImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisableExpandAnchor()voiddisplayImage(String svgContent)voiddisplayMessage(String message)voidexpandDiagramContainer()StringgetProcessDiagramDivId()voidhideBusyIndicator()voidinit()protected voidonClickExpandDiagram(com.google.gwt.event.dom.client.ClickEvent event)voidonResize()protected org.uberfire.client.views.pfly.widgets.D3.Selectionselect()voidsetD3Component(org.uberfire.client.views.pfly.widgets.D3 d3)voidsetOnDiagramNodeSelectionCallback(org.uberfire.client.callbacks.Callback<String> callback)voidsetOnNodeSelectionDoubleClick(org.uberfire.client.callbacks.Callback<String> callback)voidshowBusyIndicator(String message)-
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
-
setD3Component
public void setD3Component(org.uberfire.client.views.pfly.widgets.D3 d3)
-
init
@PostConstruct public void init()
-
setOnDiagramNodeSelectionCallback
public void setOnDiagramNodeSelectionCallback(org.uberfire.client.callbacks.Callback<String> callback)
- Specified by:
setOnDiagramNodeSelectionCallbackin interfaceProcessDiagramWidgetView
-
setOnNodeSelectionDoubleClick
public void setOnNodeSelectionDoubleClick(org.uberfire.client.callbacks.Callback<String> callback)
- Specified by:
setOnNodeSelectionDoubleClickin interfaceProcessDiagramWidgetView
-
displayImage
public void displayImage(String svgContent)
- Specified by:
displayImagein interfaceProcessDiagramWidgetView
-
select
protected org.uberfire.client.views.pfly.widgets.D3.Selection select()
-
displayMessage
public void displayMessage(String message)
- Specified by:
displayMessagein interfaceProcessDiagramWidgetView
-
onResize
public void onResize()
- Specified by:
onResizein interfacecom.google.gwt.user.client.ui.RequiresResize
-
showBusyIndicator
public void showBusyIndicator(String message)
- Specified by:
showBusyIndicatorin interfaceorg.uberfire.ext.widgets.common.client.common.HasBusyIndicator
-
hideBusyIndicator
public void hideBusyIndicator()
- Specified by:
hideBusyIndicatorin interfaceorg.uberfire.ext.widgets.common.client.common.HasBusyIndicator
-
expandDiagramContainer
public void expandDiagramContainer()
- Specified by:
expandDiagramContainerin interfaceProcessDiagramWidgetView
-
onClickExpandDiagram
@EventHandler("expand-diagram") protected void onClickExpandDiagram(com.google.gwt.event.dom.client.ClickEvent event)
-
disableExpandAnchor
public void disableExpandAnchor()
- Specified by:
disableExpandAnchorin interfaceProcessDiagramWidgetView
-
getProcessDiagramDivId
public String getProcessDiagramDivId()
-
-