Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 406df72a75c21af0dda347f71f96f2fe4e00d241 (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
/**
 * 
 */
package org.eclipse.papyrus.infra.core.services;

import org.eclipse.papyrus.infra.core.services.ComposedService;
import org.eclipse.papyrus.infra.core.services.ServicesRegistry;



/**
 * A fake composed service for testing purpose.
 * 
 * @author cedric dumoulin
 *
 */
public class FakeComposedService extends ComposedService<FakeComposedServicePart> {

	/**
	 * Call the same method on all associated service parts.
	 */
	public void walkService() {
		
		for( FakeComposedServicePart servicePart : serviceParts )
		{
			servicePart.walkService();
		}
	}

	@Override
	public void init(ServicesRegistry servicesRegistry) throws ServiceException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void startService() throws ServiceException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void disposeService() throws ServiceException {
		// TODO Auto-generated method stub
		
	}
	
}

Back to the top