com.mucommander.ui.autocomplete.completers
Class LocationCompleter
java.lang.Object
com.mucommander.ui.autocomplete.completers.Completer
com.mucommander.ui.autocomplete.completers.LocationCompleter
public class LocationCompleter
- extends Completer
LocationCompleter is a Completer based on locations, meaning root folders,
browsable file paths, bookmarks and system variables.
- Author:
- Arik Hadas, based on the code of Santhosh Kumar: http://www.jroller.com/santhosh/entry/file_path_autocompletion
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocationCompleter
public LocationCompleter()
getUpdatedSuggestions
protected java.util.Vector getUpdatedSuggestions(AutocompleterTextComponent component)
- Description copied from class:
Completer
- This function gets an AutocompleterTextComponent and returns a Vector of suggestions for
completion, for the component's value.
- Specified by:
getUpdatedSuggestions in class Completer
- Parameters:
component - - an AutocompleterTextComponent.
- Returns:
- Vector of suggestions for completion.
updateTextComponent
public void updateTextComponent(java.lang.String selected,
AutocompleterTextComponent comp)
- Description copied from class:
Completer
- update text component according to the given string.
- Specified by:
updateTextComponent in class Completer
- Parameters:
selected - - selected item from auto-completion popup list.comp - - text component.
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard