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