1 /******************************************************************************* 2 * Copyright (c) 2000, 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; 12 13 14 import org.eclipse.swt.widgets.Shell; 15 16 17 /** 18 * Interface of a factory for information controls ( 19 * {@link org.eclipse.jface.text.IInformationControl}). 20 * 21 * In order to provide backward compatibility for clients of 22 * <code>IInformationControlCreator</code>, extension interfaces are used as 23 * a means of evolution. The following extension interfaces exist: 24 * <ul> 25 * <li>{@link org.eclipse.jface.text.IInformationControlCreatorExtension} since 26 * version 3.0 introducing checks of whether existing information control can 27 * be reused and whether information control creators can replace each other. 28 * </li> 29 * </ul> 30 * 31 * @see org.eclipse.jface.text.IInformationControlCreatorExtension 32 * @since 2.0 33 */ 34 public interface IInformationControlCreator { 35 36 /** 37 * Creates a new information control with the given shell as the control's parent. 38 * 39 * @param parent the parent shell 40 * @return the created information control 41 */ 42 IInformationControl createInformationControl(Shell parent); 43 } 44 45