Class TitledAttachmentFileWidget

  • 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

    public class TitledAttachmentFileWidget
    extends com.google.gwt.user.client.ui.Composite
    • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      TitledAttachmentFileWidget​(String title, org.jboss.errai.common.client.api.Caller<org.drools.workbench.screens.scenariosimulation.service.ScenarioSimulationService> scenarioSimulationService, ScenarioSimulationDropdown scenarioSimulationDropdown)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearStatus()  
      protected com.google.gwt.dom.client.Element createIconElement()  
      String getSelectedPath()  
      void updateAssetList()  
      boolean validate()  
      • 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
    • Field Detail

      • fields

        protected com.google.gwt.user.client.ui.FlowPanel fields
      • divElement

        protected org.gwtbootstrap3.client.ui.html.Div divElement
      • titleLabel

        protected org.gwtbootstrap3.client.ui.FormLabel titleLabel
      • errorLabel

        protected org.gwtbootstrap3.client.ui.html.Span errorLabel
      • scenarioSimulationService

        protected org.jboss.errai.common.client.api.Caller<org.drools.workbench.screens.scenariosimulation.service.ScenarioSimulationService> scenarioSimulationService
      • selectedPath

        protected String selectedPath
    • Constructor Detail

      • TitledAttachmentFileWidget

        public TitledAttachmentFileWidget​(String title,
                                          org.jboss.errai.common.client.api.Caller<org.drools.workbench.screens.scenariosimulation.service.ScenarioSimulationService> scenarioSimulationService,
                                          ScenarioSimulationDropdown scenarioSimulationDropdown)
    • Method Detail

      • clearStatus

        public void clearStatus()
      • updateAssetList

        public void updateAssetList()
      • getSelectedPath

        public String getSelectedPath()
      • validate

        public boolean validate()
      • createIconElement

        protected com.google.gwt.dom.client.Element createIconElement()
        Returns:
        a new icon element.