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, rightButtonPanelcontroller, featureIDchangeSupport, enabledACCELERATOR_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, turnOnactionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, propertyChange, register, setMenuAccelleratoraddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFeatureID, getNameisInitializedaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledactionPerformedpropertyChangeprotected 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
Exceptionprotected static DataStoreProducer createDataStoreProducerFromFile(File file)
public boolean hasNetworkActivity()
hasNetworkActivity in interface NetworkActivitySignal.NetworkUserprotected static Document importDataFromFile(Component parentComponent, File file, FileStore fileStore) throws Exception
Exceptionprotected void importFromFile()
public void initialize(Controller controller)
initialize in interface Initializableinitialize in class AbstractFeatureDialogpublic boolean isOn()
isOn in interface FeatureisOn in class AbstractFeaturepublic boolean isTwoState()
FeatureisTwoState in interface FeatureisTwoState in class AbstractFeatureprotected void layoutComponents()
protected static void loadImportedDataFromDirectory(File dir, ImportedDataPanel panel)
protected static void loadImportedDataFromFileStore(FileStore fileStore, ImportedDataPanel panel)
protected void loadPreviouslyImportedData()