blob: 1412b78689be3ba0f287d24343bab3c571e15998 [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.wizard.ui.basic;
//package org.eclipse.osbp.wizard.ui;
//
//import java.util.Properties;
//
//import org.eclipse.xtext.Constants;
//import org.eclipse.xtext.service.DefaultRuntimeModule;
//
//import com.google.inject.Binder;
//import com.google.inject.name.Names;
//
//public class RuntimeModule extends DefaultRuntimeModule {
//
// protected Properties properties = null;
//
// @Override
// public void configure(Binder binder) {
// properties = tryBindProperties(binder, Activator.OSBP_GRAMMAR+".properties");
// super.configure(binder);
// }
//
// public void configureLanguageName(Binder binder) {
// binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance(Activator.OSBP_GRAMMAR);
// }
//
// public void configureFileExtensions(Binder binder) {
// if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
// binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance(Activator.OSBP_GRAMMAR);
// }
//
//}