1 /******************************************************************************* 2 * Copyright (c) 2006 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.source; 12 13 import org.eclipse.jface.text.quickassist.IQuickAssistAssistant; 14 15 16 /** 17 * Extension interface for {@link org.eclipse.jface.text.source.IAnnotationAccess}.<p> 18 * This interface allows clients to set a quick assist assistant. 19 * 20 * @see org.eclipse.jface.text.source.IAnnotationAccess 21 * @since 3.2 22 */ 23 public interface IAnnotationAccessExtension2 { 24 25 /** 26 * Provides this annotation access with a quick assist assistant that 27 * is used to decide whether the quick fix image should be shown. 28 * 29 * @param assistant the quick assist assistant 30 */ 31 void setQuickAssistAssistant(IQuickAssistAssistant assistant); 32 33 } 34