#1996 Rename RimEclipseWell -> RimSimWellInView

This commit is contained in:
Rebecca Cox
2017-10-13 09:29:42 +02:00
parent 3e986a63a1
commit d748803159
72 changed files with 329 additions and 328 deletions

View File

@@ -19,10 +19,10 @@
#include "RicNewSimWellIntersectionFeature.h"
#include "RimEclipseView.h"
#include "RimIntersection.h"
#include "RimIntersectionCollection.h"
#include "RimEclipseView.h"
#include "RimEclipseWell.h"
#include "RimSimWellInView.h"
#include "cafCmdExecCommandManager.h"
#include "cafSelectionManager.h"
@@ -46,11 +46,11 @@ bool RicNewSimWellIntersectionFeature::isCommandEnabled()
//--------------------------------------------------------------------------------------------------
void RicNewSimWellIntersectionFeature::onActionTriggered(bool isChecked)
{
std::vector<RimEclipseWell*> collection;
std::vector<RimSimWellInView*> collection;
caf::SelectionManager::instance()->objectsByType(&collection);
CVF_ASSERT(collection.size() == 1);
RimEclipseWell* eclWell = collection[0];
RimSimWellInView* eclWell = collection[0];
RimEclipseView* eclView = NULL;
eclWell->firstAncestorOrThisOfType(eclView);
@@ -72,7 +72,7 @@ void RicNewSimWellIntersectionFeature::setupActionLook(QAction* actionToSetup)
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RicNewSimWellIntersectionCmd::RicNewSimWellIntersectionCmd(RimIntersectionCollection* intersectionCollection, RimEclipseWell* simWell)
RicNewSimWellIntersectionCmd::RicNewSimWellIntersectionCmd(RimIntersectionCollection* intersectionCollection, RimSimWellInView* simWell)
: CmdExecuteCommand(NULL),
m_intersectionCollection(intersectionCollection),
m_simWell(simWell)