Skip to main content
summaryrefslogtreecommitdiffstats
blob: b3e7aa56fe2fb61fee132c4f9a475afdc893101c (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
/*****************************************************************************
 * Copyright (c) 2011 CEA LIST.
 *
 *    
 * 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:
 *  Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - Initial API and implementation
 *
 *****************************************************************************/
package org.eclipse.papyrus.modelexplorer.widgets;

import java.util.List;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.papyrus.widgets.providers.IHierarchicContentProvider;


/**
 * this is a content provider on which we can filter wanted meta-classes
 * So the method is valid has to take in account the list of metaclasses
 */
public interface IMetaclassFilteredContentProvider extends
		IHierarchicContentProvider {
	/**
	 * set the list of meta-classes that we do not want to display.
	 *  It could be interesting to look for a kind of metaclasses without sub metaclasses.
	 * @param metaClassNotWanted list of metaclasses that are not wanted
	 * 
	 */
	public void setMetaClassNotWanted(List<Object> metaClassNotWanted);
	/**
	 * a the kind of metaclasses wanted
	 * @param metaClassWanted
	 */
	public void setMetaClassWanted(Object metaClassWanted);
}

Back to the top