View Javadoc

1   package cz.cuni.amis.pogamut.base.component.controller;
2   
3   import cz.cuni.amis.utils.exception.PogamutException;
4   
5   /**
6    * Provides empty implementations of life-cycle methods defined by {@link IComponentControlHelper} - override only these that you need.
7    * @author Jimmy
8    */
9   public class ComponentControlHelper implements IComponentControlHelper {
10  
11  	@Override
12  	public void kill() {
13  	}
14  
15  	@Override
16  	public void prePause() throws PogamutException {
17  	}
18  	
19  	@Override
20  	public void pause() throws PogamutException {
21  	}
22  
23  	@Override
24  	public void reset() {
25  	}
26  	
27  	@Override
28  	public void preResume() throws PogamutException {
29  		
30  	}
31  
32  	@Override
33  	public void resume() throws PogamutException {
34  	}
35  
36  	@Override
37  	public void preStart() throws PogamutException {		
38  	}
39  	
40  	@Override
41  	public void start() throws PogamutException {
42  	}
43  
44  	@Override
45  	public void preStartPaused() throws PogamutException {
46  	}
47  
48  	@Override
49  	public void startPaused() throws PogamutException {
50  	}
51  	
52  	@Override
53  	public void preStop() throws PogamutException {
54  	}
55  	
56  	@Override
57  	public void stop() throws PogamutException {
58  	}
59  	
60  	@Override
61  	public String toString() {
62  		return "ComponentControlHelper";
63  	}
64  
65  	
66  }