mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
@@ -43,6 +43,14 @@ bool RicImportElementPropertyFeature::isCommandEnabled()
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicImportElementPropertyFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
importElementProperties();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicImportElementPropertyFeature::importElementProperties()
|
||||
{
|
||||
RiaApplication* app = RiaApplication::instance();
|
||||
|
||||
|
||||
@@ -27,6 +27,8 @@ class RicImportElementPropertyFeature : public caf::CmdFeature
|
||||
{
|
||||
CAF_CMD_HEADER_INIT;
|
||||
|
||||
static void importElementProperties();
|
||||
|
||||
protected:
|
||||
bool isCommandEnabled() override;
|
||||
void onActionTriggered( bool isChecked ) override;
|
||||
|
||||
Reference in New Issue
Block a user