public class ImportedDataDialog extends AbstractFeatureDialog implements NetworkActivitySignal.NetworkUser
Modifier and Type | Class and Description |
---|---|
protected static class |
ImportedDataDialog.ImportableDataFilter |
Modifier and Type | Field and Description |
---|---|
protected ImportedDataPanel |
dataConfigPanel |
protected FileStore |
fileStore |
protected java.lang.Thread |
importThread |
centerButtonPanel, closeButton, dialog, dialogPanel, leftButtonPanel, positionInitialized, rightButtonPanel
controller, featureID
Constructor and Description |
---|
ImportedDataDialog(Registry registry) |
Modifier and Type | Method and Description |
---|---|
protected static void |
addImportedData(org.w3c.dom.Document dataConfig,
AVList params,
ImportedDataPanel panel) |
protected static org.w3c.dom.Document |
createDataStoreFromFile(java.io.File file,
FileStore fileStore,
DataStoreProducer producer) |
protected static DataStoreProducer |
createDataStoreProducerFromFile(java.io.File file) |
boolean |
hasNetworkActivity() |
protected static org.w3c.dom.Document |
importDataFromFile(java.awt.Component parentComponent,
java.io.File file,
FileStore fileStore) |
protected void |
importFromFile() |
void |
initialize(Controller controller) |
boolean |
isOn() |
boolean |
isTwoState()
Indicates whether the feature can be either on or off, without any other states.
|
protected void |
layoutComponents() |
protected static void |
loadImportedDataFromDirectory(java.io.File dir,
ImportedDataPanel panel) |
protected static void |
loadImportedDataFromFileStore(FileStore fileStore,
ImportedDataPanel panel) |
protected void |
loadPreviouslyImportedData() |
protected static void |
setFallbackParams(org.w3c.dom.Document dataConfig,
java.lang.String filename,
AVList params) |
getJDialog, insertCenterDialogComponent, insertDialogComponent, insertLeftDialogComponent, insertRightDialogComponent, setLocation, setTaskComponent, setTaskPanel, setTaskPanel, setTitle, setVisible, turnOn
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, propertyChange, register, setMenuAccellerator
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFeatureID, getName
isInitialized
protected ImportedDataPanel dataConfigPanel
protected FileStore fileStore
protected java.lang.Thread importThread
public ImportedDataDialog(Registry registry)
protected static void addImportedData(org.w3c.dom.Document dataConfig, AVList params, ImportedDataPanel panel)
protected static org.w3c.dom.Document createDataStoreFromFile(java.io.File file, FileStore fileStore, DataStoreProducer producer) throws java.lang.Exception
java.lang.Exception
protected static DataStoreProducer createDataStoreProducerFromFile(java.io.File file)
public boolean hasNetworkActivity()
hasNetworkActivity
in interface NetworkActivitySignal.NetworkUser
protected static org.w3c.dom.Document importDataFromFile(java.awt.Component parentComponent, java.io.File file, FileStore fileStore) throws java.lang.Exception
java.lang.Exception
protected void importFromFile()
public void initialize(Controller controller)
initialize
in interface Initializable
initialize
in class AbstractFeatureDialog
public boolean isOn()
isOn
in interface Feature
isOn
in class AbstractFeature
public boolean isTwoState()
Feature
isTwoState
in interface Feature
isTwoState
in class AbstractFeature
protected void layoutComponents()
protected static void loadImportedDataFromDirectory(java.io.File dir, ImportedDataPanel panel)
protected static void loadImportedDataFromFileStore(FileStore fileStore, ImportedDataPanel panel)
protected void loadPreviouslyImportedData()
protected static void setFallbackParams(org.w3c.dom.Document dataConfig, java.lang.String filename, AVList params)