01: /*******************************************************************************
02: * Copyright (c) 2006 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.pde.internal.ui.editor.plugin;
11:
12: import org.eclipse.jface.text.IRegion;
13: import org.eclipse.pde.internal.ui.editor.text.AbstractHyperlink;
14: import org.eclipse.pde.internal.ui.search.ShowDescriptionAction;
15:
16: public class ExtensionHyperLink extends AbstractHyperlink {
17:
18: public ExtensionHyperLink(IRegion region, String pointID) {
19: super (region, pointID);
20: }
21:
22: public void open() {
23: new ShowDescriptionAction(fElement).run();
24: }
25:
26: }
|