blob: cd3d0b5203fecc84b6c92e5f7b6a10bce27db1bd [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.update.ui.forms.internal.engine;
import org.eclipse.swt.program.Program;
/**
* @version 1.0
* @author
*/
public class HTTPAction extends HyperlinkAction {
public HTTPAction () {
}
public void linkActivated(IHyperlinkSegment link) {
Program.launch(link.getText());
}
public void linkEntered(IHyperlinkSegment link) {
setDescription(link.getText());
super.linkEntered(link);
}
}