#8849 Data Sources : Add append curves to plot based on selection

This commit is contained in:
Magne Sjaastad
2022-04-28 09:03:40 +02:00
parent 5d9f7b165c
commit b030e617c6
8 changed files with 157 additions and 22 deletions

View File

@@ -292,6 +292,20 @@ bool RimSummaryAddressCollection::isEnsemble() const
return m_ensembleId >= 0;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimSummaryAddressCollection::isFolder() const
{
if ( contentType() == CollectionContentType::WELL_FOLDER || contentType() == CollectionContentType::GROUP_FOLDER ||
contentType() == CollectionContentType::REGION_FOLDER || contentType() == CollectionContentType::BLOCK_FOLDER )
{
return true;
}
return false;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -58,6 +58,7 @@ public:
bool isEmpty() const;
bool isEnsemble() const;
bool isFolder() const;
bool canBeDragged() const;