Class ImportedDataDialog

    • Field Detail

      • importThread

        protected java.lang.Thread importThread
    • Constructor Detail

      • ImportedDataDialog

        public ImportedDataDialog​(Registry registry)
    • Method Detail

      • isTwoState

        public boolean isTwoState()
        Description copied from interface: Feature
        Indicates whether the feature can be either on or off, without any other states. This is used by the tool bar and menu-bar menus to determine whether the feature's enable/disable button or menu item should be displayed with an indicator that it's either on or off. In the case of a menu the indicator is a check box. In the case of a tool bar button the indicator is a dot above the button.
        Specified by:
        isTwoState in interface Feature
        Overrides:
        isTwoState in class AbstractFeature
        Returns:
        true if the feature has only two states, otherwise off.
      • loadPreviouslyImportedData

        protected void loadPreviouslyImportedData()
      • importFromFile

        protected void importFromFile()
      • layoutComponents

        protected void layoutComponents()
      • addImportedData

        protected static void addImportedData​(org.w3c.dom.Document dataConfig,
                                              AVList params,
                                              ImportedDataPanel panel)
      • loadImportedDataFromDirectory

        protected static void loadImportedDataFromDirectory​(java.io.File dir,
                                                            ImportedDataPanel panel)
      • loadImportedDataFromFileStore

        protected static void loadImportedDataFromFileStore​(FileStore fileStore,
                                                            ImportedDataPanel panel)
      • setFallbackParams

        protected static void setFallbackParams​(org.w3c.dom.Document dataConfig,
                                                java.lang.String filename,
                                                AVList params)
      • importDataFromFile

        protected static org.w3c.dom.Document importDataFromFile​(java.awt.Component parentComponent,
                                                                 java.io.File file,
                                                                 FileStore fileStore)
                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createDataStoreFromFile

        protected static org.w3c.dom.Document createDataStoreFromFile​(java.io.File file,
                                                                      FileStore fileStore,
                                                                      DataStoreProducer producer)
                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createDataStoreProducerFromFile

        protected static DataStoreProducer createDataStoreProducerFromFile​(java.io.File file)