org.eclipse.emfforms.spi.swt.control.text.autocomplete.viewservice
Interface AutocompleteViewModelService

All Superinterfaces:
ViewModelService

public interface AutocompleteViewModelService
extends ViewModelService

A ViewModelService which returns a list of proposals for a setting of an EObject and an EAttribute.

Author:
jfaltermeier

Method Summary
 List<String> getProposals(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EAttribute attribute)
          Returns a list of possible values for the given setting.
 
Methods inherited from interface org.eclipse.emf.ecp.view.spi.context.ViewModelService
dispose, getPriority, instantiate
 

Method Detail

getProposals

List<String> getProposals(org.eclipse.emf.ecore.EObject object,
                          org.eclipse.emf.ecore.EAttribute attribute)
Returns a list of possible values for the given setting. This method is not expected to return null values.

Parameters:
object - the EObject
attribute - the EAttribute
Returns:
a list of proposals for the setting


Copyright © 2015. All Rights Reserved.