public class FileImporter extends Importer
Importer.NodeStructureChange, Importer.ShowNodes
Modifier and Type | Field and Description |
---|---|
protected org.gjt.sp.jedit.io.VFSFileFilter |
fnf |
isNodeStructureUpdate, postAction, project, selected, silent, viewer
Constructor and Description |
---|
FileImporter(VPTNode node,
ProjectViewer viewer)
Constructs a new file importer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup()
This is called after
Importer.internalDoImport() is invoked, so
implementations can clean up any internal state. |
protected ImportDialog |
getImportDialog() |
protected void |
internalDoImport()
Queries the user for files to be added by showing a file chooser
dialog.
|
protected ImportDialog |
showImportDialog(java.lang.String title,
java.lang.String filtercfg) |
_run, addNode, constructPath, doImport, findChild, importFiles, importFiles, loadImportFilterStatus, removeDirectory, removeFile, saveImportFilterStatus, setSilent, setViewerEnabled, setViewStatus
public FileImporter(VPTNode node, ProjectViewer viewer)
node
- The selected node in the viewer tree.viewer
- The viewer instance.protected void internalDoImport()
internalDoImport
in class Importer
protected ImportDialog getImportDialog()
protected ImportDialog showImportDialog(java.lang.String title, java.lang.String filtercfg)
protected void cleanup()
Importer
Importer.internalDoImport()
is invoked, so
implementations can clean up any internal state. Default implementation
does nothing.