com.mucommander.ui.autocomplete.completers.services
Class SystemVariablesService

java.lang.Object
  extended by com.mucommander.ui.autocomplete.completers.services.SystemVariablesService
All Implemented Interfaces:
CompletionService

public class SystemVariablesService
extends java.lang.Object
implements CompletionService

This CompletionService handles system variables completion.

Author:
Arik Hadas

Constructor Summary
SystemVariablesService()
           
 
Method Summary
 java.lang.String complete(java.lang.String selectedCompletion)
          If the given completion match one of my suggested completions, return a corresponding path, null otherwise.
 java.util.Vector getPossibleCompletions(java.lang.String path)
          Return a group of suggested completions corresponding to the given path, according to this service's criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemVariablesService

public SystemVariablesService()
Method Detail

getPossibleCompletions

public java.util.Vector getPossibleCompletions(java.lang.String path)
Description copied from interface: CompletionService
Return a group of suggested completions corresponding to the given path, according to this service's criteria.

Specified by:
getPossibleCompletions in interface CompletionService
Parameters:
path - - a path.
Returns:
Vector of possible completions.

complete

public java.lang.String complete(java.lang.String selectedCompletion)
Description copied from interface: CompletionService
If the given completion match one of my suggested completions, return a corresponding path, null otherwise.

Specified by:
complete in interface CompletionService
Parameters:
selectedCompletion - - string that represent a completion.
Returns:
a path if the given completion was suggested by this service, null otherwise.


This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard