KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > internal > runtime > IAdapterManagerProvider


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.core.internal.runtime;
12
13 /**
14  * The callback interface for the elements desiring to lazily supply
15  * information to the adapter manager.
16  *
17  * @since org.eclipse.core.runtime 3.2
18  */

19 public interface IAdapterManagerProvider {
20
21     /**
22      * Add factories. The method called before the AdapterManager starts
23      * using factories.
24      *
25      * @param adapterManager the adapter manager that is about to be used
26      * @return <code>true</code> if factories were added; <code>false</code>
27      * if no factories were added in this method call.
28      */

29     public boolean addFactories(AdapterManager adapterManager);
30 }
31
Popular Tags