blob: 402aebf6ff24655adce823113b3df8a5c7f77f50 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013, 2019 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* E.D.Willink - initial API and implementation
*******************************************************************************/
/*
* generated by Xtext
*/
package org.eclipse.ocl.xtext.oclstdlib.ui;
import org.eclipse.jdt.annotation.NonNull;
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;
/**
* Use this class to register components to be used within the IDE.
*/
public class OCLstdlibUiModule extends AbstractOCLstdlibUiModule
{
public static final @NonNull String PLUGIN_ID = "org.eclipse.ocl.xtext.oclstdlib.ui";
@SuppressWarnings("null")
public static final @NonNull String EDITOR_ID = OCLstdlibActivator.ORG_ECLIPSE_OCL_XTEXT_OCLSTDLIB_OCLSTDLIB;
public static final @NonNull String MARKER_ID = "org.eclipse.ocl.xtext.oclstdlib.ui.Marker";
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;
}
}