mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Removed unused command feature files
This commit is contained in:
parent
41d321b8b8
commit
61b43c426a
@ -13,8 +13,6 @@ ${CEE_CURRENT_LIST_DIR}RicEclipseCaseNewView.h
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipseCasePaste.h
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipseCellResultSave.h
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipseCellResultSaveExec.h
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipseFaultResultSave.h
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipseFaultResultSaveExec.h
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipsePropertyFilter.h
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipsePropertyFilterDelete.h
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipsePropertyFilterDeleteExec.h
|
||||
@ -49,8 +47,6 @@ ${CEE_CURRENT_LIST_DIR}RicEclipseCaseNewView.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipseCasePaste.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipseCellResultSave.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipseCellResultSaveExec.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipseFaultResultSave.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipseFaultResultSaveExec.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipsePropertyFilter.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipsePropertyFilterDelete.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicEclipsePropertyFilterDeleteExec.cpp
|
||||
|
@ -1,64 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2015- Statoil ASA
|
||||
// Copyright (C) 2015- Ceetron Solutions AS
|
||||
//
|
||||
// ResInsight is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE.
|
||||
//
|
||||
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
||||
// for more details.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RicEclipseFaultResultSave.h"
|
||||
|
||||
//#include "RimView.h"
|
||||
#include "RimEclipseFaultColors.h"
|
||||
|
||||
#include "cafSelectionManager.h"
|
||||
|
||||
#include <QAction>
|
||||
|
||||
CAF_CMD_SOURCE_INIT(RicEclipseFaultResultSave, "RicEclipseFaultResultSave");
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicEclipseFaultResultSave::isCommandEnabled()
|
||||
{
|
||||
std::vector<RimEclipseFaultColors*> selection;
|
||||
caf::SelectionManager::instance()->objectsByType(&selection);
|
||||
|
||||
if (selection.size() > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicEclipseFaultResultSave::onActionTriggered(bool isChecked)
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicEclipseFaultResultSave::setupActionLook(QAction* actionToSetup)
|
||||
{
|
||||
actionToSetup->setText("Save Property To File");
|
||||
}
|
||||
|
||||
|
@ -1,39 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2015- Statoil ASA
|
||||
// Copyright (C) 2015- Ceetron Solutions AS
|
||||
//
|
||||
// ResInsight is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE.
|
||||
//
|
||||
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
||||
// for more details.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cafCmdFeature.h"
|
||||
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
//==================================================================================================
|
||||
class RicEclipseFaultResultSave : public caf::CmdFeature
|
||||
{
|
||||
CAF_CMD_HEADER_INIT;
|
||||
|
||||
protected:
|
||||
// Overrides
|
||||
virtual bool isCommandEnabled();
|
||||
virtual void onActionTriggered( bool isChecked );
|
||||
virtual void setupActionLook( QAction* actionToSetup );
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user