/******************************************************************************* * Copyright (c) 2013, 2015 Willink Transformations 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 * * Contributors: * E.D.Willink - initial API and implementation *******************************************************************************/ /* * generated by Xtext */ package org.eclipse.ocl.xtext.oclstdlib.ui; import org.eclipse.ocl.xtext.base.ui.model.DeferredDocumentProvider; import org.eclipse.ocl.xtext.oclstdlib.ui.internal.OCLstdlibActivator; import org.eclipse.ocl.xtext.oclstdlib.ui.refactoring.OCLstdlibReferenceUpdater; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.eclipse.xtext.ui.editor.model.IResourceForEditorInputFactory; import org.eclipse.xtext.ui.editor.model.XtextDocumentProvider; /** * Use this class to register components to be used within the IDE. */ public class OCLstdlibUiModule extends AbstractOCLstdlibUiModule { public static final String EDITOR_ID = OCLstdlibActivator.ORG_ECLIPSE_OCL_XTEXT_OCLSTDLIB_OCLSTDLIB; public OCLstdlibUiModule(AbstractUIPlugin plugin) { super(plugin); } public Class<? extends org.eclipse.xtext.validation.CompositeEValidator> bindCompositeEValidator() { return org.eclipse.xtext.validation.CompositeEValidator.class; } // @SuppressWarnings("restriction") // public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameStrategy.Provider> bindIRenameStrategy$Provider() { // return OCLstdlibRenameStrategy.Provider.class; // } @SuppressWarnings("restriction") public Class<? extends org.eclipse.xtext.ui.refactoring.IReferenceUpdater> bindIReferenceUpdater() { return OCLstdlibReferenceUpdater.class; } @Override public Class<? extends IResourceForEditorInputFactory> bindIResourceForEditorInputFactory() { return OCLstdlibJavaClassPathResourceForIEditorInputFactory.class; } public Class<? extends XtextDocumentProvider> bindXtextDocumentProvider() { return DeferredDocumentProvider.class; } }