1 | package de.uka.ipd.sdq.pcm.gmf.seff.helper; |
2 | |
3 | import org.eclipse.gmf.runtime.common.core.command.ICommand; |
4 | import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; |
5 | import org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelperAdvice; |
6 | import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; |
7 | |
8 | public class RecoveryActionBehaviourEditHelperAdvice extends |
9 | AbstractEditHelperAdvice implements IEditHelperAdvice { |
10 | |
11 | /* (non-Javadoc) |
12 | * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) |
13 | */ |
14 | @Override |
15 | protected ICommand getAfterConfigureCommand(ConfigureRequest request) { |
16 | // Add a minimal SEFF, only Start and Stop Action |
17 | ConfigureMinimalSeffCommand cmd = new ConfigureMinimalSeffCommand( |
18 | request); |
19 | return cmd; |
20 | } |
21 | |
22 | } |