#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

@@ -21,10 +21,10 @@
#include "RiaApplication.h"
#include "RimEclipseResultCase.h"
#include "RimEclipseWell.h"
#include "RimFlowPlotCollection.h"
#include "RimMainPlotCollection.h"
#include "RimProject.h"
#include "RimSimWellInView.h"
#include "RimView.h"
#include "RimWellAllocationPlot.h"
@@ -41,7 +41,7 @@ CAF_CMD_SOURCE_INIT(RicShowWellAllocationPlotFeature, "RicShowWellAllocationPlot
//--------------------------------------------------------------------------------------------------
bool RicShowWellAllocationPlotFeature::isCommandEnabled()
{
std::vector<RimEclipseWell*> collection;
std::vector<RimSimWellInView*> collection;
caf::SelectionManager::instance()->objectsByType(&collection);
if (collection.size() > 0)
@@ -57,12 +57,12 @@ bool RicShowWellAllocationPlotFeature::isCommandEnabled()
//--------------------------------------------------------------------------------------------------
void RicShowWellAllocationPlotFeature::onActionTriggered(bool isChecked)
{
std::vector<RimEclipseWell*> collection;
std::vector<RimSimWellInView*> collection;
caf::SelectionManager::instance()->objectsByType(&collection);
if (collection.size() > 0)
{
RimEclipseWell* eclWell = collection[0];
RimSimWellInView* eclWell = collection[0];
if (RiaApplication::instance()->project())
{