blob: 6724db0bb0ba73463ee050931e61feb74eb92490 [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.chart.ui;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.xtext.ui.editor.hover.IEObjectHover;
import org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider;
import org.eclipse.xtext.ui.editor.hover.html.IEObjectHoverDocumentationProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.eclipse.osbp.xtext.basic.ui.BasicDSLUiModuleHelper;
/**
* Use this class to register components to be used within the IDE.
*/
public class ChartDSLUiModule extends org.eclipse.osbp.xtext.chart.ui.AbstractChartDSLUiModule {
private static Logger LOGGER = LoggerFactory.getLogger(ChartDSLUiModule.class);
public ChartDSLUiModule(AbstractUIPlugin plugin) {
super(plugin);
BasicDSLUiModuleHelper.unitTestTemplates(plugin, LOGGER);
}
@Override
public Class<? extends IEObjectHover> bindIEObjectHover() {
return ChartDSLEObjectHover.class;
}
@Override
public Class<? extends IEObjectHoverProvider> bindIEObjectHoverProvider() {
return ChartDSLEObjectHoverProvider.class;
}
@Override
public Class<? extends IEObjectHoverDocumentationProvider> bindIEObjectHoverDocumentationProvider() {
return ChartDSLEObjectHoverDocumentationProvider.class;
}
}