2017-09-12 12:48:21 +02:00
|
|
|
/**
|
2018-06-02 23:41:27 +02:00
|
|
|
* generated by Xtext 2.14.0
|
2017-09-12 12:48:21 +02:00
|
|
|
*/
|
|
|
|
package com.minres.rdl.ui;
|
|
|
|
|
|
|
|
import com.minres.rdl.ui.AbstractRDLUiModule;
|
2018-06-03 10:45:09 +02:00
|
|
|
import com.minres.rdl.ui.JDTFreeStructuralProjectCreator;
|
2017-09-12 12:48:21 +02:00
|
|
|
import com.minres.rdl.ui.RDLEObjectDocumentationProvider;
|
|
|
|
import com.minres.rdl.ui.RDLEObjectHoverProvider;
|
2018-06-03 10:45:09 +02:00
|
|
|
import com.minres.structural.ui.hyperlink.MyHyperlinkHelper;
|
|
|
|
import com.minres.structural.ui.hyperlink.MyXtextHyperlink;
|
2017-09-12 12:48:21 +02:00
|
|
|
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
|
|
|
import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor;
|
|
|
|
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider;
|
|
|
|
import org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider;
|
2018-06-03 10:45:09 +02:00
|
|
|
import org.eclipse.xtext.ui.editor.hyperlinking.HyperlinkHelper;
|
|
|
|
import org.eclipse.xtext.ui.editor.hyperlinking.XtextHyperlink;
|
|
|
|
import org.eclipse.xtext.ui.resource.IResourceSetProvider;
|
|
|
|
import org.eclipse.xtext.ui.resource.SimpleResourceSetProvider;
|
|
|
|
import org.eclipse.xtext.ui.wizard.IProjectCreator;
|
2017-09-12 12:48:21 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Use this class to register components to be used within the Eclipse IDE.
|
|
|
|
*/
|
|
|
|
@FinalFieldsConstructor
|
|
|
|
@SuppressWarnings("all")
|
|
|
|
public class RDLUiModule extends AbstractRDLUiModule {
|
|
|
|
public Class<? extends IEObjectHoverProvider> bindIEObjectHoverProvider() {
|
|
|
|
return RDLEObjectHoverProvider.class;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() {
|
|
|
|
return RDLEObjectDocumentationProvider.class;
|
|
|
|
}
|
|
|
|
|
2018-06-03 10:45:09 +02:00
|
|
|
@Override
|
|
|
|
public Class<? extends IProjectCreator> bindIProjectCreator() {
|
|
|
|
return JDTFreeStructuralProjectCreator.class;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Class<? extends IResourceSetProvider> bindIResourceSetProvider() {
|
|
|
|
return SimpleResourceSetProvider.class;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Class<? extends HyperlinkHelper> bindHyperlinkHelper() {
|
|
|
|
return MyHyperlinkHelper.class;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Class<? extends XtextHyperlink> bindHyperlink() {
|
|
|
|
return MyXtextHyperlink.class;
|
|
|
|
}
|
|
|
|
|
2018-06-02 23:41:27 +02:00
|
|
|
public RDLUiModule(final AbstractUIPlugin arg0) {
|
|
|
|
super(arg0);
|
2017-09-12 12:48:21 +02:00
|
|
|
}
|
|
|
|
}
|