All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.jface.text.hyperlink.IHyperlinkPresenterExtension2 Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright (c) 2010 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jface.text.hyperlink;


/**
 * Extends {@link IHyperlinkPresenter} with ability to distinguish between the modes in which the
 * control either takes focus or not when visible.
 * 

* Clients may implement this interface. *

* * @since 3.7 */ public interface IHyperlinkPresenterExtension2 { /** * Tells this hyperlink presenter to show the given hyperlinks on the installed text viewer and * specifies whether or not the control takes focus when visible. * * @param activeHyperlinks the hyperlinks to show * @param takesFocusWhenVisible true if the control takes the focus when visible, * false otherwise. Will be ignored if there is only one hyperlink to * show. */ public void showHyperlinks(IHyperlink[] activeHyperlinks, boolean takesFocusWhenVisible); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy