Select newest RimWellPath on import of formations and well paths

This commit is contained in:
Rebecca Cox
2017-11-29 08:42:37 +01:00
parent d2e590875d
commit e89d2c0717
4 changed files with 21 additions and 24 deletions

View File

@@ -66,8 +66,6 @@ public:
void setProject(RimProject* project);
QString newestAddedWellName() { return m_newestAddedWellName; }
enum WellVisibilityType
{
FORCE_ALL_OFF,
@@ -95,6 +93,8 @@ public:
void removeWellPath(RimWellPath* wellPath);
void deleteAllWellPaths();
RimWellPath* newestAddedWellPath();
void readWellPathFormationFiles();
RimWellPath* wellPathByName(const QString& wellPathName) const;
@@ -135,5 +135,5 @@ private:
RifWellPathImporter* m_wellPathImporter;
RifWellPathFormationsImporter* m_wellPathFormationsImporter;
QString m_newestAddedWellName;
caf::PdmPointer<RimWellPath> m_newestAddedWellPath;
};