01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.texteditor;
11:
12: import org.eclipse.jface.action.IAction;
13:
14: import org.eclipse.jface.text.source.IVerticalRulerInfo;
15:
16: /**
17: * Adapter for the select marker action.
18: *
19: * @since 2.0
20: */
21: public class SelectRulerAction extends AbstractRulerActionDelegate {
22:
23: /*
24: * @see AbstractRulerActionDelegate#createAction(ITextEditor, IVerticalRulerInfo)
25: */
26: protected IAction createAction(ITextEditor editor,
27: IVerticalRulerInfo rulerInfo) {
28: return new SelectMarkerRulerAction(TextEditorMessages
29: .getBundleForConstructedKeys(),
30: "Editor.SelectMarker.", editor, rulerInfo); //$NON-NLS-1$
31: }
32: }
|