blob: 972fe866454ffd556a69abf3c48205130d52c3d9 [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
*******************************************************************************/
package org.eclipse.ocl.xtext.oclstdlib.ui;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.xtext.base.ui.BaseEditor;
import org.eclipse.ocl.xtext.oclstdlib.ui.internal.OCLstdlibActivator;
public class OCLstdlibEditor extends BaseEditor
{
public static final String EDITOR_ID = OCLstdlibActivator.ORG_ECLIPSE_OCL_XTEXT_OCLSTDLIB_OCLSTDLIB;
public OCLstdlibEditor() {
super();
}
@Override
public @NonNull String getMarkerId() {
return OCLstdlibUiModule.MARKER_ID;
}
@Override
protected void initializeEditor() {
super.initializeEditor();
setEditorContextMenuId("#OCLstdlibEditorContext"); //$NON-NLS-1$
setRulerContextMenuId("#OCLstdlibRulerContext"); //$NON-NLS-1$
// setHelpContextId(ITextEditorHelpContextIds.TEXT_EDITOR);
}
}