1 /******************************************************************************* 2 * Copyright (c) 2007 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.jface.text.hyperlink; 12 13 14 /** 15 * Extends {@link IHyperlinkDetector} with ability 16 * to specify the state mask of the modifier keys that 17 * need to be pressed for this hyperlink detector. 18 * <p> 19 * Clients may implement this interface. 20 * </p> 21 * 22 * @since 3.3 23 */ 24 public interface IHyperlinkDetectorExtension2 { 25 26 /** 27 * Returns the state mask of the modifier keys that 28 * need to be pressed for this hyperlink detector. 29 * 30 * @return the state mask 31 */ 32 int getStateMask(); 33 }