Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 01d5f9278d5b0fe7b997ee74ae04b8076c6e92ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2012 Mia-Software.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Nicolas Bros (Mia-Software) - Bug 379683 - customizable Tree content provider
 *******************************************************************************/
package org.eclipse.papyrus.emf.facet.custom.ui;

import org.eclipse.papyrus.emf.facet.custom.core.ICustomizationManager;
import org.eclipse.papyrus.emf.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);
}

Back to the top