| /******************************************************************************* |
| * Copyright (c) 2010 itemis AG (http://www.itemis.eu) and others. |
| * 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 |
| *******************************************************************************/ |
| package org.eclipse.xtext.example.arithmetics.ui; |
| |
| import org.eclipse.ui.plugin.AbstractUIPlugin; |
| import org.eclipse.xtext.example.arithmetics.ui.autoedit.AutoEditStrategy; |
| import org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider; |
| |
| /** |
| * Use this class to register components to be used within the IDE. |
| */ |
| public class ArithmeticsUiModule extends org.eclipse.xtext.example.arithmetics.ui.AbstractArithmeticsUiModule { |
| public ArithmeticsUiModule(AbstractUIPlugin plugin) { |
| super(plugin); |
| } |
| |
| public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() { |
| return AutoEditStrategy.class; |
| } |
| } |