Class DocumentationLinksWidget
- 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.kie.workbench.common.dmn.client.editors.documentation.DocumentationLinksWidget
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.logical.shared.HasValueChangeHandlers<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.TakesValue<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>,com.google.gwt.user.client.ui.HasEnabled,com.google.gwt.user.client.ui.HasValue<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.IsRenderable,com.google.gwt.user.client.ui.IsWidget
@Dependent @Templated public class DocumentationLinksWidget extends com.google.gwt.user.client.ui.Composite implements com.google.gwt.user.client.ui.HasValue<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>, com.google.gwt.user.client.ui.HasEnabled
-
-
Constructor Summary
Constructors Constructor Description DocumentationLinksWidget(org.jboss.errai.ioc.client.api.ManagedInstance<DocumentationLinkItem> listItems, org.jboss.errai.ui.client.local.spi.TranslationService translationService, elemental2.dom.HTMLDivElement linksContainer, elemental2.dom.HTMLDivElement noneContainer, elemental2.dom.HTMLAnchorElement addButton, NameAndUrlPopoverView.Presenter nameAndUrlPopover, CellEditorControlsView cellEditor, elemental2.dom.HTMLElement addLink, elemental2.dom.HTMLElement noLink, javax.enterprise.event.Event<org.uberfire.client.mvp.LockRequiredEvent> locker, org.kie.workbench.common.stunner.core.client.ReadOnlyProvider readOnlyProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gwt.event.shared.HandlerRegistrationaddValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks> handler)org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinksgetValue()voidinit()booleanisEnabled()voidonClickTypeButton(com.google.gwt.event.dom.client.ClickEvent clickEvent)voidsetDMNModel(org.kie.workbench.common.dmn.api.definition.model.DRGElement model)voidsetEnabled(boolean enabled)voidsetValue(org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks documentationLinks)voidsetValue(org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks documentationLinks, boolean fireEvents)-
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
-
-
-
-
Constructor Detail
-
DocumentationLinksWidget
@Inject public DocumentationLinksWidget(org.jboss.errai.ioc.client.api.ManagedInstance<DocumentationLinkItem> listItems, org.jboss.errai.ui.client.local.spi.TranslationService translationService, elemental2.dom.HTMLDivElement linksContainer, elemental2.dom.HTMLDivElement noneContainer, elemental2.dom.HTMLAnchorElement addButton, NameAndUrlPopoverView.Presenter nameAndUrlPopover, CellEditorControlsView cellEditor, @Named("span") elemental2.dom.HTMLElement addLink, @Named("span") elemental2.dom.HTMLElement noLink, javax.enterprise.event.Event<org.uberfire.client.mvp.LockRequiredEvent> locker, org.kie.workbench.common.stunner.core.client.ReadOnlyProvider readOnlyProvider)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getValue
public org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks getValue()
- Specified by:
getValuein interfacecom.google.gwt.user.client.ui.HasValue<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>- Specified by:
getValuein interfacecom.google.gwt.user.client.TakesValue<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>
-
setValue
public void setValue(org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks documentationLinks)
- Specified by:
setValuein interfacecom.google.gwt.user.client.ui.HasValue<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>- Specified by:
setValuein interfacecom.google.gwt.user.client.TakesValue<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>
-
setValue
public void setValue(org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks documentationLinks, boolean fireEvents)- Specified by:
setValuein interfacecom.google.gwt.user.client.ui.HasValue<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>
-
onClickTypeButton
@EventHandler("add-button") public void onClickTypeButton(com.google.gwt.event.dom.client.ClickEvent clickEvent)
-
addValueChangeHandler
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks> handler)
- Specified by:
addValueChangeHandlerin interfacecom.google.gwt.event.logical.shared.HasValueChangeHandlers<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfacecom.google.gwt.user.client.ui.HasEnabled
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabledin interfacecom.google.gwt.user.client.ui.HasEnabled
-
setDMNModel
public void setDMNModel(org.kie.workbench.common.dmn.api.definition.model.DRGElement model)
-
-