| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * 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: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| * |
| */ |
| package org.eclipse.osbp.bpmn2.ecore.ui; |
| |
| import org.eclipse.ui.plugin.AbstractUIPlugin; |
| import org.eclipse.xtext.ui.LanguageSpecific; |
| import org.eclipse.xtext.ui.editor.IURIEditorOpener; |
| import org.eclipse.xtext.ui.editor.hover.IEObjectHover; |
| import org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider; |
| import org.eclipse.xtext.ui.editor.hover.html.IEObjectHoverDocumentationProvider; |
| import org.eclipse.xtext.ui.resource.generic.EmfUiModule; |
| |
| public class BPMnUiModule extends EmfUiModule { |
| |
| public BPMnUiModule(AbstractUIPlugin plugin) { |
| super(plugin); |
| } |
| |
| @Override |
| public void configureLanguageSpecificURIEditorOpener(com.google.inject.Binder binder) { |
| binder.bind(IURIEditorOpener.class).annotatedWith(LanguageSpecific.class).to(BPMnEditorOpener.class); |
| } |
| |
| // public Class<? extends IEObjectHover> bindIEObjectHover() { |
| // return BPMnEObjectHover.class; |
| // } |
| |
| // public Class<? extends IEObjectHoverProvider> bindIEObjectHoverProvider() { |
| // return BPMnEObjectHoverProvider.class; |
| // } |
| |
| public Class<? extends IEObjectHoverDocumentationProvider> bindIEObjectHoverDocumentationProvider() { |
| return BPMnEObjectHoverDocumentationProvider.class; |
| } |
| } |