public class QVToUIHandlerVERDE
extends org.eclipse.core.commands.AbstractHandler
Constructor and Description |
---|
QVToUIHandlerVERDE() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(org.eclipse.core.commands.ExecutionEvent event)
Executes the schedulability analysis and shows the results.
|
TransformationResultsData |
executeTimingAnalysis(org.eclipse.ui.IEditorPart editor,
org.eclipse.core.runtime.IProgressMonitor monitor)
Collects all the needed information and invokes the PIMPSMTransformationVERDE.performTimingAnalysisWithMAST method
|
static java.util.List<org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor> |
getPlatformChHwProcessors(org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaAnalysisContext saAnalysisContext,
org.eclipse.uml2.uml.Model model)
Returns the list of CH_HwProcessors in this analysisContext.
|
void |
openSchedAnalysisReport(org.eclipse.uml2.uml.Model model,
java.lang.String result,
java.util.List<org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor> cpus,
org.eclipse.uml2.uml.Class saAnalysisContextClass)
Open a simple, user-friendly report to display the analysis results.
|
public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
event
- the event resulting from the invocation of the commandorg.eclipse.core.commands.ExecutionException
- the execution exceptionIHandler.execute(org.eclipse.core.commands.ExecutionEvent)
,
AnalysisContextSelectionDialog
public static java.util.List<org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor> getPlatformChHwProcessors(org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.SAM.SaAnalysisContext saAnalysisContext, org.eclipse.uml2.uml.Model model)
saAnalysisContext
- the sa analysis contextmodel
- the modelpublic TransformationResultsData executeTimingAnalysis(org.eclipse.ui.IEditorPart editor, org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.Exception
editor
- the editormonitor
- the monitorjava.lang.Exception
- the exceptionAbstractTransformation.performTimingAnalysisWithMAST(PapyrusMultiDiagramEditor, IFile, IProgressMonitor)
public void openSchedAnalysisReport(org.eclipse.uml2.uml.Model model, java.lang.String result, java.util.List<org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor> cpus, org.eclipse.uml2.uml.Class saAnalysisContextClass)
model
- the modelresult
- the resultcpus
- the cpussaAnalysisContextClass
- the sa analysis context class