public class BrowseFolderRunnable<T extends javax.swing.JComponent>
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected TextComponentAccessor<? super T> |
myAccessor |
protected FileChooserDescriptor |
myFileChooserDescriptor |
protected T |
myTextComponent |
Constructor and Description |
---|
BrowseFolderRunnable(java.lang.String title,
java.lang.String description,
Project project,
FileChooserDescriptor fileChooserDescriptor,
T component,
TextComponentAccessor<? super T> accessor) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
chosenFileToResultingText(VirtualFile chosenFile) |
protected java.lang.String |
expandPath(java.lang.String path) |
protected java.lang.String |
getComponentText() |
protected VirtualFile |
getInitialFile() |
protected Project |
getProject() |
protected void |
onFileChosen(VirtualFile chosenFile) |
void |
run() |
protected void |
setProject(Project project) |
protected final TextComponentAccessor<? super T extends javax.swing.JComponent> myAccessor
protected final FileChooserDescriptor myFileChooserDescriptor
protected T extends javax.swing.JComponent myTextComponent
public BrowseFolderRunnable(java.lang.String title, java.lang.String description, Project project, FileChooserDescriptor fileChooserDescriptor, T component, TextComponentAccessor<? super T> accessor)
protected Project getProject()
protected void setProject(Project project)
public void run()
run
in interface java.lang.Runnable
protected VirtualFile getInitialFile()
protected java.lang.String expandPath(java.lang.String path)
protected java.lang.String chosenFileToResultingText(VirtualFile chosenFile)
protected java.lang.String getComponentText()
protected void onFileChosen(VirtualFile chosenFile)