Class 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
    • 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
    • Field Summary

      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • 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.HandlerRegistration addValueChangeHandler​(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.DocumentationLinks getValue()  
      void init()  
      boolean isEnabled()  
      void onClickTypeButton​(com.google.gwt.event.dom.client.ClickEvent clickEvent)  
      void setDMNModel​(org.kie.workbench.common.dmn.api.definition.model.DRGElement model)  
      void setEnabled​(boolean enabled)  
      void setValue​(org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks documentationLinks)  
      void setValue​(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
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
    • 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

      • getValue

        public org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks getValue()
        Specified by:
        getValue in interface com.google.gwt.user.client.ui.HasValue<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>
        Specified by:
        getValue in interface com.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:
        setValue in interface com.google.gwt.user.client.ui.HasValue<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>
        Specified by:
        setValue in interface com.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:
        setValue in interface com.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:
        addValueChangeHandler in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<org.kie.workbench.common.dmn.api.property.dmn.DocumentationLinks>
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface com.google.gwt.user.client.ui.HasEnabled
      • setEnabled

        public void setEnabled​(boolean enabled)
        Specified by:
        setEnabled in interface com.google.gwt.user.client.ui.HasEnabled
      • setDMNModel

        public void setDMNModel​(org.kie.workbench.common.dmn.api.definition.model.DRGElement model)