/**
 * generated by Xtext 2.14.0
 */
package com.minres.rdl.ui;

import com.minres.rdl.ui.AbstractRDLUiModule;
import com.minres.rdl.ui.JDTFreeStructuralProjectCreator;
import com.minres.rdl.ui.RDLEObjectDocumentationProvider;
import com.minres.rdl.ui.RDLEObjectHoverProvider;
import com.minres.structural.ui.hyperlink.MyHyperlinkHelper;
import com.minres.structural.ui.hyperlink.MyXtextHyperlink;
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;
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;

/**
 * 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;
  }
  
  @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;
  }
  
  public RDLUiModule(final AbstractUIPlugin arg0) {
    super(arg0);
  }
}
