| |
|
| java.lang.Object java.beans.PropertyEditorSupport org.netbeans.beaninfo.editors.FileEditor
PROPERTY_BASE_DIR | final static String PROPERTY_BASE_DIR(Code) | | Name of the property obtained from the feature descriptor.
|
PROPERTY_CURRENT_DIR | final static String PROPERTY_CURRENT_DIR(Code) | | Name of the property obtained from the feature descriptor.
|
PROPERTY_FILE_HIDING | final static String PROPERTY_FILE_HIDING(Code) | | Name of the property obtained from the feature descriptor.
|
PROPERTY_FILTER | final static String PROPERTY_FILTER(Code) | | Name of the property obtained from the feature descriptor.
|
PROPERTY_SHOW_DIRECTORIES | final static String PROPERTY_SHOW_DIRECTORIES(Code) | | Name of the property obtained from the feature descriptor.
|
PROPERTY_SHOW_FILES | final static String PROPERTY_SHOW_FILES(Code) | | Name of the property obtained from the feature descriptor.
|
lastCurrentDir | static File lastCurrentDir(Code) | | Caches last used directory.
|
attachEnv | public void attachEnv(PropertyEnv env)(Code) | | This method is called by the IDE to pass
the environment to the property editor.
Parameters: env - Environment passed by the ide. |
createHackedFileChooser | public static JFileChooser createHackedFileChooser()(Code) | | Creates hacked fileChooser, responding on Enter the way it
performs folder change.
|
getAsText | public String getAsText()(Code) | | Returns human readable form of the edited value.
string reprezentation |
getChildRelativePath | static String getChildRelativePath(File baseDir, File file)(Code) | | Gets relative path of file to specified directory only for case the file
is in directory tree.
Parameters: baseDir - base directory Parameters: file - file which relative path to baseDir is needed relative path or null can't be resolved or if the file is not under baseDir tree |
getCustomEditor | public Component getCustomEditor()(Code) | | Custon editor.
Returns custom editor component. |
getJavaInitializationString | public String getJavaInitializationString()(Code) | | Should create a string insertable to the newly generated source code.
initialization string |
hackFileChooser | public static void hackFileChooser(JFileChooser chooser)(Code) | | Hacks fileChooser, responding on Enter the way it
performs folder change.
|
propertyChange | public void propertyChange(PropertyChangeEvent e)(Code) | | Property change listaner attached to the JFileChooser chooser.
|
setAsText | public void setAsText(String str) throws IllegalArgumentException(Code) | | Parses the given string and should create a new instance of the
edited object.
Parameters: str - string reprezentation of the file (used as a parameter for File). throws: IllegalArgumentException - If the given string cannot be parsed |
supportsCustomEditor | public boolean supportsCustomEditor()(Code) | | Implements PropertyEditor method.
Returns true. |
|
|
|