From 08e82bc4957577799dddf0093fffde46135f8608 Mon Sep 17 00:00:00 2001 From: Adeel Asghar Date: Fri, 10 Feb 2017 13:40:38 +0100 Subject: [PATCH] Kill all references of meta model. --- OMEdit/OMEditGUI/Modeling/Commands.cpp | 2 +- OMEdit/OMEditGUI/TLM/TLMCoSimulationOutputWidget.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OMEdit/OMEditGUI/Modeling/Commands.cpp b/OMEdit/OMEditGUI/Modeling/Commands.cpp index 083061af6ab..4c8fa175fce 100644 --- a/OMEdit/OMEditGUI/Modeling/Commands.cpp +++ b/OMEdit/OMEditGUI/Modeling/Commands.cpp @@ -676,7 +676,7 @@ DeleteComponentCommand::DeleteComponentCommand(Component *pComponent, GraphicsVi mpDiagramGraphicsView = pGraphicsView->getModelWidget()->getDiagramGraphicsView(); mpGraphicsView = pGraphicsView; - //Save sub-model parameters for meta models + //Save sub-model parameters for composite models if(pGraphicsView->getModelWidget()->getLibraryTreeItem()->getLibraryType() == LibraryTreeItem::CompositeModel) { CompositeModelEditor *pEditor = qobject_cast(pGraphicsView->getModelWidget()->getEditor()); mParameterNames = pEditor->getParameterNames(pComponent->getName()); //Assume submodel; otherwise returned list is empty diff --git a/OMEdit/OMEditGUI/TLM/TLMCoSimulationOutputWidget.cpp b/OMEdit/OMEditGUI/TLM/TLMCoSimulationOutputWidget.cpp index 012695d548b..09decd781be 100644 --- a/OMEdit/OMEditGUI/TLM/TLMCoSimulationOutputWidget.cpp +++ b/OMEdit/OMEditGUI/TLM/TLMCoSimulationOutputWidget.cpp @@ -167,7 +167,7 @@ void TLMCoSimulationOutputWidget::stopManager() { if (mpTLMCoSimulationProcessThread->isManagerProcessRunning()) { mpTLMCoSimulationProcessThread->getManagerProcess()->kill(); - mpProgressLabel->setText(tr("Co-Simulation using %1 meta model is cancelled.").arg(mTLMCoSimulationOptions.getClassName())); + mpProgressLabel->setText(tr("Co-Simulation using %1 composite model is cancelled.").arg(mTLMCoSimulationOptions.getClassName())); mpStopManagerButton->setEnabled(false); } } @@ -216,7 +216,7 @@ void TLMCoSimulationOutputWidget::openMonitorLogFile() */ void TLMCoSimulationOutputWidget::managerProcessStarted() { - mpProgressLabel->setText(tr("Running co-simulation using the %1 meta model. Please wait for a while.").arg(mTLMCoSimulationOptions.getClassName())); + mpProgressLabel->setText(tr("Running co-simulation using the %1 composite model. Please wait for a while.").arg(mTLMCoSimulationOptions.getClassName())); mpProgressBar->setRange(0, 100); mpProgressBar->setTextVisible(true); mpProgressBar->setValue(0); @@ -255,7 +255,7 @@ void TLMCoSimulationOutputWidget::managerProcessFinished(int exitCode, QProcess: { Q_UNUSED(exitCode); Q_UNUSED(exitStatus); - mpProgressLabel->setText(tr("Co-simulation using the %1 meta model is finished.").arg(mTLMCoSimulationOptions.getClassName())); + mpProgressLabel->setText(tr("Co-simulation using the %1 composite model is finished.").arg(mTLMCoSimulationOptions.getClassName())); mpProgressBar->setValue(mpProgressBar->maximum()); mpStopManagerButton->setEnabled(false); MainWindow::instance()->getTLMCoSimulationDialog()->simulationProcessFinished(mTLMCoSimulationOptions, mResultFileLastModifiedDateTime);