/******************************************************************************* | |
* Copyright (c) 2012 Mia-Software and others. | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v2.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v20.html | |
* | |
* Contributors: | |
* Nicolas Bros (Mia-Software) - Bug 379683 - customizable Tree content provider | |
*******************************************************************************/ | |
package org.eclipse.modisco.facet.custom.ui; | |
import org.eclipse.modisco.facet.custom.core.ICustomizationManager; | |
import org.eclipse.modisco.facet.custom.ui.internal.ResolvingCustomizedLabelProviderFactory; | |
/** | |
* A factory to create instances of {@link ICustomizedLabelProvider} that work on proxy UI elements, by customizing the | |
* resolved elements. | |
* | |
* @noextend This interface is not intended to be extended by clients. | |
* @noimplement This interface is not intended to be implemented by clients. | |
* @since 0.2 | |
*/ | |
public interface IResolvingCustomizedLabelProviderFactory { | |
IResolvingCustomizedLabelProviderFactory DEFAULT = new ResolvingCustomizedLabelProviderFactory(); | |
/** | |
* This method is used to instantiate a {@link ICustomizedLabelProvider}. | |
* | |
* @param customizationManager | |
* the customization manager which has to used by the content provider. | |
* @return a label provider | |
*/ | |
ICustomizedLabelProvider createCustomizedLabelProvider(ICustomizationManager customizationMgr); | |
} |