类 AbstractEcmScript

java.lang.Object
javafx.application.Application
com.tlcsdm.frame.SampleBase
com.tlcsdm.smc.SmcSample
com.tlcsdm.smc.codeDev.ecm.AbstractEcmScript
所有已实现的接口:
Sample
直接已知子类:
AbstractU2XFamilyScript, C1MEcmScript

public abstract class AbstractEcmScript extends SmcSample
EcmScript脚本超类.
从以下版本开始:
1.0.1
作者:
unknowIfGuestInDream
  • 字段详细资料

    • excelField

      protected javafx.scene.control.TextField excelField
    • excelFileChooser

      protected javafx.stage.FileChooser excelFileChooser
    • outputField

      protected javafx.scene.control.TextField outputField
    • outputChooser

      protected javafx.stage.DirectoryChooser outputChooser
    • sheetNameField

      protected javafx.scene.control.TextField sheetNameField
    • startRowField

      protected NumberTextField startRowField
    • categorySheetNameField

      protected javafx.scene.control.TextField categorySheetNameField
    • categoryStartRowField

      protected NumberTextField categoryStartRowField
    • categoryConfigField

      protected javafx.scene.control.TextArea categoryConfigField
    • errorSourceIdColField

      protected javafx.scene.control.TextField errorSourceIdColField
    • categoryIdColField

      protected javafx.scene.control.TextField categoryIdColField
    • errorSourceNumberColField

      protected javafx.scene.control.TextField errorSourceNumberColField
    • errorSourceEnNameColField

      protected javafx.scene.control.TextField errorSourceEnNameColField
    • errorSourceDescColLabel

      protected javafx.scene.control.Label errorSourceDescColLabel
    • errorSourceDescColField

      protected javafx.scene.control.TextField errorSourceDescColField
    • errorSourceJpNameColField

      protected javafx.scene.control.TextField errorSourceJpNameColField
    • functionConfigField

      protected javafx.scene.control.TextArea functionConfigField
    • productConfigField

      protected javafx.scene.control.TextArea productConfigField
    • tagConfigLabel

      protected javafx.scene.control.Label tagConfigLabel
    • tagConfigField

      protected javafx.scene.control.TextArea tagConfigField
    • defaultTemplateName

      private final String defaultTemplateName
      另请参阅:
    • downloadChooser

      protected final javafx.stage.FileChooser downloadChooser
    • outParentFolder

      protected String outParentFolder
    • notificationBuilder

      protected org.controlsfx.control.Notifications notificationBuilder
    • openOutDir

      protected final org.controlsfx.control.action.Action openOutDir
    • download

      private final org.controlsfx.control.action.Action download
    • viewGroovyScript

      private final org.controlsfx.control.action.Action viewGroovyScript
    • generate

      private final org.controlsfx.control.action.Action generate
    • actions

      private final Collection<? extends org.controlsfx.control.action.Action> actions
  • 构造器详细资料

    • AbstractEcmScript

      public AbstractEcmScript()
  • 方法详细资料

    • getPanel

      public javafx.scene.Node getPanel(javafx.stage.Stage stage)
      从接口复制的说明: Sample
      Returns the main sample panel.
    • createErrorSourceControl

      protected javafx.scene.control.TitledPane createErrorSourceControl()
      ErrorSource面板
    • createCategoryControl

      protected javafx.scene.control.TitledPane createCategoryControl()
      Category 面板
    • initializeBindings

      public void initializeBindings()
      从类复制的说明: SampleBase
      将在getPanel要设置的binding提取出来.
      覆盖:
      initializeBindings 在类中 SampleBase
    • initializeUserDataBindings

      public void initializeUserDataBindings()
      从类复制的说明: SampleBase
      将在getPanel要设置的userData binding提取出来.
      覆盖:
      initializeUserDataBindings 在类中 SampleBase
    • initDefaultValue

      protected void initDefaultValue()
      设置默认值
    • dealData

      protected void dealData()
      数据处理
    • createOperationMap

      protected LinkedHashMap<String,String> createOperationMap()
      创建Function配置数据
    • createProductMap

      protected LinkedHashMap<String,String> createProductMap()
      创建product配置数据
    • createProductInfo

      protected cn.hutool.core.map.multi.ListValueMap<String,String> createProductInfo()
      创建productInfo数据 用于文件合并功能
    • createCategoryMap

      protected LinkedHashMap<String,String> createCategoryMap()
      创建category配置数据
    • createTagMap

      protected LinkedHashMap<String,String> createTagMap()
      创建tag配置数据
    • dealCategoryData

      protected List<Map<String,Object>> dealCategoryData()
      处理category数据
    • dealProductData

      protected void dealProductData()
      处理product数据
    • dealErrorSourceData

      protected abstract Map<String,Object> dealErrorSourceData(cn.hutool.poi.excel.ExcelReader reader, int rowNum, String product)
      ErrorSource数据处理
    • buildTagData

      protected List<Map<String,Object>> buildTagData(LinkedHashMap<String,String> tagMap, cn.hutool.poi.excel.ExcelReader reader, int rowNum)
      获取tag数据
    • postMergeResult

      protected void postMergeResult()
      合并结果文件 相同device不同pin如果文件内容一致则合并内容,结果文件如: RH850U2A6.xml 否则按照device_pin命名,如:RH850U2A6_144.xml
    • getFtlPath

      protected abstract String getFtlPath()
      获取freemarker模板路径
    • getGroovyPath

      protected abstract String getGroovyPath()
      获取groovy脚本路径
    • getSampleDescription

      public String getSampleDescription()
      从类复制的说明: SampleBase
      A short, multiple sentence description of the sample.
      指定者:
      getSampleDescription 在接口中 Sample
      覆盖:
      getSampleDescription 在类中 SampleBase
    • getSampleVersion

      public String getSampleVersion()
      从接口复制的说明: Sample
      sample version.
    • getSampleImageIcon

      public javafx.scene.image.ImageView getSampleImageIcon()
      从接口复制的说明: Sample
      sample icon.
      指定者:
      getSampleImageIcon 在接口中 Sample
      覆盖:
      getSampleImageIcon 在类中 SampleBase
    • getControlPanel

      public javafx.scene.Node getControlPanel()
      从类复制的说明: SampleBase
      Returns the panel to display to the user that allows for manipulating the sample.
      指定者:
      getControlPanel 在接口中 Sample
      覆盖:
      getControlPanel 在类中 SampleBase