blob: d0bad7c55243dc08afb1945d9bd2fd7eda8ffc3d (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/*******************************************************************************
* Copyright (c) 2011, 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:
* Gregoire Dupe (Mia-Software) - Bug 361794 - [Restructuring] New customization meta-model
* Gregoire Dupe (Mia-Software) - Bug 373078 - API Cleaning
* 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.CustomizedContentProviderFactory;
/**
* This is a factory for {@link ICustomizedContentProvider} and {@link ICustomizedTreeContentProvider}.
*
* @author Gregoire Dupe
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*
*/
public interface ICustomizedContentProviderFactory {
/**
* The default factory instance
*/
ICustomizedContentProviderFactory DEFAULT = new CustomizedContentProviderFactory();
/**
* This method is used to instantiate a {@link ICustomizedContentProvider}
*
* @param customizationMgr
* the customization manager which has to be used by the content provider.
* @return a content provider
* @deprecated Bug 380229 - [deprecated] ICustomizedContentProvider
*/
@Deprecated
ICustomizedContentProvider createCustomizedContentProvider(ICustomizationManager customizationMgr);
/**
* Instantiate an {@link ICustomizedTreeContentProvider}. With this content provider, your viewer's input has to be
* an EObject or an array or collection of EObjects.F
*
* @param customManager
* the customization manager used by the content provider
* @return a tree content provider
* @since 0.2
*/
ICustomizedTreeContentProvider createCustomizedTreeContentProvider(ICustomizationManager customManager);
}
|