blob: a82ec1da91326e141605dda08822e695da2f47e1 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
package org.eclipse.osbp.xtext.gridsource.converter;
import org.eclipse.xtext.common.services.DefaultTerminalConverters;
import org.eclipse.xtext.conversion.IValueConverter;
import org.eclipse.xtext.conversion.ValueConverter;
import com.google.inject.Inject;
public class ValueConverterService extends DefaultTerminalConverters {
@Inject
private TOPICValueConverter topicValueConverter;
@ValueConverter(rule = "EVENT_TOPIC")
public IValueConverter<String> EVENT_TOPIC() {
return topicValueConverter;
}
}