| /******************************************************************************* |
| * Copyright (c) 2013, 2018 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 |
| *******************************************************************************/ |
| package org.eclipse.ocl.xtext.essentialocl.ui; |
| |
| import org.eclipse.ocl.xtext.base.ui.BaseEditor; |
| import org.eclipse.ocl.xtext.essentialocl.ui.internal.EssentialOCLActivator; |
| |
| public class EssentialOCLEditor extends BaseEditor |
| { |
| public static final String EDITOR_ID = EssentialOCLActivator.ORG_ECLIPSE_OCL_XTEXT_ESSENTIALOCL_ESSENTIALOCL; |
| |
| public EssentialOCLEditor() { |
| super(); |
| } |
| |
| @Override |
| protected void initializeEditor() { |
| super.initializeEditor(); |
| setEditorContextMenuId("#EssentialOCLEditorContext"); //$NON-NLS-1$ |
| setRulerContextMenuId("#EssentialOCLRulerContext"); //$NON-NLS-1$ |
| // setHelpContextId(ITextEditorHelpContextIds.TEXT_EDITOR); |
| } |
| } |