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 Thread |
importThread |
centerButtonPanel, closeButton, dialog, dialogPanel, leftButtonPanel, positionInitialized, rightButtonPanel
controller, featureID
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
ImportedDataDialog(Registry registry) |
Modifier and Type | Method and Description |
---|---|
protected static void |
addImportedData(Document dataConfig,
AVList params,
ImportedDataPanel panel) |
protected static Document |
createDataStoreFromFile(File file,
FileStore fileStore,
DataStoreProducer producer) |
protected static DataStoreProducer |
createDataStoreProducerFromFile(File file) |
boolean |
hasNetworkActivity() |
protected static Document |
importDataFromFile(Component parentComponent,
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(File dir,
ImportedDataPanel panel) |
protected static void |
loadImportedDataFromFileStore(FileStore fileStore,
ImportedDataPanel panel) |
protected void |
loadPreviouslyImportedData() |
protected static void |
setFallbackParams(Document dataConfig,
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
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
actionPerformed
propertyChange
protected ImportedDataPanel dataConfigPanel
protected FileStore fileStore
protected Thread importThread
public ImportedDataDialog(Registry registry)
protected static void addImportedData(Document dataConfig, AVList params, ImportedDataPanel panel)
protected static Document createDataStoreFromFile(File file, FileStore fileStore, DataStoreProducer producer) throws Exception
Exception
protected static DataStoreProducer createDataStoreProducerFromFile(File file)
public boolean hasNetworkActivity()
hasNetworkActivity
in interface NetworkActivitySignal.NetworkUser
protected static Document importDataFromFile(Component parentComponent, File file, FileStore fileStore) throws Exception
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(File dir, ImportedDataPanel panel)
protected static void loadImportedDataFromFileStore(FileStore fileStore, ImportedDataPanel panel)
protected void loadPreviouslyImportedData()