com.artenum.rosetta.implementation
Class FakeDictionnaryCompletionManager

java.lang.Object
  extended by com.artenum.rosetta.implementation.FakeDictionnaryCompletionManager
All Implemented Interfaces:
CompletionManager

public class FakeDictionnaryCompletionManager
extends Object
implements CompletionManager

A test class in order to test the Completion Manager

Author:
Sebastien Jourdain (jourdain@artenum.com)

Constructor Summary
FakeDictionnaryCompletionManager()
          Create a fake database of completion informations
 
Method Summary
 List<CompletionItem> getCompletionItems()
          Return the list of the matching items
 void setInputParsingManager(InputParsingManager inputParsingManager)
          Defines the Parsing Manager
 void setInterpretor(GenericInterpreter interpretor)
          Defines the interpretor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeDictionnaryCompletionManager

public FakeDictionnaryCompletionManager()
Create a fake database of completion informations

Method Detail

getCompletionItems

public List<CompletionItem> getCompletionItems()
Description copied from interface: CompletionManager
Return the list of the matching items

Specified by:
getCompletionItems in interface CompletionManager
Returns:
the list of the item found

setInputParsingManager

public void setInputParsingManager(InputParsingManager inputParsingManager)
Description copied from interface: CompletionManager
Defines the Parsing Manager

Specified by:
setInputParsingManager in interface CompletionManager
Parameters:
inputParsingManager - the parsing manager

setInterpretor

public void setInterpretor(GenericInterpreter interpretor)
Description copied from interface: CompletionManager
Defines the interpretor

Specified by:
setInterpretor in interface CompletionManager
Parameters:
interpretor - the interpretor


Copyright © 2007-2011 Artenum. All Rights Reserved.