mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
#2162 Context manager: Add pdmObject selection item
This commit is contained in:
parent
4e66cb9b17
commit
8d99c99cb0
@ -230,3 +230,11 @@ RiuSimWellSelectionItem::RiuSimWellSelectionItem(RimSimWellInView* simwell,
|
||||
m_branchIndex(m_branchIndex)
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuGeneralSelectionItem::RiuGeneralSelectionItem(caf::PdmObject* object)
|
||||
: m_object(object)
|
||||
{
|
||||
}
|
||||
|
@ -20,6 +20,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "cafPdmPointer.h"
|
||||
#include "cafPdmObject.h"
|
||||
|
||||
#include "cvfBase.h"
|
||||
#include "cvfColor3.h"
|
||||
@ -107,7 +108,8 @@ public:
|
||||
ECLIPSE_SELECTION_OBJECT,
|
||||
GEOMECH_SELECTION_OBJECT,
|
||||
WELLPATH_SELECTION_OBJECT,
|
||||
SIMWELL_SELECTION_OBJECT
|
||||
SIMWELL_SELECTION_OBJECT,
|
||||
GENERAL_SELECTION_OBJECT
|
||||
};
|
||||
|
||||
public:
|
||||
@ -238,3 +240,25 @@ public:
|
||||
cvf::Vec3d m_domainCoord;
|
||||
size_t m_branchIndex;
|
||||
};
|
||||
|
||||
|
||||
//==================================================================================================
|
||||
//
|
||||
//
|
||||
//
|
||||
//==================================================================================================
|
||||
class RiuGeneralSelectionItem : public RiuSelectionItem
|
||||
{
|
||||
public:
|
||||
RiuGeneralSelectionItem(caf::PdmObject* object);
|
||||
|
||||
virtual ~RiuGeneralSelectionItem() {};
|
||||
|
||||
virtual RiuSelectionType type() const
|
||||
{
|
||||
return GENERAL_SELECTION_OBJECT;
|
||||
}
|
||||
|
||||
public:
|
||||
caf::PdmObject* m_object;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user