public class RootImporter extends FileImporter
Importer.NodeStructureChange, Importer.ShowNodes
Modifier and Type | Field and Description |
---|---|
protected boolean |
addHidden |
protected java.lang.String |
oldRoot |
protected java.awt.Component |
parent |
fnf
isNodeStructureUpdate, postAction, project, selected, silent, viewer
Constructor and Description |
---|
RootImporter(VPTNode node,
ProjectViewer viewer,
boolean clean)
Imports files from the root of the project.
|
RootImporter(VPTNode node,
java.lang.String oldRoot,
ProjectViewer viewer,
java.awt.Component parent)
Creates an Importer that uses a component other than the ProjectViewer
as the parent of the dialogs shown to the user.
|
Modifier and Type | Method and Description |
---|---|
protected ImportDialog |
getImportDialog() |
protected void |
internalDoImport()
Asks if the user wants to import files from the chosen project root.
|
protected void |
unregisterFiles(VPTDirectory dir)
Unregisters all files in the directory from the project, recursively.
|
cleanup, showImportDialog
_run, addNode, constructPath, doImport, findChild, importFiles, importFiles, loadImportFilterStatus, removeDirectory, removeFile, saveImportFilterStatus, setSilent, setViewerEnabled, setViewStatus
protected java.awt.Component parent
protected java.lang.String oldRoot
protected boolean addHidden
public RootImporter(VPTNode node, java.lang.String oldRoot, ProjectViewer viewer, java.awt.Component parent)
public RootImporter(VPTNode node, ProjectViewer viewer, boolean clean)
protected void internalDoImport()
internalDoImport
in class FileImporter
protected void unregisterFiles(VPTDirectory dir)
protected ImportDialog getImportDialog()
getImportDialog
in class FileImporter