Skip to content
Snippets Groups Projects
Commit 9c1306a8 authored by Alberto Debiasi's avatar Alberto Debiasi
Browse files

updates smvExportService


Change-Id: Ie91ac677f58b02c6aaa35c073a2c762d7e10947f
Signed-off-by: default avatarAlberto Debiasi <adebiasi@fbk.eu>
parent 76e7de69
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ import org.polarsys.chess.smvExport.model.UMLStateMachineModel;
import eu.fbk.eclipse.standardtools.StateMachineTranslatorToSmv.services.SMVTranslatorService;
import eu.fbk.eclipse.standardtools.exceptions.NoComponentException;
import eu.fbk.eclipse.standardtools.exceptions.NoStateMachineException;
import eu.fbk.eclipse.standardtools.utils.DialogUtil;
public class SmvExportService {
......@@ -72,7 +73,8 @@ private static SmvExportService instance;
dialogUtil.showMessage_ExportBehaviourDone(smvFile.getAbsolutePath());
}
}else{
dialogUtil.showMessage_NoStateMachine();
throw new NoStateMachineException();
//dialogUtil.showMessage_NoStateMachine();
}
return smvFile;
......@@ -96,7 +98,7 @@ private static SmvExportService instance;
public Collection<StateMachine> getNominalStateMachines(Class umlSelectedComponent) {
Set<StateMachine> stateMachines = entityUtil.getNominalStateMachines(umlSelectedComponent);
Set<StateMachine> stateMachines = entityUtil.getNominalStateMachines(umlSelectedComponent,true);
System.out.println("stateMachines");
for (StateMachine sm : stateMachines) {
System.out.println(sm);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment