public class FileEditorHandler extends Object implements UIHandler<FileEditor>
| Modifier and Type | Class and Description |
|---|---|
static class |
FileEditorHandler.ExtentionFileFiler |
| Modifier and Type | Field and Description |
|---|---|
protected JDialog |
dialogOwner
To set the dialog (see https://forge.nuiton.org/issues/2578).
|
static File |
lastSelectedPath |
static String |
SEPARATOR_REGEX |
protected FileEditor |
ui |
| Constructor and Description |
|---|
FileEditorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInit(FileEditor ui) |
void |
beforeInit(FileEditor ui) |
void |
openLocation() |
protected void |
setDialogOwner(JDialog dialogOwner) |
void |
setSelectedFile(File file) |
void |
setSelectedFile(String path) |
public static final String SEPARATOR_REGEX
public static File lastSelectedPath
protected FileEditor ui
protected JDialog dialogOwner
public void openLocation()
public void setSelectedFile(String path)
public void setSelectedFile(File file)
protected void setDialogOwner(JDialog dialogOwner)
public void beforeInit(FileEditor ui)
beforeInit in interface UIHandler<FileEditor>public void afterInit(FileEditor ui)
afterInit in interface UIHandler<FileEditor>Copyright © 2008–2017 CodeLutin. All rights reserved.